iya-sts
    Preparing search index...
    claimsFor: (
        introspection: any,
        issuer: unknown,
        audience: unknown,
        now: number,
    ) => any = ...

    Type Declaration

      • (introspection: any, issuer: unknown, audience: unknown, now: number): any
      • Builds the claims of the response JWT.

        A token that is not active is reduced to exactly { active: false }, whatever the introspection object held.

        Parameters

        • introspection: any

          the RFC 7662 introspection object

        • issuer: unknown

          the authorization server's issuer

        • audience: unknown

          the resource server's client_id

        • now: number

          the issue time, in seconds

        Returns any

        { iss, aud, iat, token_introspection }