react-native-passkeys
Version:
A library for using (webauthn) passkeys on iOS, Android & web with a single api
17 lines • 1.02 kB
TypeScript
import type { AuthenticationExtensionsLargeBlobInputs, AuthenticationExtensionsPRFInputs, AuthenticationResponseJSON, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, CreationResponse } from "./ReactNativePasskeys.types";
export declare function isSupported(): boolean;
export declare function isAutoFillAvalilable(): boolean;
export declare function create(request: Omit<PublicKeyCredentialCreationOptionsJSON, "extensions"> & {
extensions?: {
largeBlob?: AuthenticationExtensionsLargeBlobInputs;
prf?: AuthenticationExtensionsPRFInputs;
credProps?: boolean;
};
} & Pick<CredentialCreationOptions, "signal">): Promise<CreationResponse | null>;
export declare function get(request: Omit<PublicKeyCredentialRequestOptionsJSON, "extensions"> & {
extensions?: {
largeBlob?: AuthenticationExtensionsLargeBlobInputs;
prf?: AuthenticationExtensionsPRFInputs;
};
}): Promise<AuthenticationResponseJSON | null>;
//# sourceMappingURL=index.d.ts.map