Skip to main content

Module profile

Module profile 

Source
Expand description

Profile authentication shared by every Squigit shell.

Enums§

ProfileError

Functions§

cancel_google_auth
Cancel the currently pending Google OAuth flow.
configured_google_credentials
Retrieve the currently configured credentials source, if any.
delete_profile
Delete an inactive profile and return the canonical state.
get_profile_snapshot
Read the complete profile state in one operation.
is_google_auth_configured
Check if Google authentication is configured and valid.
logout
Enter Guest mode while keeping saved profiles available for later use.
set_google_credentials
Provide Google OAuth credentials to the profile authentication engine.
set_google_credentials_json
Convenience method to configure Google OAuth credentials from a raw JSON string.
start_google_auth
Begin Google OAuth and return the canonical state after a successful login.
switch_profile
Activate a stored profile and return the canonical state.

Type Aliases§

Result