Skip to main content

TokenStepHandler

Processes steps that can immediately return a Token.

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Constructor to attempt to perform a step that immediately returns a token.


    Parameters

    • flow: DirectAuthenticationFlow

      Authentication flow that is performing the step.

    • request: TokenRequest

      The preformulated request that defines how to retrieve a token.

    Returns TokenStepHandler

Properties

flow

Reference to the flow this step handler is invoked from.

readonlyrequest

request: TokenRequest

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.

Page Options