Module 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§

TokenInfo
Represents a token as returned by OAuth2 servers.

Enums§

TokenStorageError
Errors that occur while caching tokens in storage

Traits§

TokenStorage
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.