Module yup_oauth2::storage

source ·
Expand description

Interface for storing tokens so that they can be re-used. There are built-in memory and file-based storage providers. You can implement your own by implementing the TokenStorage trait.

Structs§

  • Represents a token as returned by OAuth2 servers.

Traits§

  • Implement your own token storage solution by implementing this trait. You need a way to store and retrieve tokens, each keyed by a set of scopes.