ResetPasswordSubmitPasswordResult class
- Extends
-
AuthFlowResultBase<ResetPasswordSubmitPasswordResultState, ResetPasswordSubmitPasswordError, void>
Constructors
Reset |
Creates a new instance of ResetPasswordSubmitPasswordResult. |
Methods
create |
|
is |
Checks if the result is in a completed state. |
is |
Checks if the result is in a failed state. |
Constructor Details
ResetPasswordSubmitPasswordResult(ResetPasswordSubmitPasswordResultState)
Creates a new instance of ResetPasswordSubmitPasswordResult.
new ResetPasswordSubmitPasswordResult(state: ResetPasswordSubmitPasswordResultState)
Parameters
The state of the result.
Inherited Property Details
data
data?: void
Property Value
void
Inherited From AuthFlowResultBase.data
error
error?: ResetPasswordSubmitPasswordError
Property Value
Inherited From AuthFlowResultBase.error
state
state: ResetPasswordSubmitPasswordResultState
Property Value
Inherited From AuthFlowResultBase.state
Method Details
createWithError(unknown)
static function createWithError(error: unknown): ResetPasswordSubmitPasswordResult
Parameters
- error
-
unknown
Returns
isCompleted()
Checks if the result is in a completed state.
function isCompleted(): this
Returns
this
isFailed()
Checks if the result is in a failed state.
function isFailed(): this
Returns
this