You are here

public function AuthHelper::getAuthDomain in Auth0 Single Sign On 8.2

Return the custom domain, if one has been set.

Return value

mixed A string with the domain name A empty string if the config is not set

2 calls to AuthHelper::getAuthDomain()
AuthHelper::getUserUsingRefreshToken in src/Util/AuthHelper.php
Get the user using token.
AuthHelper::validateIdToken in src/Util/AuthHelper.php
Validate the ID token.

File

src/Util/AuthHelper.php, line 148
Contains \Drupal\auth0\Util\AuthHelper.

Class

AuthHelper
Controller routines for auth0 authentication.

Namespace

Drupal\auth0\Util

Code

public function getAuthDomain() {
  return !empty($this->customDomain) ? $this->customDomain : $this->domain;
}