UNPKG

@neabyte/touchid

Version:

Native macOS Touch ID authentication with device identification, TTL caching, and TypeScript support. Features hardware UUID, device serial, and biometric type detection.

14 lines (13 loc) 396 B
export interface ConfigOptions { readonly debug: boolean; readonly timeout: number; readonly retries: number; } export type Result<T> = { readonly success: boolean; readonly data?: T; readonly error?: string; }; export type EventHandler<T = unknown> = (event: T) => void; export type AsyncOperation<T> = () => Promise<T>; export type Validator<T> = (value: T) => boolean;