Edit

Share via


ResetPasswordError class

Extends

AuthActionErrorBase

Constructors

ResetPasswordError(CustomAuthError)

Inherited Properties

errorData

Methods

isInvalidUsername()

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

isRedirectRequired()

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

isUnsupportedChallengeType()

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

isUserNotFound()

Checks if the error is due to the user not being found.

Inherited Methods

isTokenExpired()

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

Constructor Details

ResetPasswordError(CustomAuthError)

new ResetPasswordError(errorData: CustomAuthError)

Parameters

errorData
CustomAuthError

Inherited Property Details

errorData

errorData: CustomAuthError

Property Value

Inherited From AuthActionErrorBase.errorData

Method Details

isInvalidUsername()

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

function isInvalidUsername(): boolean

Returns

boolean

true if the error is due to the username being invalid, false otherwise.

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.

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.

isUserNotFound()

Checks if the error is due to the user not being found.

function isUserNotFound(): boolean

Returns

boolean

true if the error is due to the user not being found, false otherwise.

Inherited Method Details

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