protected static function Client::emptyToken in OAuth2 Client 7.2
Same name and namespace in other branches
- 7 oauth2_client.inc \OAuth2\Client::emptyToken()
Return an empty token.
1 call to Client::emptyToken()
- Client::loadToken in src/
Client.php - Load the token data from the storage.
File
- src/
Client.php, line 157 - Class OAuth2\Client.
Class
- Client
- The class OAuth2\Client is used to communicate with an oauth2 server.
Namespace
OAuth2Code
protected static function emptyToken() {
return array(
'access_token' => NULL,
'expires_in' => NULL,
'token_type' => NULL,
'scope' => NULL,
'refresh_token' => NULL,
'expiration_time' => NULL,
);
}