Expand description
Authentication providers for Gemini API connections.
This module defines the AuthProvider trait and built-in implementations
for Google AI (API key and OAuth2 token) and Vertex AI (Bearer token).
The ServiceEndpoint enum allows constructing URLs for both WebSocket (Live)
and REST API endpoints from the same auth provider.
Re-exports§
Modules§
- google_
ai - Google AI authentication providers (API key and OAuth2 token).
- vertex
- Vertex AI Bearer token authentication.
Enums§
- Service
Endpoint - Identifies which Gemini API service to connect to.
Traits§
- Auth
Provider - Provides authentication credentials and URL construction for Gemini API connections.