Skip to main content

Module auth

Module auth 

Source

Structs§

AuthLoginCommand
Authenticate with Claude.
AuthLogoutCommand
Deauthenticate from Claude.
AuthStatusCommand
Check authentication status.
SetupTokenCommand
Set up a long-lived authentication token.

Enums§

LoginMode
Which billing path the CLI should authenticate against. Maps to --claudeai (subscription) or --console (Anthropic Console / API usage billing) on claude auth login.