Google_AccessToken_Revoke
class Google_AccessToken_Revoke (View source)
Wrapper around Google Access Tokens which provides convenience functions
Methods
__construct(ClientInterface $http = null)
Instantiates the class, but does not initiate the login flow, leaving it to the discretion of the caller.
bool
revokeToken(string|array $token)
Revoke an OAuth2 access token or refresh token. This method will revoke the current access token, if a token isn't provided.
Details
__construct(ClientInterface $http = null)
Instantiates the class, but does not initiate the login flow, leaving it to the discretion of the caller.
bool
revokeToken(string|array $token)
Revoke an OAuth2 access token or refresh token. This method will revoke the current access token, if a token isn't provided.