final public function Oauth2Client::getAccessToken in Auth0 Single Sign On 8.2
Gets an access_token
Return value
string
Throws
File
- vendor/
auth0/ auth0-php/ src/ API/ Oauth2Client.php, line 439
Class
- Oauth2Client
- This class provides access to Auth0 Platform.
Namespace
Auth0\SDK\APICode
public final function getAccessToken() {
if ($this->access_token === null) {
$this
->exchangeCode();
}
return $this->access_token;
}