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