Package-level declarations
Types
Plugin to interact with the Supabase Auth API
The default values for the AuthConfig
A cache for the code verifier used in the PKCE flow.
Represents the available actions for external auth such as OAuth and SSO.
Http callback configuration for the web server, when logging in with OAuth.
A CodeVerifierCache that uses the AtomicRef API.
A SessionManager that uses the AtomicRef API.
Used to mark Postgrest filter DSL functions
Represents the session manager. Used for saving and restoring the session from storage
A CodeVerifierCache that uses the Settings API.
A SessionManager that uses the Settings API.
Represents the scope of a sign-out action.
Properties
The Auth plugin handles everything related to Supabase's authentication system
The deeplink used for the implicit and PKCE flow. Throws an IllegalArgumentException, if either the scheme or host is not set
The deeplink used for the implicit and PKCE flow. Returns null, if either the scheme or host is not set
Functions
Creates a AuthenticatedSupabaseApi for the given plugin. Requires Auth to authenticate requests All requests will be resolved using the MainPlugin.resolveUrl function
Creates a AuthenticatedSupabaseApi with the given baseUrl. Requires Auth to authenticate requests All requests will be resolved relative to this url
Creates a AuthenticatedSupabaseApi with the given resolveUrl function. Requires Auth to authenticate requests All requests will be resolved using this function
Handle deeplinks for authentication. This handles the deeplinks for implicit and PKCE flow.
Handle deeplinks for authentication. This handles the deeplinks for the implicit and the PKCE flow.
Applies minimal settings to the AuthConfig. This is useful for server side applications, where you don't need to store the session or code verifier.
Parses a session from a fragment.
Parses a session from an url.
Returns the access token used for requests. The token is resolved in the following order: