class AzureCredentialAppCreationCommand {

    String getRedirectURL(String workspaceId, String deploymentAddress) {
        String cbAzAppAuthUri = String.format(CB_AZ_APP_REDIRECT_URI_PATTERN, workspaceId);
        String replyUrl = deploymentAddress.endsWith(DELIMITER) ? deploymentAddress : deploymentAddress + DELIMITER;
        return replyUrl + cbAzAppAuthUri;
    }

}