AuthMethodRegistrationChallengeMethodResult class

Kayıt için kimlik doğrulama yönteminin zorlanması sonucu. Döngüsel bağımlılıkları önlemek için temel durum türünü kullanır.

Extends

Devralınan Özellikler

data
error
state

Yöntemler

createWithError(unknown)

Hatayla bir AuthMethodRegistrationChallengeMethodResult oluşturur.

isCompleted()

Sonucun kaydın tamamlandığını gösterip göstermediğini denetler (hızlı geçiş senaryosu).

isFailed()

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

isVerificationRequired()

Sonucun doğrulamanın gerekli olup olmadığını denetler.

Oluşturucu Ayrıntıları

AuthMethodRegistrationChallengeMethodResult(AuthMethodRegistrationChallengeMethodResultState, CustomAuthAccountData)

new AuthMethodRegistrationChallengeMethodResult(state: AuthMethodRegistrationChallengeMethodResultState, data?: CustomAuthAccountData)

Parametreler

Devralınan Özellik Detayları

data

data?: CustomAuthAccountData

Özellik Değeri

Devralınan Kaynak AuthFlowResultBase.data

error

error?: AuthMethodRegistrationChallengeMethodError

Özellik Değeri

Devralınan AuthFlowResultBase.error

state

state: AuthMethodRegistrationChallengeMethodResultState

Özellik Değeri

Devralınan AuthFlowResultBase.state

Yöntem Ayrıntıları

createWithError(unknown)

Hatayla bir AuthMethodRegistrationChallengeMethodResult oluşturur.

static function createWithError(error: unknown): AuthMethodRegistrationChallengeMethodResult

Parametreler

error

unknown

Oluşan hata.

Döndürülenler

Hatayla birlikte AuthMethodRegistrationChallengeMethodResult.

isCompleted()

Sonucun kaydın tamamlandığını gösterip göstermediğini denetler (hızlı geçiş senaryosu).

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.

isVerificationRequired()

Sonucun doğrulamanın gerekli olup olmadığını denetler.

function isVerificationRequired(): this

Döndürülenler

this

doğrulama gerekiyorsa true, aksi takdirde false.