The highest tagged major version is
v2 .
Discover Packages
github.com/256dpi/oauth2
revocation
package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Jan 6, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1 module, 1 package
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package revocation provides structures and functions to implement the
additional OAuth2 Token Revocation specification.
View Source
const (
AccessToken = "access_token"
RefreshToken = "refresh_token"
)
The known OAuth2 token types.
KnownTokenType returns true if the token type is a known token type
(e.g. access token or refresh token).
UnsupportedTokenType constructs an error that indicates that the authorization
server does not support the revocation of the presented token type.
A Request is typically returned by ParseRequest and holds all
information necessary to handle a revocation request.
ParseRequest parses an incoming request and returns a Request.
The functions validates basic constraints given by the OAuth2 spec.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.