expo-passkey
Version:
Passkey authentication for Expo apps with Better Auth integration
24 lines • 908 B
TypeScript
/**
* @file Biometric authentication utilities
* @module expo-passkey/client/utils/biometrics
*/
import type { BiometricSupportInfo } from "../../types";
/**
* Checks if biometric authentication is supported and available
* @returns Promise resolving to biometric support information
*/
export declare function checkBiometricSupport(): Promise<BiometricSupportInfo>;
/**
* Determines the type of biometric authentication available
* @param types Available authentication types
* @returns Human-readable biometric type
*/
export declare function getBiometricType(types: number[]): string;
/**
* Checks if passkeys are supported on the current device
* This checks both platform requirements and native module availability
*
* @returns Promise resolving to true if passkeys are supported
*/
export declare function isPasskeySupported(): Promise<boolean>;
//# sourceMappingURL=biometrics.d.ts.map