Expand description
Credential storage and retrieval for Syncable authentication
Stores authentication tokens in ~/.syncable.toml
Enums§
- Auth
Status - Authentication status enum
Functions§
- clear_
credentials - Clear stored credentials (logout)
- get_
access_ token - Get the current access token if valid
- get_
auth_ status - Get authentication status including expiry info
- get_
user_ email - Get the authenticated user’s email
- is_
authenticated - Check if the user is currently authenticated with a valid token
- save_
credentials - Save credentials to global config file