Module cloud_storage_lite::token_provider[][src]

The TokenProvider trait and implementations.

Modules

oauth

A TokenProvider that fetches tokens using OAuth. This is the most common way to authenticate. In most cases, you’ll want to wrap this in a RenewingTokenProvider.

Structs

RenewingTokenProvider

A TokenProvider that renews its token whenever the current token expires.

Token

A access token and its expiry.

Traits

TokenProvider

A TokenProvider is something that, when invoked, gives a valid, unexpired access token.