You are here

public function Auth0::logout in Auth0 Single Sign On 8.2

Delete any persistent data and clear out all stored properties

Return value

void

File

vendor/auth0/auth0-php/src/Auth0.php, line 749

Class

Auth0
Class Auth0 Provides access to Auth0 authentication functionality.

Namespace

Auth0\SDK

Code

public function logout() {
  $this
    ->deleteAllPersistentData();
  $this->accessToken = null;
  $this->user = null;
  $this->idToken = null;
  $this->refreshToken = null;
}