AuthMethodVerificationRequiredState class

문제가 있는 인증 방법에 대해 확인이 필요함을 나타내는 상태입니다.

Extends

AuthMethodRegistrationState<AuthMethodVerificationRequiredStateParameters>

생성자

AuthMethodVerificationRequiredState(AuthMethodVerificationRequiredStateParameters)

AuthFlowActionRequiredStateBase의 새 인스턴스를 만듭니다.

속성

stateType

상태의 형식입니다.

메서드

challengeAuthMethod(AuthMethodDetails)

등록을 위해 다른 인증 방법에 도전합니다.

getChannel()

챌린지가 전송된 채널을 가져옵니다.

getCodeLength()

예상된 확인 코드의 길이를 가져옵니다.

getSentTo()

챌린지가 전송된 위치를 나타내는 대상 레이블을 가져옵니다.

submitChallenge(string)

인증 방법 등록을 완료하기 위해 확인 챌린지를 제출합니다.

생성자 세부 정보

AuthMethodVerificationRequiredState(AuthMethodVerificationRequiredStateParameters)

AuthFlowActionRequiredStateBase의 새 인스턴스를 만듭니다.

new AuthMethodVerificationRequiredState(stateParameters: AuthMethodVerificationRequiredStateParameters)

매개 변수

stateParameters

AuthMethodVerificationRequiredStateParameters

인증 상태에 대한 매개 변수입니다.

속성 세부 정보

stateType

상태의 형식입니다.

stateType: string

속성 값

string

메서드 세부 정보

challengeAuthMethod(AuthMethodDetails)

등록을 위해 다른 인증 방법에 도전합니다.

function challengeAuthMethod(authMethodDetails: AuthMethodDetails): Promise<AuthMethodRegistrationChallengeMethodResult>

매개 변수

authMethodDetails
AuthMethodDetails

챌린지에 대한 인증 방법 세부 정보입니다.

반품

AuthMethodRegistrationChallengeMethodResult로 확인되는 Promise입니다.

getChannel()

챌린지가 전송된 채널을 가져옵니다.

function getChannel(): string

반품

string

챌린지 채널(예: "이메일")입니다.

getCodeLength()

예상된 확인 코드의 길이를 가져옵니다.

function getCodeLength(): number

반품

number

코드 길이입니다.

getSentTo()

챌린지가 전송된 위치를 나타내는 대상 레이블을 가져옵니다.

function getSentTo(): string

반품

string

챌린지 대상 레이블(예: 마스킹된 전자 메일 주소)입니다.

submitChallenge(string)

인증 방법 등록을 완료하기 위해 확인 챌린지를 제출합니다.

function submitChallenge(code: string): Promise<AuthMethodRegistrationSubmitChallengeResult>

매개 변수

code

string

사용자가 입력한 확인 코드입니다.

반품

AuthMethodRegistrationSubmitChallengeResult로 확인되는 Promise입니다.