iya-sts
    Preparing search index...

    Draws Sessions from the answer of GET /admin-api/sessions: every live session in every protocol family, filtered and paged, with the controls that end them, and those that authenticated nobody.

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

    Index
    • Draws the account-choice counters as a tab.

      Parameters

      • t: any

        the page's translator (#539)

      • choices: any

        the view's accountChoices

      Returns string

      the section as HTML, or '' where there is nothing to say

    • Draws the browser a session shares with others, where it is in an account set.

      Parameters

      • t: any

        the page's translator (#539)

      • row: any

        a live-session row from logout.ts

      Returns string

      a line as HTML, or ''

    • 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 where to find what a session issued.

      A browser session links to its tokens, a Kerberos row to the ticket table, and an LDAP connection to nothing.

      Parameters

      • t: any

        the page's translator (#539)

      • row: any

        a live-session row from logout.ts

      Returns string

      a as HTML

    • Draws when a session ends, with the rule for its kind as the title.

      A session with no expiry says so; one under five minutes is marked.

      Parameters

      • t: any

        the page's translator (#539)

      • row: any

        a live-session row from logout.ts

      • nowMs: any

        the current time in milliseconds

      Returns string

      a as HTML

    • Draws one row of the sessions page, with its Revoke form.

      The form is drawn only for a terminable row and a holder of Admin Write; otherwise the cell says why not.

      Parameters

      • t: any

        the page's translator (#539)

      • row: any

        a live-session row from logout.ts

      • nowMs: any

        the current time in milliseconds

      • canWrite: any

        whether the reader holds Admin Write

      • back: any

        the list state the form posts as back

      Returns string

      a as HTML