Documentation ¶
Overview ¶
Package revocation provides structures and functions to implement the additional OAuth2 Token Revocation specification.
Index ¶
Constants ¶
View Source
const ( AccessToken = "access_token" RefreshToken = "refresh_token" )
The known OAuth2 token types.
Variables ¶
This section is empty.
Functions ¶
func KnownTokenType ¶
KnownTokenType returns true if the token type is a known token type (e.g. access token or refresh token).
func UnsupportedTokenType ¶
UnsupportedTokenType constructs an error that indicates that the authorization server does not support the revocation of the presented token type.
Types ¶
Click to show internal directories.
Click to hide internal directories.