iya-sts
    Preparing search index...

    Class export=

    Draws OpenID Federation from the answer of GET /admin-api/oidfed: this realm as a federation entity — its configuration, keys, subordinates, the collection, its Trust Anchors and Trust Marks, a resolution, and its settings.

    A static utility class; it holds no state and takes no dependencies.

    Index
    • Draws the page's body.

      Parameters

      • json: any

        the view, with resolution when one was just made

      • t: any

        the page's translator

      • Optionalquery: any

        optional; the page's query, which the paging links carry

      Returns string

      the body as HTML

    • Draws a value as <code>, escaped.

      Parameters

      • value: any

        the value

      Returns string

      the markup

    • Draws one POST control: the action, its hidden fields, the visible ones and a button.

      Parameters

      • action: string

        the action's name

      • fields: string

        the fields' markup

      • button: string

        the button's label

      • Optionaldanger: boolean

        whether the button is drawn as dangerous

      Returns string

      the markup

    • Draws a hidden form field.

      Parameters

      • name: string

        the field's name

      • value: any

        its value

      Returns string

      the markup

    • Draws one subordinate's history, folded in a <details>.

      Parameters

      • events: any

        the subordinate's events

      • t: any

        the page's translator

      • Optionaltotal: number

        optional; how many events there are, when the view carries only the latest

      Returns string

      the markup

    • Builds the paging control of every paged list.

      Parameters

      • json: any

        the view

      • query: any

        the page's query

      • t: any

        the page's translator

      Returns any

      each list's head and foot, by the view's member name

    • Draws a quiet placeholder such as "none".

      Parameters

      • text: string

        the placeholder; "none" when empty

      Returns string

      the markup

    • Draws the page's body from its view.

      Parameters

      • view: any

        the answer of the page's management API operation

      • Optionalctx: any

        the render context (WebKit.context()); the default one when a caller has none

      Returns string

      the body as HTML

    • Draws the Trust Anchors section.

      Parameters

      • json: any

        oidfed.view()'s answer

      • t: any

        the page's translator

      • Optionalnav: any

        optional; the paging controls, from navs()

      Returns string

      the markup

    • Draws the Entity Collection section: the last crawl, and Crawl now.

      Parameters

      • json: any

        oidfed.view()'s answer

      • t: any

        the page's translator

      Returns string

      the markup

    • Draws the section about this realm as a federation entity.

      Parameters

      • json: any

        oidfed.view()'s answer

      • t: any

        the page's translator

      Returns string

      the markup

    • Draws the subordinates this realm revoked, whose histories it keeps.

      Parameters

      • json: any

        oidfed.view()'s answer

      • t: any

        the page's translator

      • Optionalnav: any

        optional; the paging controls, from navs()

      Returns string

      the markup

    • Draws the Federation Entity Keys section.

      Parameters

      • json: any

        oidfed.view()'s answer

      • t: any

        the page's translator

      • Optionalnav: any

        optional; the paging controls, from navs()

      Returns string

      the markup

    • Draws the Trust Marks section.

      Parameters

      • json: any

        oidfed.view()'s answer

      • t: any

        the page's translator

      • Optionalnav: any

        optional; the paging controls, from navs()

      Returns string

      the markup

    • Draws the Resolve an entity section, and the last resolution's result.

      Parameters

      • json: any

        oidfed.view()'s answer

      • extra: any

        a resolution to show, if any

      • t: any

        the page's translator

      Returns string

      the markup

    • Draws the subordinates section, with each one's history and controls.

      Parameters

      • json: any

        oidfed.view()'s answer

      • t: any

        the page's translator

      • Optionalnav: any

        optional; the paging controls, from navs()

      Returns string

      the markup