iya-sts
    Preparing search index...

    The opaque next / from pointer of a paged federation listing (the Extended Subordinate Listing and the Entity Collection): the first Entity Identifier of the next page, MACed under a secret every node shares.

    Index
    • Reads the Entity Identifier a pointer names.

      Parameters

      • realmId: string

        the realm

      • endpoint: string

        the listing endpoint

      • pointer: any

        the pointer a request handed back as from

      Returns string

      the identifier, or null when this service did not make the pointer for this realm and endpoint (page_not_found)

    • Makes the pointer to the page that starts at an entity.

      Parameters

      • realmId: string

        the realm

      • endpoint: string

        the listing endpoint

      • key: string

        the Entity Identifier the page starts at

      Returns string

      the pointer

    • Cuts one page of a sorted, filtered list: from the entity from names, at most limit items, and the pointer to the rest.

      Type Parameters

      • T

      Parameters

      • items: T[]

        the list, sorted by keyOf

      • keyOf: (item: T) => string

        an item's Entity Identifier

      • realmId: string

        the realm

      • endpoint: string

        the listing endpoint

      • from: any

        the pointer a request handed back, if any

      • limit: number

        the most items on the page

      Returns any

      { ok, page, next }, or { ok: false } for a pointer this service did not make