basalt / auth/src / MfaEnrollmentRequiredError
Class: MfaEnrollmentRequiredError
Defined in: auth/src/auth.ts:117
The route needs a credential obtained with a second factor, and the account has not enabled MFA yet: enrol (/auth/mfa/enroll + /activate), then sign in again with a code.
Extends
Constructors
Constructor
> new MfaEnrollmentRequiredError(): MfaEnrollmentRequiredError
Defined in: auth/src/auth.ts:119
Returns
MfaEnrollmentRequiredError
Overrides
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
Inherited from
details?
> readonly optional details?: Record<string, unknown>
Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).
Inherited from
status
> readonly status: 403 = 403
Defined in: auth/src/auth.ts:118