You are here

final public function Oauth2Client::getIdToken in Auth0 Single Sign On 8.2

Gets the id token

Return value

string

Throws

ApiException

1 call to Oauth2Client::getIdToken()
Oauth2Client::updateUserMetadata in vendor/auth0/auth0-php/src/API/Oauth2Client.php
Updates the user metadata. This end up calling the path /users/{id_user} To delete an attribute, just set it null. ie: [ 'old_attr' => null ] It will only update the existing attrs and keep the others untouched

File

vendor/auth0/auth0-php/src/API/Oauth2Client.php, line 484

Class

Oauth2Client
This class provides access to Auth0 Platform.

Namespace

Auth0\SDK\API

Code

public final function getIdToken() {
  if ($this->id_token === null) {
    $this
      ->exchangeCode();
  }
  return $this->id_token;
}