iya-sts
    Preparing search index...

    Class export=

    Draws SCIM from the answer of GET /admin-api/scim and SCIM activity from that of GET /admin-api/scim/monitor.

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

    Index
    • Draws the Authentication section of /admin/scim: every scheme with its state, scope and request count, the anonymous and refused counts, and the access control policy.

      Parameters

      • t: any

        the page's translator (#539)

      • auth: any

        the authentication description from scim.js

      • counters: any

        the SCIM counters, with byAuthScheme

      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

      • endpoints: any

      Returns string

      the body as HTML

    • Draws one item of a prose list, folded when longer than a line.

      An item opening with a link is never folded; one opening with <code> keeps it in the summary.

      Parameters

      • html: any

        the item as HTML

      • Optionallabel: any

        optional; a summary, which also forces the fold

      Returns string

      the <li> as HTML

    • Draws one outbound SCIM client's page, /admin/scim?client=<id>.

      Parameters

      • ctx: any

        the render context

      • json: any

        the answer of the page's operation with client

      Returns string

      the page's HTML

    • Parameters

      • settings: any
      • clients: any

      Returns any

    • 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

    • Draws one row of the SCIM by-scheme table.

      Parameters

      • t: any

        the page's translator (#539)

      • id: any

        the scheme's id

      • name: any

        optional; the scheme's name

      • enabled: any

        true, false, or null when the state does not apply

      • count: any

        the number of requests counted under it

      • note: any

        optional; a note for the last cell, as HTML

      Returns string

      the table row as HTML