iya-sts
    Preparing search index...

    The OpenID Federation register: every entry under ou=oidfed in the ambient realm's directory tree, one class whose kind says what it records. A library of static methods that holds nothing in memory.

    Index
    KINDS: Readonly<
        {
            ANCHOR: "anchor";
            COLLECTION: "collection";
            EVENTS: "events";
            HELD_MARK: "held-mark";
            ISSUED_MARK: "issued-mark";
            KEYS: "keys";
            MARK_POLICY: "mark-policy";
            MARK_TYPE: "mark-type";
            SUBORDINATE: "subordinate";
            SUSPENSION: "suspension";
        },
    > = KINDS

    The kinds of entry: keys, subordinate, anchor, mark-type, issued-mark, held-mark, mark-policy, events, suspension and collection.

    • Appends one event to a subordinate's log, never replacing a value.

      Parameters

      • key: string

        the subordinate's key

      • entityId: string

        its Entity Identifier, if any

      • value: string

        the event's JSON text

      Returns boolean

      true when the directory wrote it

    • Answers the cn of the entry of a kind about a key.

      Parameters

      • kind: string

        one of KINDS

      • key: string

        what the entry is about

      Returns string

      the kind's prefix and the key's digest, or the kind itself for a realm's one keys or collection entry

    • Answers the digest an entry is named by: SHA-256 in hex, cut to 32 characters.

      Parameters

      • value: string

        what the entry is about: an Entity Identifier, a type or a JWT

      Returns string

      the digest

    • Lists every entry of a kind in the ambient realm, oldest first.

      Parameters

      • kind: string

        one of KINDS

      Returns Entry[]

      the entries: cn, kind, Entity Identifier, data and times

    • Reads a subordinate's event log: the values of the events entry about its key.

      Parameters

      • key: string

        the subordinate's key

      Returns string[]

      each event's JSON text

    • Reads the entry of a kind about a key.

      Parameters

      • kind: string

        one of KINDS

      • key: string

        what the entry is about

      Returns Entry

      the entry, or null

    • Reads the rows of the realm's Federation Entity Key table, one JSON value each.

      Returns any[]

      the rows

    • Writes the entry of a kind about a key, created or replaced whole.

      Parameters

      • kind: string

        one of KINDS

      • key: string

        what the entry is about

      • entityId: string

        the Entity Identifier it concerns, if any

      • data: any

        the record, stored as one JSON value

      Returns boolean

      true when the directory wrote it

    • Deletes the entry of a kind about a key.

      Parameters

      • kind: string

        one of KINDS

      • key: string

        what the entry is about

      Returns boolean

      true when the directory deleted it

    • Reads a generalized time as epoch milliseconds.

      Parameters

      • values: any

        the attribute's value or values

      Returns number

      the time, or 0 when there is none

    • Writes the realm's Federation Entity Key table, one value per row.

      Parameters

      • rows: any[]

        the rows

      Returns boolean

      true when the directory wrote it