Module cloud_storage_lite::token_provider[][src]

The TokenProvider trait and implementations.

Modules

__mock_MockTokenProvider
__mock_MockTokenProvider_TokenProvider
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

MockTokenProvider

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

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.