final protected function Oauth2Client::generateUrl in Auth0 Single Sign On 8.2
Constructs an API URL.
Parameters
string $domain_key:
string $path:
Return value
string
1 call to Oauth2Client::generateUrl()
- Oauth2Client::exchangeCode in vendor/
auth0/ auth0-php/ src/ API/ Oauth2Client.php - Exchanges the code from the URI parameters for an access token, id token and user info
File
- vendor/
auth0/ auth0-php/ src/ API/ Oauth2Client.php, line 514
Class
- Oauth2Client
- This class provides access to Auth0 Platform.
Namespace
Auth0\SDK\APICode
protected final function generateUrl($domain_key, $path = '/') {
$base_domain = self::$URL_MAP[$domain_key];
$base_domain = str_replace('{domain}', $this->domain, $base_domain);
if ($path[0] === '/') {
$path = substr($path, 1);
}
return $base_domain . $path;
}