Module auth

Module auth 

Source

Re-exports§

pub use storage::Provider;

Modules§

anthropic
google
server
storage
Token storage using config file (no keychain)

Functions§

get_anthropic_token
Get Anthropic token (for Claude)
get_authenticated_providers
Check which providers are authenticated
get_google_token
Get Google token (for Gemini)
get_token
Get token for a specific provider
login
Legacy login function (defaults to Google OAuth)
login_anthropic
Login with Anthropic (Claude) via OAuth
login_google
Login with Google (Gemini) via OAuth
logout
Logout from all providers
logout_provider
Logout from a specific provider