iya-sts
    Preparing search index...

    Draws /admin/vc from the answer of GET /admin-api/vc: which directory attributes a Verifiable Credential carries, what they would say about one person, and the forms that change the selection.

    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 the /admin/vc selection form: a checkbox per credential attribute with its value for the preview user, and the defaults and populate forms.

      Saving the selection also fills in missing attributes on every person under ou=users.

      Parameters

      • json: any
      • t: any

        the page's translator (#539)

      Returns string

      the forms as HTML

    • Draws the value and source cells of one credential attribute row for the person being previewed.

      Parameters

      • example: any

        { value, source }, from the page's answer

      Returns string

      two table cells as HTML

    • Draws what a credential for the preview user would assert, claim by claim, built by the function the issuer calls.

      Parameters

      • json: any
      • t: any

        the page's translator (#539)

      Returns string

      the preview form, notes and table as HTML