ResetPasswordResendCodeResult class

扩展

构造函数

ResetPasswordResendCodeResult(ResetPasswordResendCodeResultState)

创建 ResetPasswordResendCodeResult 的新实例。

继承属性

data
error
state

方法

createWithError(unknown)

创建 ResetPasswordResendCodeResult 的新实例并出现错误。

isCodeRequired()

检查结果是否处于代码所需状态。

isFailed()

检查结果是否处于失败状态。

构造函数详细信息

ResetPasswordResendCodeResult(ResetPasswordResendCodeResultState)

创建 ResetPasswordResendCodeResult 的新实例。

new ResetPasswordResendCodeResult(state: ResetPasswordResendCodeResultState)

参数

state
ResetPasswordResendCodeResultState

结果的状态。

继承属性详细信息

data

data?: void

属性值

void

继承自 AuthFlowResultBase.data

error

error?: ResetPasswordResendCodeError

属性值

继承自 AuthFlowResultBase.error

state

state: ResetPasswordResendCodeResultState

属性值

继承自 AuthFlowResultBase.state

方法详细信息

createWithError(unknown)

创建 ResetPasswordResendCodeResult 的新实例并出现错误。

static function createWithError(error: unknown): ResetPasswordResendCodeResult

参数

error

unknown

发生的错误。

返回

具有错误集的 ResetPasswordResendCodeResult 的新实例。

isCodeRequired()

检查结果是否处于代码所需状态。

function isCodeRequired(): this

返回

this

isFailed()

检查结果是否处于失败状态。

function isFailed(): this

返回

this