iya-sts
    Preparing search index...

    A right's limits as a form a person can lower, shared by GNAP's approval page, the portal's absent-owner approvals and OAuth's consent screen (#432 phase 5).

    Index
    • Draws the controls of one right's limits.

      Parameters

      • right: any

        the access right

      • t: number

        the token's index

      • r: number

        the right's index in the token

      • esc: (text: string) => string

        the page's escaper

      Returns string

      the markup, or '' for a right that carries no limits

    • The name of one limit control of right r of token t.

      Parameters

      • t: number

        the token's index

      • r: number

        the right's index in the token

      • member: string

        the limit member

      Returns string

      the field name

    • Reads the posted limits back onto the ticked rights.

      Parameters

      • asked: any[]

        the grant's requested tokens (the rights' identities)

      • tokens: any[]

        the ticked tokens, each right one of asked's

      • posted: PostedForm

        how the posted form is read

      • conformanceRefusal: (tokens: any[]) => any

        gnap_rights.conformanceRefusal()

      Returns any

      { ok: true, tokens }, or { ok: false, code, why }

    • Takes the limit controls off a posted form.

      Parameters

      • body: any

        the parsed form

      Returns any

      a copy without them