Module tokkit::token_manager [] [src]

Managing AccessTokens.

AccessTokens are managed by configuring a ManagedToken. They can later be queried by the identifier configured with the ManagedToken. The identifier can be any type T where T: Eq + Ord + Send + Sync + Clone + Display + 'static

Modules

token_provider

Interaction with the authorization server

Structs

AccessTokenManager

The TokenManager refreshes AccessTokenss in the background.

AccessTokenSource

Can be queired for AccessTokens by their identifier configured with the respective ManagedToken.

Error

The Error type.

ManagedToken

An AccessToken to be managed. The AccessToken will be updated automatically.

ManagedTokenBuilder

A builder to configure a ManagedToken.

ManagedTokenGroup

A group of ManagedTokens that are requested from the same authorization server

ManagedTokenGroupBuilder
SingleAccessTokenSource

Can be queried for a fixed AccessToken.

Enums

ErrorKind

The kind of an error.

Traits

ResultExt

Additional methods for Result, for easy interaction with this crate.

Type Definitions

Result

Convenient wrapper around std::Result.