iya-sts
    Preparing search index...

    Draws Tokens from the answer of GET /admin-api/tokens: every issuance this service remembers, one row per set, filtered and paged, with the controls that revoke.

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

    Index
    • Draws the Revoke or Restore form for one issued credential.

      A record-only credential (an assertion, a ticket, an SVID) is marked in this service's own record and nothing else; a record with no jti gets a dash instead of a form.

      Parameters

      • t: any

        the page's translator (#539)

      • record: any

        an issued-credential row from admin_stats

      • backRow: any

        the list state to return to, posted as back

      Returns string

      the form, or the dash, 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 string

      the body as HTML

    • Draws what an issued set contains, in the order it was issued.

      Parameters

      • t: any

        the page's translator (#539)

      • set: any

        a set from stats.issuedSets()

      Returns string

      the set's kinds, and its size when grouped, as HTML

    • Draws the one family-specific fact for a row.

      Signed or unsigned for an assertion, the enc-type for a ticket, and the scope for a token.

      Parameters

      • t: any

        the page's translator (#539)

      • record: any

        an issued-credential row from admin_stats

      Returns string

      the cell's content as HTML

    • Draws a credential's identifier as a link to its lineage page.

      A Kerberos ticket, or a record with no identifier, gets a dash with a tooltip instead of a link.

      Parameters

      • t: any

        the page's translator (#539)

      • record: any

        an issued-credential row from admin_stats

      • listView: any

        the tokens page's list state, carried into the link

      Returns string

      the cell's content as HTML

    • Draws one row of the tokens table for a single credential.

      Parameters

      • t: any

        the page's translator (#539)

      • record: any

        an issued-credential row from admin_stats

      • backRow: any

        the list state its form posts as back

      • listView: any

        the list state carried into its identifier link

      Returns string

      a as HTML

    • Draws one row of the tokens table for an issued set.

      Most cells are drawn from the set's first member.

      Parameters

      • t: any

        the page's translator (#539)

      • set: any

        a set from stats.issuedSets()

      • backRow: any

        the list state its form posts as back

      • listView: any

        the list state carried into its identifier link

      Returns string

      a as HTML

    • Draws the party a credential was issued for.

      The audience of an assertion (or "unrestricted"), the service of a ticket, or the client_id of a token.

      Parameters

      • t: any

        the page's translator (#539)

      • record: any

        an issued-credential row from admin_stats

      Returns string

      the cell's content as HTML

    • Draws how the holder presents the credential.

      bearer for an assertion, TGS-REQ or AP-REQ for a ticket, and DPoP or Bearer for a token.

      Parameters

      • t: any

        the page's translator (#539)

      • record: any

        an issued-credential row from admin_stats

      Returns string

      the cell's content as HTML

    • Draws the Revoke set or Restore set form for a grouped set.

      A set of one draws its member's action cell; a set with nothing revocable gets a dash.

      Parameters

      • t: any

        the page's translator (#539)

      • set: any

        a set from stats.issuedSets()

      • backRow: any

        the list state to return to, posted as back

      Returns string

      the form, or the dash, 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 string

      the body as HTML

    • Draws when a set's first member expires, and its last if different.

      Parameters

      • t: any

        the page's translator (#539)

      • set: any

        a set from stats.issuedSets()

      Returns string

      the expiry text or range as HTML, or a dash

    • Draws a set's identifier: a link to the set page for a group.

      A set of one draws its member's identifier cell instead.

      Parameters

      • t: any

        the page's translator (#539)

      • set: any

        a set from stats.issuedSets()

      • listView: any

        the tokens page's list state, carried into the link

      Returns string

      the cell's content as HTML

    • Draws the state cell of an issued set.

      A set whose members disagree reads mixed, with the counts per state in its tooltip.

      Parameters

      • t: any

        the page's translator (#539)

      • set: any

        a set from stats.issuedSets()

      Returns string

      a as HTML

    • Returns the CSS class for a certificate's state.

      Parameters

      • state: any

        valid, expired, not yet valid, revoked or other

      Returns "state-valid" | "state-expired" | "state-revoked" | "state-none"

      the class name

    • Draws the tokens table's Subject cell: a JWT's sub, else its subject.

      Parameters

      • record: any

        an issued-credential row from admin_stats

      Returns string

      the shortened subject as HTML

    • Draws the tokens table's User cell for one issued record.

      Only a JWT carries a username beside its sub; the other families get a dash with a tooltip saying why.

      Parameters

      • t: any

        the page's translator (#539)

      • record: any

        an issued-credential row from admin_stats

      Returns string

      the cell's content as HTML