{"library":"tauri-plugin-auth-session-api","type":"library","category":null,"description":"This package provides the TypeScript API for `tauri-plugin-auth-session`, a Tauri v2 plugin designed for secure in-app OAuth authentication across mobile and desktop platforms. It leverages native browser authentication sessions: `ASWebAuthenticationSession` on macOS and iOS, and Chrome Custom Tabs on Android. The plugin enables a seamless, secure authorization flow by capturing OAuth redirects to custom URL schemes directly within the app, bypassing the need for external browser launches or localhost web server listeners. It's crucial for Tauri v2 mobile development, where traditional desktop OAuth patterns are impractical. The current stable version is 0.2.2, indicating active development within the v0 series, with new features and stability improvements likely tied to the progression of Tauri v2 itself. Key differentiators include a single `start()` API call, native browser security (credentials never touch WebView), SSO support, and full compatibility with PKCE/OAuth 2.0/OIDC providers.","language":"javascript","status":"active","version":"0.2.2","tags":["javascript","tauri","tauri-plugin","oauth","authentication","ios","android","macos","custom-tabs","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install tauri-plugin-auth-session-api","imports":["import { start } from 'tauri-plugin-auth-session-api';","import type { AuthSessionOptions } from 'tauri-plugin-auth-session-api';"]},{"cmd":"yarn add tauri-plugin-auth-session-api","imports":[]},{"cmd":"pnpm add tauri-plugin-auth-session-api","imports":[]}],"homepage":null,"github":"https://github.com/yanqianglu/tauri-plugin-auth-session","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tauri-plugin-auth-session-api","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/tauri-plugin-auth-session-api/compatibility"}}