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

    Type Declaration

      • (
            req: ChooserRequest,
            surfaceId: string,
            error?: string,
            translator?: WebTranslator,
        ): string
      • Draws the chooser as an HTML fragment for the surface's own page: a list of every realm 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

        • Optionaltranslator: WebTranslator

          the page's translator; built here when not given

        Returns string

        the HTML fragment