rn-passkeys
Version:
A library for using (webauthn) passkeys on iOS, Android & web with a single api
10 lines • 744 B
TypeScript
import type { AuthenticationResponseJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, RegistrationResponseJSON } from './ReactNativePasskeys.types';
declare const _default: {
readonly name: string;
isAutoFillAvalilable(): Promise<boolean>;
isSupported(): boolean;
create({ signal, ...request }: PublicKeyCredentialCreationOptionsJSON & Pick<CredentialCreationOptions, 'signal'>): Promise<RegistrationResponseJSON | null>;
get({ mediation, signal, ...request }: PublicKeyCredentialRequestOptionsJSON & Pick<CredentialRequestOptions, 'mediation' | 'signal'>): Promise<AuthenticationResponseJSON | null>;
};
export default _default;
//# sourceMappingURL=ReactNativePasskeysModule.web.d.ts.map