Module inth_oauth2_async::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
- The bearer token type.
- An expiring token.
- An expiring token which can be refreshed.
- A static, non-expiring token.
Traits
- OAuth 2.0 token lifetimes.
- OAuth 2.0 tokens.