Skip to main content

Module auth

Module auth 

Source

Structs§

TokenBundle

Constants§

BASE_SCOPES
CHANNEL_HISTORY_SCOPE
CHANNEL_HISTORY_SCOPES

Functions§

access_token
available_pass_directory
channel_history_granted
check_store
Check storage before opening Microsoft sign-in. GPG may prompt for an existing entry.
credential_present
Inspect the selected store without treating a helper/decryption failure as logout.
granted_scopes
has_token
login
logout
native_store_error
Probe only the native store when offering a new-profile storage choice.
native_store_label
prepare_pass_directory
save_verified_login
Save a verified sign-in with its config; restore the previous credential if config fails.
sign_in
Complete Microsoft sign-in without replacing a saved credential yet. Guided setup verifies this exact token before committing the new connection.