iya-sts
    Preparing search index...

    Variable enrol

    enrol: (username: unknown, subject: unknown, label: unknown, by: unknown) => any = ...

    Type Declaration

      • (username: unknown, subject: unknown, label: unknown, by: unknown): any
      • Enrols a subject on a person. The caller decides who may: the portal after a SIOPv2 round trip proved the key, the console and the API for Admin Write.

        Parameters

        • username: unknown

          the person

        • subject: unknown

          the subject

        • label: unknown

          a label for it

        • by: unknown

          who enrolled it

        Returns any

        { ok, enrolled }, or { ok: false, error }