Edit

Share via


GetAccountResult class

Extends

Constructors

GetAccountResult(CustomAuthAccountData)

Creates a new instance of GetAccountResult.

Inherited Properties

data
error
state

Methods

createWithError(unknown)

Creates a new instance of GetAccountResult with an error.

isCompleted()

Checks if the result is in a completed state.

isFailed()

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

error?: GetAccountError

Property Value

Inherited From AuthFlowResultBase.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