AuthMethodRegistrationSubmitChallengeResult class

Kimlik doğrulama yöntemi kaydı için bir sınama göndermenin sonucu.

Extends

Devralınan Özellikler

data
error
state

Yöntemler

createWithError(unknown)

Hatayla bir AuthMethodRegistrationSubmitChallengeResult oluşturur.

isCompleted()

Sonucun kaydın tamamlandığını belirtip göstermediğini denetler.

isFailed()

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

Oluşturucu Ayrıntıları

AuthMethodRegistrationSubmitChallengeResult(AuthMethodRegistrationSubmitChallengeResultState, CustomAuthAccountData)

new AuthMethodRegistrationSubmitChallengeResult(state: AuthMethodRegistrationSubmitChallengeResultState, data?: CustomAuthAccountData)

Parametreler

Devralınan Özellik Detayları

data

data?: CustomAuthAccountData

Özellik Değeri

Devralınan AuthFlowResultBase.data

error

error?: AuthMethodRegistrationSubmitChallengeError

Özellik Değeri

Devralınan AuthFlowResultBase.error

state

state: AuthMethodRegistrationSubmitChallengeResultState

Özellik Değeri

Devralınan AuthFlowResultBase.state

Yöntem Ayrıntıları

createWithError(unknown)

Hatayla bir AuthMethodRegistrationSubmitChallengeResult oluşturur.

static function createWithError(error: unknown): AuthMethodRegistrationSubmitChallengeResult

Parametreler

error

unknown

Oluşan hata.

Döndürülenler

AuthMethodRegistrationSubmitChallengeResult hatası.

isCompleted()

Sonucun kaydın tamamlandığını belirtip göstermediğini denetler.

function isCompleted(): this

Döndürülenler

this

kayıt tamamlandıysa true, aksi takdirde false.

isFailed()

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

function isFailed(): this

Döndürülenler

this

sonuç başarısız olursa true, aksi takdirde false.