iya-sts
    Preparing search index...
    allocate: (
        opts: { base: string; expiresAt: number; jti: string; kind: string },
    ) => Promise<StatusReference> = ...

    Type Declaration

      • (
            opts: { base: string; expiresAt: number; jti: string; kind: string },
        ): Promise<StatusReference>
      • Allocates an index for an access token about to be signed, claimed across the cluster for as long as the token lives.

        Parameters

        • opts: { base: string; expiresAt: number; jti: string; kind: string }

          jti, kind (oauth or gnap), expiresAt (ms) and base (any base URL in the ambient realm)

        Returns Promise<StatusReference>

        the reference the token carries in status.status_list

        Error marked STS-OAUTH-0816 when the claim store cannot be asked, STS-OAUTH-0817 when the list is full