SupabaseAuth<R> handle. Reach it from any Manager — an AppHandle, a Window, or the App itself — through the SupabaseAuthExt trait.
Rust callers receive the full
Session, including the refresh token. Sanitization happens at the command boundary, so only the webview sees a stripped session.Session lifecycle
sign_up’s third argument is optional serde_json::Value stored as user_metadata.
OAuth
start_oauth_flow opens the system browser, binds the loopback listener, and resolves when the PKCE exchange completes. See OAuth.
Account
Permissions in
capabilities/ gate the webview, not Rust. A command excluded from the capability set is still callable from Rust — the permission model exists to limit what untrusted frontend code can reach.Passkeys
passkey_registration_options / passkey_registration_verify and passkey_authentication_options / passkey_authentication_verify.
State-change callbacks
AuthCore is deliberately Tauri-free: it emits to registered callbacks, and the plugin registers one that forwards to AppHandle::emit for the webview. You can register your own.
AuthChangePayload { event, session } with the same events the webview sees.
Custom ceremony provider
UsePluginBuilder instead of init() when supplying your own WebAuthn ceremony:

