Skip to content

canImplyAuthentication() ​

ts
function 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 ​

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

Defined in ​

index.ts:352