You are here

public static function MoAuthConstants::getBaseUrl in Google Authenticator / 2 Factor Authentication - 2FA 7

31 calls to MoAuthConstants::getBaseUrl()
AuthenticationAPIHandler::challenge in classes/AuthenticationAPIHandler.php
AuthenticationAPIHandler::getAuthStatus in classes/AuthenticationAPIHandler.php
AuthenticationAPIHandler::getGoogleAuthSecret in classes/AuthenticationAPIHandler.php
AuthenticationAPIHandler::getRegistrationStatus in classes/AuthenticationAPIHandler.php
AuthenticationAPIHandler::register in classes/AuthenticationAPIHandler.php

... See full list

File

classes/Constants.php, line 40
Contains constants class.

Class

MoAuthConstants
@file This class represents constants used throughout project.

Code

public static function getBaseUrl() {
  $getBrandingName = variable_get('mo_auth_customer_domain_name', 'login');

  //return "https://" . $getBrandingName . ".xecurify-au.com/moas";  // Uncomment this line for Australian servers (and comment the one below)
  return "https://" . $getBrandingName . ".xecurify.com/moas";
}