Module tame_oauth::gcp [−][src]
Expand description
Provides functionality for Google oauth
Structs
Provides tokens using default application credentials
Provides tokens using the metadata server accessible when running from within GCP
Minimal parts needed from a GCP service acccount key for token acquisition
A token provider for a GCP service account.
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
.