GetAccountResult class
- Extends
-
AuthFlowResultBase<GetAccountResultState, GetAccountError, CustomAuthAccountData>
Constructors
Get |
Creates a new instance of GetAccountResult. |
Methods
create |
Creates a new instance of GetAccountResult with an error. |
is |
Checks if the result is in a completed state. |
is |
Checks if the result is in a failed state. |
Constructor Details
GetAccountResult(CustomAuthAccountData)
Creates a new instance of GetAccountResult.
new GetAccountResult(resultData?: CustomAuthAccountData)
Parameters
- resultData
- CustomAuthAccountData
The result data.
Inherited Property Details
data
data?: CustomAuthAccountData
Property Value
Inherited From AuthFlowResultBase.data
error
state
state: GetAccountResultState
Property Value
Inherited From AuthFlowResultBase.state
Method Details
createWithError(unknown)
Creates a new instance of GetAccountResult with an error.
static function createWithError(error: unknown): GetAccountResult
Parameters
- error
-
unknown
The error data.
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