ResetPasswordResendCodeResult class
- Extends
-
AuthFlowResultBase<ResetPasswordResendCodeResultState, ResetPasswordResendCodeError, void>
Constructors
Reset |
Creates a new instance of ResetPasswordResendCodeResult. |
Methods
create |
Creates a new instance of ResetPasswordResendCodeResult with an error. |
is |
Checks if the result is in a code required state. |
is |
Checks if the result is in a failed state. |
Constructor Details
ResetPasswordResendCodeResult(ResetPasswordResendCodeResultState)
Creates a new instance of ResetPasswordResendCodeResult.
new ResetPasswordResendCodeResult(state: ResetPasswordResendCodeResultState)
Parameters
The state of the result.
Inherited Property Details
data
data?: void
Property Value
void
Inherited From AuthFlowResultBase.data
error
error?: ResetPasswordResendCodeError
Property Value
Inherited From AuthFlowResultBase.error
state
state: ResetPasswordResendCodeResultState
Property Value
Inherited From AuthFlowResultBase.state
Method Details
createWithError(unknown)
Creates a new instance of ResetPasswordResendCodeResult with an error.
static function createWithError(error: unknown): ResetPasswordResendCodeResult
Parameters
- error
-
unknown
The error that occurred.
Returns
A new instance of ResetPasswordResendCodeResult with the error set.
isCodeRequired()
Checks if the result is in a code required state.
function isCodeRequired(): this
Returns
this
isFailed()
Checks if the result is in a failed state.
function isFailed(): this
Returns
this