iya-sts
    Preparing search index...

    Draws Directory → Hardware tokens from its view.

    Index
    • The link from a person's sub-tab to the central page.

      Parameters

      • t: any

        the translator

      Returns string

      the HTML

    • One token's credentials, a line each.

      Parameters

      • t: any

        the translator

      • r: any

        the token

      Returns string

      the HTML

    • The PIV enrolment form; with user, for that person alone (#2052).

      Parameters

      • t: any

        the translator

      • v: any

        the view (its piv rules)

      • c: any

        the render context

      • Optionaluser: string

        optional; the person the form is fixed to

      Returns string

      the HTML

    • A person's escrowed keys, when the search names a person (#1955 P2).

      Parameters

      • t: any

        the translator

      • v: any

        the view

      • c: any

        the render context

      Returns string

      the HTML

    • The OATH tab (#1955 P4): the inventory, its filters and the forms.

      Parameters

      • v: any

        the page's view, the inventory composed as oath

      • c: any

        the render context

      Returns string

      the tab's HTML

    • The OATH tokens sub-tab: the tokens assigned to the person, an Assign by key, and their one-time code token from the users answer.

      Parameters

      • t: any

        the translator

      • o: any

        GET /admin-api/hardware-tokens/oath?q=<person>'s answer

      • c: any

        the render context

      • user: string

        the person

      • enrolled: string

        the person's one-time code token, drawn by the users page (mfaSection()'s hotp), with its Clear

      Returns string

      the HTML

    • The PIV sub-tab: the enrolment form fixed to the person, and their escrowed keys with Recover key.

      Parameters

      • t: any

        the translator

      • v: any

        GET /admin-api/hardware-tokens?q=<person>'s answer

      • c: any

        the render context

      • user: string

        the person

      Returns string

      the HTML

    • The SSH user certificates sub-tab: the person's certificates, each revocable.

      Parameters

      • t: any

        the translator

      • v: any

        GET /admin-api/hardware-tokens?q=<person>'s answer

      • c: any

        the render context

      • user: string

        the person

      Returns string

      the HTML

    • The Hardware tokens sub-tab: the person's tokens, with Report lost.

      Parameters

      • t: any

        the translator

      • v: any

        GET /admin-api/hardware-tokens?q=<person>'s answer

      • c: any

        the render context

      • user: string

        the person

      Returns string

      the HTML

    • The person's view: the composed answer with the search fixed to them.

      Parameters

      • v: any

        the composed answer

      • user: string

        the person

      Returns any

      the view

    • The YubiKey OTP sub-tab: the imported YubiKey OTPs on the person's entry (#2071, GET /admin-api/hardware-tokens/yubiotp?q=<person>, read off the entry, the master copy), assign an imported YubiKey by serial, and the person's YubiKey OTP from the users answer.

      Parameters

      • t: any

        the translator

      • y: any

        GET /admin-api/hardware-tokens/yubiotp?q=<person>'s answer

      • c: any

        the render context

      • user: string

        the person

      • enrolled: string

        the person's YubiKey OTP, drawn by the users page (mfaSection()'s yubi), with its Clear

      Returns string

      the HTML

    • Whether a composed answer can be drawn: a refusal is said in a note.

      Parameters

      • t: any

        the translator

      • v: any

        the composed answer

      Returns string

      the note when it cannot, else an empty string

    • Draws the page's body.

      Parameters

      • view: any

        GET /admin-api/hardware-tokens's answer

      • ctx: any

        the render context: the translator, the page's query and whether the reader may write

      Returns string

      the body as HTML

    • The SSH Issue form (#2071): a person and one public key, posting issue-ssh; with user, for that person alone.

      Parameters

      • t: any

        the translator

      • c: any

        the render context

      • user: string

        the person the form is fixed to, or '' for a field

      Returns string

      the HTML, framed; nothing for a reader who may not write

    • A person's SSH user certificates, when the search names a person (the #1955 review): each revocable, which puts it on the realm's KRL.

      Parameters

      • t: any

        the translator

      • v: any

        the view

      • c: any

        the render context

      Returns string

      the HTML

    • The tokens table, a Report lost on each active token.

      Parameters

      • t: any

        the translator

      • tokens: any[]

        the tokens to draw

      • c: any

        the render context

      Returns string

      the HTML

    • The YubiKey OTP tab (#2071): the inventory, its filters, the CSV import form and each token's acts.

      Parameters

      • v: any

        the page's view, the inventory composed as yubiotp

      • c: any

        the render context

      Returns string

      the tab's HTML

    • The YubiKey OTP inventory's rows (#2071): Assign on each unassigned token and Remove on each that is not assigned.

      Parameters

      • t: any

        the translator

      • tokens: any[]

        the rows to draw

      • c: any

        the render context

      • acts: boolean

        whether to draw the two acts

      Returns string

      the HTML