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.
CborDecodeOptionstype
CborDecodeOptions: anyCborFirstResulttype
CborFirstResult: anyCoseAlgorithmtype
CoseAlgorithm: anycreateTotpProvisioningUritype
createTotpProvisioningUri: (input: { secret: string; issuer: string; account: string; } & TotpOptions) => stringdecodeCbortype
decodeCbor: (input: Uint8Array, options?: CborDecodeOptions) => unknowndecodeCborFirsttype
decodeCborFirst: (input: Uint8Array, options?: CborDecodeOptions) => CborFirstResultdecodeCosePublicKeytype
decodeCosePublicKey: (input: Uint8Array) => DecodedCosePublicKeyDecodedCosePublicKeytype
DecodedCosePublicKey: anygenerateTotpSecrettype
generateTotpSecret: (options?: { byteLength?: number; }) => stringMfaValidationErrortype
MfaValidationError: typeof MfaValidationErrorMfaValidationErrorCodetype
MfaValidationErrorCode: anyTotpAlgorithmtype
TotpAlgorithm: anyTotpOptionstype
TotpOptions: anyverifyTotpCodetype
verifyTotpCode: (input: VerifyTotpOptions) => Promise<{ valid: boolean; counter?: number; drift?: number; }>VerifyTotpOptionstype
VerifyTotpOptions: anyverifyWebAuthnAuthenticationtype
verifyWebAuthnAuthentication: (input: WebAuthnAuthenticationInput) => Promise<{ signCount: number; backupEligible: boolean; backedUp: boolean; }>verifyWebAuthnRegistrationtype
verifyWebAuthnRegistration: (input: WebAuthnRegistrationInput) => Promise<WebAuthnRegistrationResult>WebAuthnAuthenticationInputtype
WebAuthnAuthenticationInput: anyWebAuthnRegistrationInputtype
WebAuthnRegistrationInput: anyWebAuthnRegistrationResulttype
WebAuthnRegistrationResult: any