Module token

Source
Expand description

Tokens.

Access token types are abstracted through the Token trait. See RFC 6749, section 7.1.

Expiring and non-expiring tokens are abstracted through the Lifetime trait.

Structs§

Bearer
The bearer token type.
Expiring
An expiring token.
Refresh
An expiring token which can be refreshed.
Static
A static, non-expiring token.

Traits§

Lifetime
OAuth 2.0 token lifetimes.
Token
OAuth 2.0 tokens.