Expand description
§token-source
A lightweight library to provide common traits and structs for token sources.
§Token source
A token source is anything capable of sourcing any type of token. Tokens are originally meant for authentication (OAuth2, Id, Noop, etc.), but can be used for any purpose.
§Token source provider
A token source provider own the token source and provides access to it.
Structs§
- Noop
Token Source Provider - A Noop token source provider.
Traits§
- Token
Source - A TokenSource abstracts how a token is obtained or generated.
- Token
Source Provider - A TokenSourceProvider provides a TokenSource implementation.