@lgriffin/esi.ts - EVE Online ESI API Client - v12.3.0
    Preparing search index...

    Class SsoJwks

    Fetches and caches EVE SSO's JSON Web Key Set. The set is reused for cacheTtlMs; a kid missing from the cached set triggers one refetch. Fetches start at most once per refetchCooldownMs whatever triggers them (an unknown kid, an expired cache, a failed earlier fetch), and concurrent fetches share one request. When a refetch fails, the last good key set stays in use.

    Share one instance across verifications; a fresh instance fetches the key set on its first use.

    Index
    • The RS256 public key for kid.

      Parameters

      • kid: string

      Returns Promise<KeyObject>

      TokenVerificationError unknown-key when the key set lacks kid after any refetch it allows, jwks-unavailable when no key set has been fetched