Skip to content

@saflib/utils


auth-error-codes ​

Type Aliases ​

Type AliasDescription
AuthGateErrorCode-

Variables ​

VariableDescription
AUTH_ERROR_EMAIL_VERIFICATION_REQUIREDReturned as JSON code on 403 from auth middleware when email is not verified.
AUTH_ERROR_MFA_REQUIREDReturned as JSON code on 403 when the route requires MFA (AAL2+) and the session does not.