Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChoiceStepHandler

Handler that renders the three different uses of a choice collector in Express:

  • Prompt to register a security device
  • Prompt to "go passwordless"
  • Prompt to select method to receive second factor

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected deferred

deferred: Deferred<FRStep>

The deferred Promise that resolves the step when it's ready to submit.

Protected step

step: FRStep

The step to handle

Protected target

target: HTMLElement

The DOM element to contain the handler

Methods

Protected bind

  • bind(): void

completeStep

  • completeStep(): Promise<FRStep>

Protected findElement

  • findElement<T>(selector: string, required?: boolean): T

Protected getRefs

  • getRefs(): void

Protected getTemplate

  • getTemplate(): string

Protected ready

  • ready(): void

Protected render

  • render(): void

Protected unbind

  • unbind(): void