@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.
12 lines (11 loc) • 593 B
JavaScript
export var TouchIDError;
(function (TouchIDError) {
TouchIDError["NOT_AVAILABLE"] = "Touch ID not available";
TouchIDError["NOT_ENROLLED"] = "No Touch ID enrolled";
TouchIDError["LOCKOUT"] = "Touch ID is locked out";
TouchIDError["USER_CANCEL"] = "User cancelled authentication";
TouchIDError["SYSTEM_CANCEL"] = "System cancelled authentication";
TouchIDError["AUTHENTICATION_FAILED"] = "Authentication failed";
TouchIDError["PASSCODE_NOT_SET"] = "Passcode not set";
TouchIDError["NOT_INTERACTIVE"] = "Not interactive";
})(TouchIDError || (TouchIDError = {}));