Module authenticator

Source
Expand description

Module containing the core functionality for OAuth2 Authentication.

Structs§

AccessTokenAuthenticator
Create a access token authenticator for use with pre-generated access tokens
ApplicationDefaultCredentialsAuthenticator
Create an authenticator that uses a application default credentials.
Authenticator
Authenticator is responsible for fetching tokens, handling refreshing tokens, and optionally persisting tokens to disk.
AuthenticatorBuilder
Configure an Authenticator using the builder pattern.
AuthorizedUserAuthenticator
Create an authenticator that uses an authorized user credentials.
DeviceFlowAuthenticator
Create an authenticator that uses the device flow.
ExternalAccountAuthenticator
Create an authenticator that uses an external account credentials.
InstalledFlowAuthenticator
Create an authenticator that uses the installed flow.
ServiceAccountAuthenticator
Create an authenticator that uses a service account.
ServiceAccountImpersonationAuthenticator
Create a access token authenticator that uses user secrets to impersonate a service account.

Enums§

ApplicationDefaultCredentialsTypes
Types of authenticators provided by ApplicationDefaultCredentialsAuthenticator

Type Aliases§

DefaultAuthenticatorhyper-rustls or hyper-tls
Default authenticator type