Module tame_oauth::gcp

source ·
Expand description

Provides functionality for Google oauth

Structs

Minimal parts needed from a GCP service acccount key for token acquisition
Represents a token as returned by OAuth2 servers.

Enums

Either a valid token, or an HTTP request that can be used to acquire one
Wrapper around the different providers that are supported

Traits

A TokenProvider has a single method to implement get_token_with_subject. Implementations are free to perform caching or always return a Request in the TokenOrRequest.

Type Definitions

Provides tokens using default application credentials Caches tokens internally.
Provides tokens using the metadata server accessible when running from within GCP. Caches tokens internally.
A token provider for a GCP service account. Caches tokens internally.