iya-sts
    Preparing search index...

    Draws Token lifetimes from the answer of GET /admin-api/token-lifetimes: the six settings, what each issued token was given, and the warnings their combination earns.

    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

    • Draws one row of the token lifetimes form: the control, the value in words, the per-client attribute that overrides it, its source, and how many tokens of its kind are valid, expired and revoked.

      Parameters

      • setting: any

        the described setting

      • snapshot: any

        the statistics snapshot the token counts come from

      • t: any

        the page's translator (#539)

      Returns string

      the table row as HTML

    • Draws the warnings for an access, refresh and skew in seconds.

      Parameters

      • access: any

        the access token's lifetime

      • refresh: any

        the refresh token's lifetime

      • skew: any

        the clock skew allowed

      • t: any

        the page's translator (#539); web_applications.ts passes its own

      Returns string

      the warnings as HTML, or '' for none