@neo4j/graphql-plugin-auth
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -9,2 +9,4 @@ import type JwksRsa from "jwks-rsa"; | ||
bindPredicate?: "all" | "any"; | ||
issuer?: string | string[]; | ||
audience?: string | RegExp | (string | RegExp)[]; | ||
} | ||
@@ -11,0 +13,0 @@ declare class Neo4jGraphQLAuthJWKSPlugin { |
@@ -90,2 +90,4 @@ "use strict"; | ||
algorithms: ["HS256", "RS256"], | ||
issuer: this.input.issuer, | ||
audience: this.input.audience, | ||
}, (err, decoded) => { | ||
@@ -92,0 +94,0 @@ if (err) { |
@@ -9,2 +9,4 @@ import jsonwebtoken from "jsonwebtoken"; | ||
bindPredicate?: "all" | "any"; | ||
issuer?: string | string[]; | ||
audience?: string | RegExp | (string | RegExp)[]; | ||
} | ||
@@ -11,0 +13,0 @@ declare class Neo4jGraphQLAuthJWTPlugin { |
@@ -60,2 +60,4 @@ "use strict"; | ||
algorithms: ["HS256", "RS256"], | ||
issuer: this.input.issuer, | ||
audience: this.input.audience, | ||
}); | ||
@@ -62,0 +64,0 @@ } |
{ | ||
"name": "@neo4j/graphql-plugin-auth", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Auth decode plugins for @neo4j/graphql", | ||
@@ -38,9 +38,9 @@ "keywords": [ | ||
"@types/debug": "4.1.7", | ||
"@types/jest": "29.2.6", | ||
"@types/jest": "29.5.0", | ||
"@types/jsonwebtoken": "9.0.1", | ||
"@types/node": "18.11.17", | ||
"jest": "29.3.1", | ||
"ts-jest": "29.0.5", | ||
"typescript": "4.9.4" | ||
"@types/node": "18.15.1", | ||
"jest": "29.5.0", | ||
"ts-jest": "29.1.0", | ||
"typescript": "5.0.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34438
297