Skip to main content
Version: 9.0.0

Function: canImplyAuthentication()

canImplyAuthentication(options?): Promise<boolean>

Checks if the current device supports the specified authentication policy (iOS only).

Parameters

options?: Partial<object & BaseOptions>

A keychain options object.

Returns

Promise<boolean>

Resolves to true when supported, otherwise false.

Example

const canAuthenticate = await Keychain.canImplyAuthentication();
console.log('Can imply authentication:', canAuthenticate);

Defined in

index.ts:532