GetAccessTokenResult class

Extends

AuthFlowResultBase<GetAccessTokenResultState, GetCurrentAccountAccessTokenError, AuthenticationResult>

Oluşturucular

GetAccessTokenResult(AuthenticationResult)

GetAccessTokenResult'un yeni bir örneğini oluşturur.

Devralınan Özellikler

data
error
state

Yöntemler

createWithError(unknown)

Hatayla yeni bir GetAccessTokenResult örneği oluşturur.

isCompleted()

Sonucun tamamlandığını denetler.

isFailed()

Sonucun başarısız olup olmadığını denetler.

Oluşturucu Ayrıntıları

GetAccessTokenResult(AuthenticationResult)

GetAccessTokenResult'un yeni bir örneğini oluşturur.

new GetAccessTokenResult(resultData?: AuthenticationResult)

Parametreler

resultData

AuthenticationResult

Erişim belirtecinin sonuç verileri.

Devralınan Özellik Detayları

data

data?: AuthenticationResult

Özellik Değeri

AuthenticationResult

Devralınan AuthFlowResultBase.data

error

error?: GetCurrentAccountAccessTokenError

Özellik Değeri

Devralınan AuthFlowResultBase.error

state

state: GetAccessTokenResultState

Özellik Değeri

Devralınan AuthFlowResultBase.state

Yöntem Ayrıntıları

createWithError(unknown)

Hatayla yeni bir GetAccessTokenResult örneği oluşturur.

static function createWithError(error: unknown): GetAccessTokenResult

Parametreler

error

unknown

Oluşan hata.

Döndürülenler

Hatayla sonuç.

isCompleted()

Sonucun tamamlandığını denetler.

function isCompleted(): this

Döndürülenler

this

isFailed()

Sonucun başarısız olup olmadığını denetler.

function isFailed(): this

Döndürülenler

this