Skip to main content

Module auth

Module auth 

Source
Expand description

Token resolution, OAuth device flow, and credential storage backends.

Structs§

AuthProvider
Resolves and caches a GitHub personal access token from multiple sources.

Enums§

StoreBackend
Token storage backend selection for memory-mcp auth login.
TokenSource
Indicates which source produced the resolved token.

Functions§

device_flow_login
Authenticate with GitHub via the OAuth device flow and persist the token.
home_dir
Returns the user’s home directory using the platform-native mechanism.
print_auth_status
Print the current authentication status to stdout.