Skip to main content

Module refresh

Module refresh 

Source
Expand description

RefreshTokenSource automatically refreshes tokens before expiry using a configurable TokenRefresher.

Use the builder pattern to configure refresh intervals, timeouts, and minimum token lifetimes. See RefreshTokenSourceBuilder for details.

Structs§

RefreshTokenSource
A TokenSource automatically refreshing the token before it expires.
RefreshTokenSourceBuilder
Builder for a RefreshTokenSource.
TokenWithExpiry
A token with its expiry time.

Traits§

TokenRefresher
Anything which allows to refresh a token.