rn-local-authentication
Version:
The library helps you to authenticate users biometrically
17 lines (16 loc) • 359 B
TypeScript
export interface BiometrySelectSpec<T, F, N, A> {
touchId?: T;
faceId?: F;
none?: N;
android?: A;
}
/**
* Select value by current biometry type
*
* @param spec
*/
declare function select<T, F, N, A>(spec: BiometrySelectSpec<T, F, N, A>): T | F | N | A | undefined;
export declare const Biometry: {
select: typeof select;
};
export {};