Skip to main content

Crate tauri_plugin_oauth_session

Crate tauri_plugin_oauth_session 

Source
Expand description

Drive OAuth flows through ASWebAuthenticationSession on iOS and Chrome Custom Tabs on Android.

On both platforms the plugin opens an in-app browser session, intercepts the redirect to the configured callback scheme, and resolves with the full callback URL — replacing the older “open external browser, poll backend” pattern.

Platform asymmetry: prefersEphemeralSession is honored on iOS but has no Android equivalent — Custom Tabs always shares cookies with the user’s default browser.

Structs§

AuthenticateOptions
AuthenticateResponse
OAuthSession
Access to the OAuth session APIs.

Enums§

Error

Traits§

OAuthSessionExt

Functions§

init

Type Aliases§

Result