Edit

Share via


ResetPasswordSubmitPasswordError class

Extends

AuthActionErrorBase

Constructors

ResetPasswordSubmitPasswordError(CustomAuthError)

Inherited Properties

errorData

Methods

isInvalidPassword()

Checks if the new password is invalid or incorrect.

isPasswordResetFailed()

Checks if the password reset failed due to reset timeout or password change failed.

Inherited Methods

isTokenExpired()

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