Auth Provider
interface AuthProvider
Interface for authentication providers.
Implementations handle platform-specific auth flows and secure token storage. Used by backup providers (Google Drive, etc.) for authentication.
Inheritors
Functions
Link copied to clipboard
Ensure user is signed in, triggering sign-in flow if needed.
Link copied to clipboard
Get an access token for API calls.
Link copied to clipboard
Get the signed-in user's email, or null if not signed in.
Link copied to clipboard
Check if user is currently signed in.
Link copied to clipboard
Force-refresh the access token, invalidating any cached token.
Link copied to clipboard
Trigger the sign-in flow.