Skip to main content

Interface: MFAMethod

Defined in: src/types/interfaces/auth.interface.ts:230

MFA method descriptor.

Properties​

id​

readonly id: string

Defined in: src/types/interfaces/auth.interface.ts:243

Method identifier.

Remarks​

For webauthn, this is the credential ID. For TOTP, this is a stable identifier.


name?​

readonly optional name: string

Defined in: src/types/interfaces/auth.interface.ts:250

Human-readable method name.

Example​

"Authenticator app", "Security key - YubiKey"

type​

readonly type: "webauthn" | "totp" | "backup_code"

Defined in: src/types/interfaces/auth.interface.ts:234

Method type.