iya-sts
    Preparing search index...

    Draws Consent from the answer of GET /admin-api/consent: the consent overrides per application and scope, every consent a person recorded, and the forms that change both.

    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 hidden "back" field the consent page's forms carry.

      Parameters

      • listView: any

        the list view to return to, or nothing

      Returns string

      a hidden input as HTML

    • Draws one row of the global consent table: the application, the scope, what the scope is, and a Remove form.

      Parameters

      • one: any

        the global consent row

      • listView: any

        the list view the links and form carry

      • t: any

        the page's translator (#539)

      Returns string

      the table row as HTML

    • Draws one row of the recorded consent table: the person, the application, the scope and a Revoke form.

      A value not in the shape this service writes is shown as it is, with no form, rather than dropped.

      Parameters

      • one: any

        the recorded consent row

      • listView: any

        the list view the links and form carry

      • t: any

        the page's translator (#539)

      Returns string

      the table row as HTML