Module cloud_storage_lite::token_provider::oauth[][src]

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

OAuthTokenProvider

A TokenProvider that fetches access tokens via OAuth using a provided service account.

ServiceAccount

A representation of a GCP service account file. Contains the information required to obtain an access token via OAuth.

Enums

OAuthError

An error occured while authenticating using OAuth.

ServiceAccountError

An error occurring when loading the service account file.

Constants

SCOPE_STORAGE_FULL_CONTROL

The devstorage.full_control scope.