You are here

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

Function that handles the custom organization name

31 calls to MoAuthConstants::getBaseUrl()
authenticate_user::mo_auth_build_oobemail_form in src/Form/authenticate_user.php
authenticate_user::mo_auth_build_push_notifications_form in src/Form/authenticate_user.php
authenticate_user::mo_auth_build_qrcode_authentication_form in src/Form/authenticate_user.php
AuthenticationAPIHandler::challenge in src/AuthenticationAPIHandler.php
AuthenticationAPIHandler::getAuthStatus in src/AuthenticationAPIHandler.php

... See full list

File

src/MoAuthConstants.php, line 47
Contains constants class.

Class

MoAuthConstants
@file This class represents constants used throughout project.

Namespace

Drupal\miniorange_2fa

Code

public static function getBaseUrl() {
  $getBrandingName = \Drupal::config('miniorange_2fa.settings')
    ->get('mo_auth_custom_organization_name');
  return "https://" . $getBrandingName . ".xecurify.com/moas";
}