iya-sts
    Preparing search index...
    intendedFor: (answer: any, clientId: unknown, base: string) => boolean = ...

    Type Declaration

      • (answer: any, clientId: unknown, base: string): boolean
      • Tells whether an active token was intended for the resource server asking about it.

        It is when it is the caller's own token, when an aud value is this service's default resource indicator, or when an aud value names the caller's entry. Otherwise the caller is answered as for an invalid token.

        Parameters

        • answer: any

          the RFC 7662 introspection object

        • clientId: unknown

          the authenticated caller's client_id

        • base: string

          the request's base URL

        Returns boolean

        true when the caller may be told about the token