Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConfirmationCallback

Represents a callback used to collect a confirmation to a message.

Hierarchy

Index

Constructors

constructor

Properties

payload

payload: Callback

The raw payload returned by OpenAM

Methods

getDefaultOption

  • getDefaultOption(): number

getInputValue

  • getInputValue(selector?: number | string): unknown

getMessageType

  • getMessageType(): number

getOptionType

  • getOptionType(): number

getOptions

  • getOptions(): string[]

getOutputByName

  • getOutputByName<T>(name: string, defaultValue: T): T

getOutputValue

  • getOutputValue(selector?: number | string): unknown

getPrompt

  • getPrompt(): string

getType

  • getType(): string

setInputValue

  • setInputValue(value: unknown, selector?: number | string | RegExp): void

setOptionIndex

  • setOptionIndex(index: number): void

setOptionValue

  • setOptionValue(value: string): void