ElectronSystemPreferences.promptTouchID method
ElectronSystemPreferences › promptTouchID
Unofficial
Prompts the user to authenticate with Touch ID. Resolves if the user has successfully authenticated with Touch ID.Signature:
promptTouchID(reason: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| reason | string | The reason presented to the user for the authentication request. |
Returns: Promise<void> — A promise that resolves once the user has authenticated.
Platform: darwin.