Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AttributeInputCallback<T>

Represents a callback used to collect attributes.

Type parameters

  • T: string | number | boolean

    Maps to StringAttributeInputCallback, NumberAttributeInputCallback and BooleanAttributeInputCallback, respectively

Hierarchy

Index

Constructors

constructor

Properties

payload

payload: Callback

The raw payload returned by OpenAM

Methods

getFailedPolicies

getInputValue

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

getName

  • getName(): string

getOutputByName

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

getOutputValue

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

getPolicies

getPrompt

  • getPrompt(): string

getType

  • getType(): string

isRequired

  • isRequired(): boolean

setInputValue

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

setValidateOnly

  • setValidateOnly(value: boolean): void

setValue

  • setValue(value: T): void