iya-sts
    Preparing search index...

    Draws the three claim-set pages — /admin/claims, /admin/saml-attributes and /admin/userinfo-claims — from the answers of their management API operations: each set's typed claims and ticked directory attributes, what they would carry for one person, the groups claim and the forms that change them.

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

    Index
    • Draws the notes on where a directory attribute's value comes from and what it does not do: one catalogue, independent selections, nesting, which name wins, and that nothing here is verified.

      Parameters

      • family: any

        "jwt", "saml" or "userinfo"

      • t: any

        the page's translator (#539)

      Returns string

      the heading and notes as HTML

    • Draws the directory attribute half of one claim set: a checkbox per catalogue attribute with its value for the preview user, and the Update, Select all and Delete all forms.

      Parameters

      • setId: any

        the claim set's id

      • json: any
      • pageUrl: any

        the URL the forms post to

      • t: any

        the page's translator (#539)

      Returns string

      the section as HTML

    • Draws the note explaining a set's two halves, typed entries and directory attributes, in the vocabulary of the family.

      Parameters

      • family: any

        "jwt", "saml" or "userinfo"

      • t: any

        the page's translator (#539)

      Returns string

      the note as HTML

    • Draws the GET form that chooses whose values the page previews, with a note on whether they come from a directory entry or are generated.

      Parameters

      • path: any

        the page's path

      • previewUser: any

        the username being previewed

      • values: any

        the preview user's attribute values

      • t: any

        the page's translator (#539)

      Returns string

      the form 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 one claim set: its typed claims or attributes with Remove, Add and Clear forms, followed by its directory attribute half.

      Shared by the claims and SAML attribute pages; the noun and the SAML NameFormat or namespace column follow the set.

      Parameters

      • setId: any

        the claim set's id

      • json: any
      • pageUrl: any

        the URL the forms post to

      • Optionalt: any

        the page's translator (#539); none means the default, English in node

      Returns string

      the section as HTML

    • Draws the claims request form and what that request's userinfo member would return for the preview user.

      A request that would be refused is shown with the client's error rather than corrected; ignored members, absent and essential claims and value mismatches are each reported.

      Parameters

      • previewUser: any

        the username being previewed

      • raw: any

        the claims request as typed

      • claimsRequest: any
      • t: any

        the page's translator (#539)

      Returns string

      the form and its answer as HTML

    • Draws the Values section: which placeholders a value may carry, and whether a value is typed (JWT, UserInfo) or always text (SAML).

      Parameters

      • family: any

        "jwt", "saml" or "userinfo"

      • placeholders: any
      • t: any

        the page's translator (#539)

      Returns string

      the heading and notes as HTML

    • Draws the read-only groups claim section: whether the claim is on, and what it would carry for the preview user, built by groupsOf().

      Parameters

      • groups: any
      • previewUser: any

        the username being previewed

      • t: any

        the page's translator (#539)

      Returns string

      the section as HTML

    • Draws /admin/kerberos/claims: the PAC claim set with its claim ids, the forms that change it and one person's preview.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of GET /admin-api/kerberos/claims

      Returns string

      the body as HTML

    • Draws the "Replace a whole set" form, which replaces a set's typed entries from a JSON list and leaves its directory attributes alone.

      Parameters

      • sets: any
      • pageUrl: any

        the URL the form posts to

      • family: any

        "saml" for attributes, anything else for claims

      • t: any

        the page's translator (#539)

      Returns string

      the heading, note and form as HTML

    • Draws the table of every claim name a client may put in a claims request, with the attribute each is answered from.

      Parameters

      • claimsRequest: any
      • t: any

        the page's translator (#539)

      Returns string

      the heading, note and table 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 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