Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-jwks

Package Overview
Dependencies
Maintainers
4
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-jwks - npm Package Compare versions

Comparing version 9.0.0 to 9.0.1

8

package.json
{
"name": "get-jwks",
"version": "9.0.0",
"version": "9.0.1",
"description": "Fetch utils for JWKS keys",

@@ -40,3 +40,3 @@ "main": "src/get-jwks.js",

"devDependencies": {
"@fastify/jwt": "^7.0.0",
"@fastify/jwt": "^8.0.0",
"@types/node": "^20.0.0",

@@ -50,7 +50,7 @@ "@types/node-fetch": "^2.6.2",

"prettier": "^3.0.0",
"sinon": "^16.0.0",
"sinon": "^17.0.0",
"tap": "^16.0.0",
"tsd": "^0.29.0",
"tsd": "^0.30.0",
"typescript": "^5.0.2"
}
}
import type { LRUCache } from 'lru-cache'
import type { Agent } from 'https'
type JWKSignature = { domain: string; alg: string; kid: string }
type JWK = { [key: string]: any; domain: string; alg: string; kid: string }
export type JWKSignature = { domain: string; alg: string; kid: string }
export type JWK = { [key: string]: any; domain: string; alg: string; kid: string }
type GetPublicKeyOptions = {
export type GetPublicKeyOptions = {
domain?: string

@@ -13,3 +13,3 @@ alg?: string

type GetJwksOptions = {
export type GetJwksOptions = {
max?: number

@@ -24,3 +24,3 @@ ttl?: number

type GetJwks = {
export type GetJwks = {
getPublicKey: (options?: GetPublicKeyOptions) => Promise<string>

@@ -27,0 +27,0 @@ getJwk: (signature: JWKSignature) => Promise<JWK>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc