Skip to main content

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