Skip to main content

Module credentials

Module credentials 

Source
Expand description

Credential storage for cloud authentication.

Provides secure storage for API keys and encryption keys using the OS keychain when available, with a file-based fallback for systems where the keychain is not accessible.

Structs§

Credentials
Cloud service credentials.
CredentialsStore
Credential storage abstraction.

Functions§

get_credentials
Gets the current credentials if logged in.
is_logged_in
Checks if the user is currently logged in.
require_login
Requires login, returning an error if not logged in.