ResetPasswordSubmitPasswordError class
- Extends
-
AuthActionErrorBase
Constructors
Reset |
Inherited Properties
error |
Methods
is |
Checks if the new password is invalid or incorrect. |
is |
Checks if the password reset failed due to reset timeout or password change failed. |
Inherited Methods
is |
Checks if the error is due to the expired continuation token. |
Constructor Details
ResetPasswordSubmitPasswordError(CustomAuthError)
new ResetPasswordSubmitPasswordError(errorData: CustomAuthError)
Parameters
- errorData
- CustomAuthError
Inherited Property Details
errorData
errorData: CustomAuthError
Property Value
Inherited From AuthActionErrorBase.errorData
Method Details
isInvalidPassword()
Checks if the new password is invalid or incorrect.
function isInvalidPassword(): boolean
Returns
boolean
True if the new password is invalid, false otherwise.
isPasswordResetFailed()
Checks if the password reset failed due to reset timeout or password change failed.
function isPasswordResetFailed(): boolean
Returns
boolean
True if the password reset failed, 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