Askr
Generated API snapshot

@askrjs/auth/mfa

Exports from the declarations published in @askrjs/auth 0.0.5. Signatures are generated from the installed artifact.

  • @askrjs/auth/mfa0.0.5

Exports

This entrypoint publishes 20 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

createTotpProvisioningUritype

createTotpProvisioningUri: (input: { secret: string; issuer: string; account: string; } & TotpOptions) => string

decodeCbortype

decodeCbor: (input: Uint8Array, options?: CborDecodeOptions) => unknown

decodeCborFirsttype

decodeCborFirst: (input: Uint8Array, options?: CborDecodeOptions) => CborFirstResult

verifyTotpCodetype

verifyTotpCode: (input: VerifyTotpOptions) => Promise<{ valid: boolean; counter?: number; drift?: number; }>

verifyWebAuthnAuthenticationtype

verifyWebAuthnAuthentication: (input: WebAuthnAuthenticationInput) => Promise<{ signCount: number; backupEligible: boolean; backedUp: boolean; }>

verifyWebAuthnRegistrationtype

verifyWebAuthnRegistration: (input: WebAuthnRegistrationInput) => Promise<WebAuthnRegistrationResult>