Redigera

Dela via


SignUpError class

Extends

AuthActionErrorBase

Constructors

SignUpError(CustomAuthError)

Inherited Properties

errorData

Methods

isAttributesValidationFailed()

Checks if the error is due to the attributes validation failed.

isInvalidPassword()

Checks if the error is due to the password being invalid or incorrect.

isInvalidUsername()

Checks if the error is due to the username is invalid.

isMissingRequiredAttributes()

Checks if the error is due to the required attributes are missing.

isUnsupportedChallengeType()

Checks if the error is due to the provided challenge type is not supported.

isUserAlreadyExists()

Checks if the error is due to the user already exists.

Inherited Methods

isRedirectRequired()

Check if client app supports the challenge type configured in Entra.

isTokenExpired()

Checks if the error is due to the expired continuation token.

Constructor Details

SignUpError(CustomAuthError)

new SignUpError(errorData: CustomAuthError)

Parameters

errorData
CustomAuthError

Inherited Property Details

errorData

errorData: CustomAuthError

Property Value

Inherited From AuthActionErrorBase.errorData

Method Details

isAttributesValidationFailed()

Checks if the error is due to the attributes validation failed.

function isAttributesValidationFailed(): boolean

Returns

boolean

True if the error is due to the attributes validation failed, false otherwise.

isInvalidPassword()

Checks if the error is due to the password being invalid or incorrect.

function isInvalidPassword(): boolean

Returns

boolean

True if the error is due to the password being invalid, false otherwise.

isInvalidUsername()

Checks if the error is due to the username is invalid.

function isInvalidUsername(): boolean

Returns

boolean

True if the error is due to the user is invalid, false otherwise.

isMissingRequiredAttributes()

Checks if the error is due to the required attributes are missing.

function isMissingRequiredAttributes(): boolean

Returns

boolean

True if the error is due to the required attributes are missing, false otherwise.

isUnsupportedChallengeType()

Checks if the error is due to the provided challenge type is not supported.

function isUnsupportedChallengeType(): boolean

Returns

boolean

True if the error is due to the provided challenge type is not supported, false otherwise.

isUserAlreadyExists()

Checks if the error is due to the user already exists.

function isUserAlreadyExists(): boolean

Returns

boolean

True if the error is due to the user already exists, false otherwise.

Inherited Method Details

isRedirectRequired()

Check if client app supports the challenge type configured in Entra.

function isRedirectRequired(): boolean

Returns

boolean

True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.

Inherited From AuthActionErrorBase.isRedirectRequired

isTokenExpired()

Checks if the error is due to the expired continuation token.

function isTokenExpired(): boolean

Returns

boolean

True if the error is due to the expired continuation token, false otherwise.

Inherited From AuthActionErrorBase.isTokenExpired