@jmondi/oauth2-server
Advanced tools
Comparing version 3.0.0-alpha.9 to 3.0.0-alpha.10
@@ -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
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
204586
3111