Skip to main content

ChallengeStepHandler <ResponseType>

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.

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

readonlyflow

Reference to the flow this step handler is invoked from.

readonlyrequest

request: Request<ResponseType>

readonlystatusBlock

statusBlock: ChallengeStepStatusBlock<ResponseType>

Methods

process

  • process(): Promise<Status>
  • Processes the current step, returning the given status when the step has completed, or throws the appropriate error.

    @throws

    Error indicating a problem that occurred within this step.


    Returns Promise<Status>

    Status of the resulting operation.