iya-sts
    Preparing search index...
    form: (req: ChooserRequest, surfaceId: string, error?: string) => string = ...

    Type Declaration

      • (req: ChooserRequest, surfaceId: string, error?: string): string
      • Draws the chooser as an HTML fragment for the surface's own page: a list or a text box and a submit button, a GET of the surface's root with realm.

        Parameters

        • req: ChooserRequest

          the express request

        • surfaceId: string

          'admin' or 'portal'

        • Optionalerror: string

          optional sentence to show above the form

        Returns string

        the HTML fragment