Skip to main content

Module auth

Module auth 

Source
Expand description

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

Re-exports§

pub use oauth::device_flow_login;
pub use oauth::DeviceFlowProvider;
pub use oauth::GitHubDeviceFlow;

Modules§

oauth
OAuth device flow trait and provider implementations.

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§

home_dir
Returns the user’s home directory using the platform-native mechanism.
print_auth_status
Print the current authentication status to stdout.