Skip to content
Tauri

authenticate

authenticate(reason, options?): Promise<void>

Defined in: index.ts:69

Prompts the user for authentication using the system interface (touchID, faceID or Android Iris). Rejects if the authentication fails.

import { authenticate } from "@tauri-apps/plugin-biometric";
await authenticate('Open your wallet');

string

AuthOptions

Promise<void>


© 2025 Tauri Contributors. CC-BY / MIT