UNPKG

@virtonetwork/authenticators-webauthn

Version:

An Authenticator compatible with KreivoPassSigner that uses the WebAuthn standard

10 lines (9 loc) 597 B
import { CredentialsHandler } from "./types.ts"; export declare class InMemoryCredentialsHandler implements CredentialsHandler { private static userCredentials; private static tryMutate; static credentialIds(userId: string): ArrayBufferLike[]; onCreatedCredentials(userId: string, credential: PublicKeyCredential): Promise<void>; publicKeyCreateOptions(challenge: Uint8Array, user: PublicKeyCredentialUserEntity): Promise<PublicKeyCredentialCreationOptions>; publicKeyRequestOptions(userId: string, challenge: Uint8Array): Promise<CredentialRequestOptions["publicKey"]>; }