Module yup_oauth2::authenticator
source · Expand description
Module containing the core functionality for OAuth2 Authentication.
Structs§
- Create a access token authenticator for use with pre-generated access tokens
- Create an authenticator that uses a application default credentials.
- Authenticator is responsible for fetching tokens, handling refreshing tokens, and optionally persisting tokens to disk.
- Configure an Authenticator using the builder pattern.
- Create an authenticator that uses an authorized user credentials.
- DefaultHyperClient
hyper-rustls
orhyper-tls
The builder value used when the default hyper client should be used. - Create an authenticator that uses the device flow.
- Create an authenticator that uses an external account credentials.
- Create an authenticator that uses the installed flow.
- Create an authenticator that uses a service account.
- Create a access token authenticator that uses user secrets to impersonate a service account.
Enums§
- Types of authenticators provided by ApplicationDefaultCredentialsAuthenticator
Traits§
- A trait implemented for any hyper_util::client::legacy::Client as well as the DefaultHyperClient.
Type Aliases§
- DefaultAuthenticator
hyper-rustls
orhyper-tls
Default authenticator type