iya-sts
    Preparing search index...

    Draws /admin/federation and its relationship drill-down from the answer of GET /admin-api/federation: every relationship in either direction, its state, the form that adds one, and the settings.

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

    Index
    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns string

      the body as HTML

    • Reads a boolean attribute as the federation register reads it.

      Parameters

      • value: any

        the attribute's value, as stored

      • dflt: any

        what an absent or unreadable value means

      Returns boolean

      the boolean

    • Draws the consumer and social providers tab: the realm's switch, the catalogue, and a form per provider.

      Parameters

      • consumer: any

        consumerProviders from the view: on and catalogue

      • t: any

        the page's translator

      Returns string

      the section as HTML

    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns any

      the body as HTML

    • Draws the caveat both federation pages carry.

      Parameters

      • t: any

        the page's translator

      Returns string

      the caveat as HTML

    • Draws a FAPI 1.0 Advanced relationship's TLS client certificate.

      Parameters

      • cert: any

        the relationship's clientCertificate view

      • t: any

        the page's translator

      Returns string

      the section as HTML

    • Draws the form that adds a federation relationship.

      Parameters

      • roles: any

        the two roles, from the view

      • protocols: any

        the five protocols, from the view

      • t: any

        the page's translator

      Returns string

      the form as HTML

    • Draws a relationship's encryption section: whether plaintext is refused, its keys (never a private key) and the Rotate button.

      Parameters

      • row: any

        the relationship's row

      • encryption: any

        the relationship's encryption state and keys

      • carryBack: any

        the hidden back field carried into the form

      • t: any

        the page's translator

      Returns string

      the section as HTML

    • Draws the links at the foot of the federation pages.

      Parameters

      • base: any

        the federation index's path (federation.PATHS.base)

      • Optionalt: any

        optional; the page's translator. admin-ui/admin.ts still calls this without one, and gets the default (English in node).

      Returns string

      the links as HTML

    • Draws one relationship's row of the table under the federation picture: its state, application count, sign-in counts and how it authenticates.

      Parameters

      • row: any

        the relationship's row in the graph

      • t: any

        the page's translator

      Returns string

      the row as HTML

    • Draws what this service SENDS the partner of an identity-provider-side relationship: its application's streams on this service's transmitter.

      Parameters

      • outbound: any

        { application, streams }

      • t: any

        the page's translator

      Returns string

      the section as HTML

    • Draws a service-provider-side relationship's Shared Signals section.

      Parameters

      • row: any

        the relationship's row

      • record: any

        the relationship

      • view: any

        the detail view: signals, arrivals, signalSetFields

      • carryBack: any

        the hidden back field carried into each form

      • t: any

        the page's translator

      Returns string

      the section as HTML

    • Draws a federation relationship's state as a table cell: ready, disabled, or enabled and not configured with what is still missing.

      Parameters

      • row: any

        the relationship's row

      • t: any

        the page's translator

      Returns string

      the cell as HTML

    • Draws the names a relationship's partner sent that were not written, each with a form to map it.

      Parameters

      • row: any

        the relationship's view

      • unmapped: any

        federation.unmappedOf()

      • carryBack: any

        the hidden back field every form carries

      • t: any

        the page's translator

      Returns string

      the section as HTML, or '' when there is nothing to show

    • Lays the federation picture out from its answer.

      Parameters

      • json: any

        the answer

      • links: boolean

        whether each box links to its console page

      Returns any

      web_federation_diagram.ts's drawing

    • Draws /admin/federation/map from its answer.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of GET /admin-api/federation/map

      Returns string

      the body as HTML

    • Draws the federation picture as a standalone SVG document, for the page's ?format=svg link.

      Parameters

      • json: any

        the answer

      Returns string

      the SVG document

    • Draws the federation picture from its answer, with the links to its SVG and JSON forms.

      Parameters

      • json: any

        the answer: the graph, looks, label and drawing

      • params: any

        the page's filter, carried into the two links

      • t: any

        the page's translator

      Returns string

      the drawing and its note as HTML