Crate lib_client_google_auth

Crate lib_client_google_auth 

Source
Expand description

Google OAuth2 authentication library for ADI.

Provides authentication strategies for Google APIs:

  • API key authentication
  • Service account authentication (JWT)
  • OAuth2 authentication (user consent flow)

Structs§

ApiKeyAuth
API key authentication.
OAuth2Auth
OAuth2 authentication with refresh token support.
ServiceAccountAuth
Service account authentication using JWT.
ServiceAccountCredentials
Google service account credentials from JSON key file.
Token
Access token with expiration.

Enums§

Credentials
Unified credentials type for Google authentication.
Error
Errors that can occur during Google authentication.

Traits§

AuthStrategy
Authentication strategy for Google APIs.
TokenStore
Trait for persistent token storage.

Type Aliases§

Result
Result type for Google auth operations.