ResetPasswordError class
- Extends
-
AuthActionErrorBase
Constructors
| Reset |
Inherited Properties
| error |
Methods
| is |
Checks if the error is due to the username being invalid. |
| is |
Checks if the error is due to the provided challenge type is not supported. |
| is |
Checks if the error is due to the user not being found. |
Inherited Methods
| is |
Check if client app supports the challenge type configured in Entra. |
| is |
Checks if the error is due to the expired continuation token. |
Constructor Details
ResetPasswordError(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.
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
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