Skip to main content
Version: 9.2.x

Function: canImplyAuthentication()

canImplyAuthentication(options?): Promise<boolean>

Checks if the current device supports the specified authentication policy.

Parameters​

• options?: AuthenticationTypeOption

A keychain options object.

Returns​

Promise<boolean>

Resolves to true when supported, otherwise false.

Platform​

iOS

Example​

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

Defined in​

index.ts:332