Skip to main content

Module auth

Module auth 

Modules§

anthropic_token
email_oauth2
gemini_oauth
Google/Gemini OAuth2 authentication flow.
oauth_common
Common OAuth2 utilities shared across model_providers.
openai_oauth
profiles
xai_oauth

Structs§

AnthropicFlow
AuthFlowContext
AuthService
GeminiFlow
OpenaiCodexFlow
PendingOAuthLogin
Generic pending OAuth login state, shared across model providers.
XaiFlow

Enums§

AuthProvider
RefreshStatus
Result of AuthProviderFlow::refresh_status — caller renders the outcome (CLI message, gateway JSON, etc.) without doing its own provider-aware formatting.

Traits§

AuthProviderFlow

Functions§

clear_pending_oauth_login
default_profile_id
load_pending_oauth_login
normalize_model_provider
save_pending_oauth_login
select_profile_id
state_dir_from_config