TokenInvalidate
in
Indicates whether the service is capable of invalidating access tokens
Table of Contents
Methods
- invalidateAccessToken() : bool
- Allows to invalidate an access token
Methods
invalidateAccessToken()
Allows to invalidate an access token
public
invalidateAccessToken([AccessToken|null $token = null ]) : bool
Clients shall set the optional OAuthProvider::$revokeURL for use in this method. If a token is given via $token, that token should be invalidated, otherwise the current user token from the internal storage should be used. Returns true if the operation was successful, false otherwise. May throw a ProviderException if an error occurred.
Parameters
- $token : AccessToken|null = null