ChallengeStepHandler <ResponseType>
Implements
Index
Constructors
constructor
Type parameters
- ResponseType
Parameters
flow: DirectAuthenticationFlow
request: Request<ResponseType>
statusBlock: ChallengeStepStatusBlock<ResponseType>
Returns ChallengeStepHandler<ResponseType>
Properties
readonlyflow
Reference to the flow this step handler is invoked from.
readonlyrequest
readonlystatusBlock
Methods
process
Processes the current step, returning the given status when the step has completed, or throws the appropriate error.
Returns Promise<Status>
Status of the resulting operation.
Performs a server challenge request that returns some DirectAuthenticationFlow.Status.
Some flow steps need to perform some initial request that results in some return status, but does not intend to directly exchange a Token. For example, when a WebAuthn authentication challenge needs to be produced, or when an SMS verification code needs to be sent.