Socket
Socket
Sign inDemoInstall

@next-auth/dgraph-adapter

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@next-auth/dgraph-adapter - npm Package Compare versions

Comparing version 0.2.2-pr.317-2f2112e3.314 to 0.2.2-pr.317-4724b1ae.318

20

dist/client.d.ts

@@ -1,8 +0,22 @@

export declare type DgraphJwtAlgorithm = "HS256" | "RS256";
export interface DgraphClientParams {
endpoint: string;
/** `X-Auth-Token` header value */
/**
* `X-Auth-Token` header value
*
* [Dgraph Cloud Authentication](https://dgraph.io/docs/cloud/cloud-api/overview/#dgraph-cloud-authentication)
*/
authToken: string;
/** [Using JWT and authorization claims](https://dgraph.io/docs/graphql/authorization/authorization-overview#using-jwts-and-authorization-claims) */
jwtSecret?: string;
jwtAlgorithm?: DgraphJwtAlgorithm;
/**
* @default "RS256"
*
* [Using JWT and authorization claims](https://dgraph.io/docs/graphql/authorization/authorization-overview#using-jwts-and-authorization-claims)
*/
jwtAlgorithm?: "HS256" | "RS256";
/**
* @default "Authorization"
*
* [Using JWT and authorization claims](https://dgraph.io/docs/graphql/authorization/authorization-overview#using-jwts-and-authorization-claims)
*/
authHeader?: string;

@@ -9,0 +23,0 @@ }

2

dist/index.d.ts
import { format } from "./utils";
import type { Adapter } from "next-auth/adapters";
import type { DgraphClientParams } from "./client";
export type { DgraphClientParams, DgraphClientError } from "./client";
export interface DgraphAdapterOptions {

@@ -12,4 +13,3 @@ fragments?: {

}
export type { DgraphClientParams };
export { format };
export declare function DgraphAdapter(client: DgraphClientParams, options?: DgraphAdapterOptions): Adapter;
{
"name": "@next-auth/dgraph-adapter",
"version": "0.2.2-pr.317-2f2112e3.314+2f2112e",
"version": "0.2.2-pr.317-4724b1ae.318+4724b1a",
"description": "Dgraph adapter for next-auth.",

@@ -47,3 +47,3 @@ "homepage": "https://next-auth.js.org",

},
"gitHead": "2f2112e350a76ab4430c29e1edc042547cd13b04"
"gitHead": "4724b1aeb556a970427f061f42ffb0d848b4a3b4"
}
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