AuthMethodVerificationRequiredState class    
State indicating that verification is required for the challenged authentication method.
- Extends
- 
			AuthMethodRegistrationState<AuthMethodVerificationRequiredStateParameters> 
Constructors
| Auth | Creates a new instance of AuthFlowActionRequiredStateBase. | 
Methods
| challenge | Challenges a different authentication method for registration. | 
| get | Gets the channel through which the challenge was sent. | 
| get | Gets the length of the expected verification code. | 
| get | Gets the target label indicating where the challenge was sent. | 
| submit | Submits the verification challenge to complete the authentication method registration. | 
Constructor Details
		AuthMethodVerificationRequiredState(AuthMethodVerificationRequiredStateParameters)
	         
	Creates a new instance of AuthFlowActionRequiredStateBase.
new AuthMethodVerificationRequiredState(stateParameters: AuthMethodVerificationRequiredStateParameters)Parameters
- stateParameters
- 
				AuthMethodVerificationRequiredStateParameters 
The parameters for the auth state.
Method Details
		challengeAuthMethod(AuthMethodDetails)
	    
	Challenges a different authentication method for registration.
function challengeAuthMethod(authMethodDetails: AuthMethodDetails): Promise<AuthMethodRegistrationChallengeMethodResult>Parameters
- authMethodDetails
- AuthMethodDetails
The authentication method details to challenge.
Returns
Promise that resolves to AuthMethodRegistrationChallengeMethodResult.
		getChannel()
	 
	Gets the channel through which the challenge was sent.
function getChannel(): stringReturns
string
The challenge channel (e.g., "email").
		getCodeLength()
	  
	Gets the length of the expected verification code.
function getCodeLength(): numberReturns
number
The code length.
		getSentTo()
	  
	Gets the target label indicating where the challenge was sent.
function getSentTo(): stringReturns
string
The challenge target label (e.g., masked email address).
		submitChallenge(string)
	 
	Submits the verification challenge to complete the authentication method registration.
function submitChallenge(code: string): Promise<AuthMethodRegistrationSubmitChallengeResult>Parameters
- code
- 
				string 
The verification code entered by the user.
Returns
Promise that resolves to AuthMethodRegistrationSubmitChallengeResult.