basalt / auth/src / MfaStepUpRequiredError
Class: MfaStepUpRequiredError
Defined in: auth/src/auth.ts:105
The route needs a credential obtained with a second factor (MFA policy or meta.mfa: true), and the account has MFA enabled: sign in again with a code. Distinct from the 401 MfaRequiredError of the login itself.
Extends
Constructors
Constructor
> new MfaStepUpRequiredError(): MfaStepUpRequiredError
Defined in: auth/src/auth.ts:107
Returns
MfaStepUpRequiredError
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:106