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

@jmondi/oauth2-server

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jmondi/oauth2-server - npm Package Compare versions

Comparing version 3.0.0-alpha.9 to 3.0.0-alpha.10

2

dist/grants/abstract/abstract.grant.js

@@ -17,3 +17,3 @@ import { isClientConfidential } from "../../entities/client.entity.js";

notBeforeLeeway: 0,
tokenCID: "name",
tokenCID: "id",
};

@@ -20,0 +20,0 @@ authCodeRepository;

@@ -10,5 +10,6 @@ import { AbstractGrant } from "./abstract/abstract.grant.js";

const accessToken = await this.issueAccessToken(accessTokenTTL, client, user, validScopes);
return await this.makeBearerTokenResponse(client, accessToken, validScopes);
const extraJwtFields = await this.jwt.extraTokenFields?.({ user, client });
return await this.makeBearerTokenResponse(client, accessToken, validScopes, extraJwtFields);
}
}
//# sourceMappingURL=client_credentials.grant.js.map
{
"version": "3.0.0-alpha.9",
"version": "3.0.0-alpha.10",
"name": "@jmondi/oauth2-server",

@@ -4,0 +4,0 @@ "author": "Jason Raimondi <jason@raimondi.us>",

@@ -41,3 +41,3 @@ import { AuthorizationServerOptions } from "../../authorization_server.js";

notBeforeLeeway: 0,
tokenCID: "name",
tokenCID: "id",
};

@@ -44,0 +44,0 @@

@@ -20,4 +20,6 @@ import { RequestInterface } from "../requests/request.js";

return await this.makeBearerTokenResponse(client, accessToken, validScopes);
const extraJwtFields = await this.jwt.extraTokenFields?.({ user, client });
return await this.makeBearerTokenResponse(client, accessToken, validScopes, extraJwtFields);
}
}

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