AccessToken extension to the User interface
AnythingObjectBasic ...and other supertypesUserAccessTokenUserBasicIdentifiableObjectAnythingno subtypes hierarchy
| Initializer |
AccessToken(AccessToken unknown) |
| Inherited Attributes |
Attributes inherited from: Objecthash, string |
| Methods | |
expired | shared default Boolean expired()Check if the access token is expired or not. |
introspect | shared default AccessToken introspect(Anything(Throwable?) callback)Introspect access token. This is an OAuth2 extension that allow to verify if an access token is still valid. Parameters:
|
logout | shared default AccessToken logout(Anything(Throwable?) callback)Revoke refresh token and calls the logout endpoint. This is a openid-connect extension and might not be available on all providers. Parameters:
|
refresh | shared default AccessToken refresh(Anything(Throwable?) callback)Refresh the access token Parameters:
|
revoke | shared default AccessToken revoke(String token_type, Anything(Throwable?) callback)Revoke access or refresh token Parameters:
|
| Inherited Methods |
Methods inherited from: Objectequals |
Methods inherited from: UserclearCache, isAuthorised, principal, setAuthProvider |