GetAccountResult class
- 扩展
-
AuthFlowResultBase<GetAccountResultState, GetAccountError, CustomAuthAccountData>
构造函数
| Get |
创建 GetAccountResult 的新实例。 |
方法
| create |
创建包含错误的 GetAccountResult 的新实例。 |
| is |
检查结果是否处于已完成状态。 |
| is |
检查结果是否处于失败状态。 |
构造函数详细信息
GetAccountResult(CustomAuthAccountData)
创建 GetAccountResult 的新实例。
new GetAccountResult(resultData?: CustomAuthAccountData)
参数
- resultData
- CustomAuthAccountData
结果数据。
继承属性详细信息
data
error
state
方法详细信息
createWithError(unknown)
创建包含错误的 GetAccountResult 的新实例。
static function createWithError(error: unknown): GetAccountResult
参数
- error
-
unknown
错误数据。
返回
isCompleted()
检查结果是否处于已完成状态。
function isCompleted(): this
返回
this
isFailed()
检查结果是否处于失败状态。
function isFailed(): this
返回
this