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

@neo4j/graphql-plugin-auth

Package Overview
Dependencies
Maintainers
7
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo4j/graphql-plugin-auth - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

dist/Neo4jGraphQLAuthJWKSPlugin.d.ts

@@ -6,2 +6,3 @@ import { JwksClient } from "jwks-rsa";

globalAuthentication?: boolean;
bindPredicate?: "all" | "any";
}

@@ -12,2 +13,3 @@ declare class Neo4jGraphQLAuthJWKSPlugin {

client: JwksClient;
bindPredicate: "all" | "any";
constructor(input: JWKSPluginInput);

@@ -14,0 +16,0 @@ decode<T>(token: string): Promise<T | undefined>;

@@ -33,2 +33,3 @@ "use strict";

this.isGlobalAuthenticationEnabled = input.globalAuthentication || false;
this.bindPredicate = input.bindPredicate || "all";
const options = {

@@ -35,0 +36,0 @@ jwksUri: input.jwksEndpoint,

@@ -7,2 +7,3 @@ import jsonwebtoken from "jsonwebtoken";

rolesPath?: string;
bindPredicate?: "all" | "any";
}

@@ -14,2 +15,3 @@ declare class Neo4jGraphQLAuthJWTPlugin {

isGlobalAuthenticationEnabled?: boolean;
bindPredicate: "all" | "any";
constructor(input: JWTPluginInput);

@@ -16,0 +18,0 @@ decode<T>(token: string): Promise<T | undefined>;

@@ -34,2 +34,3 @@ "use strict";

this.isGlobalAuthenticationEnabled = input.globalAuthentication || false;
this.bindPredicate = input.bindPredicate || "all";
if (this.noVerify && this.isGlobalAuthenticationEnabled) {

@@ -36,0 +37,0 @@ throw new Error("Neo4jGraphQLAuthJWTPlugin, noVerify and globalAuthentication can not both be enabled simultaneously.");

14

package.json
{
"name": "@neo4j/graphql-plugin-auth",
"version": "1.1.0",
"version": "1.1.1",
"description": "Auth decode plugins for @neo4j/graphql",

@@ -34,13 +34,13 @@ "keywords": [

"jsonwebtoken": "^8.5.1",
"jwks-rsa": "^2.1.4"
"jwks-rsa": "^3.0.0"
},
"devDependencies": {
"@types/debug": "4.1.7",
"@types/jest": "28.1.7",
"@types/jest": "29.2.4",
"@types/jsonwebtoken": "8.5.9",
"@types/node": "16.11.56",
"jest": "28.1.3",
"ts-jest": "28.0.8",
"typescript": "4.7.4"
"@types/node": "18.11.10",
"jest": "29.3.1",
"ts-jest": "29.0.3",
"typescript": "4.9.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

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