iya-sts
    Preparing search index...
    actorChainFor: (
        rsId: string,
        originalAct: any,
        originalClient: string,
        issuer: string,
    ) => any = ...

    Type Declaration

      • (rsId: string, originalAct: any, originalClient: string, issuer: string): any
      • Builds a derived token's actor chain: the deriving resource server, then the original token's chain, or the original client where it has none.

        Parameters

        • rsId: string

          the deriving resource server's identifier

        • originalAct: any

          the original token's act, or null

        • originalClient: string

          the existing token's client instance: the original client when the token carries no chain yet

        • issuer: string

          the GNAP authorization server's issuer, the derived token's own iss

        Returns any

        { ok: true, act, depth }, or a refusal past the cap