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

@foxiko/client

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foxiko/client - npm Package Compare versions

Comparing version 1.0.87 to 1.0.88

19

identity/IdentityServer.js

@@ -79,3 +79,3 @@ const {OAuthCredentials} = require("@foxiko/oauth/OAuthServer");

credentials.scope = result.scope;
credentials.expires = result.expires;
credentials.expires = new Date(result.expires);
credentials.token = result.token;

@@ -93,3 +93,18 @@ credentials.tokenType = result.token_type;

async _findRefreshToken(refreshToken) {
const result = await this.handler.findRefreshToken(refreshToken);
const credentials = new OAuthCredentials({
client_id: result.client.client_id,
client_secret: null,
data: result.client,
request_data: {},
scope: result.scope.join(" "),
handler: this,
announce: false
});
credentials.scope = result.scope;
credentials.expires = new Date(result.expires);
credentials.token = result.token;
credentials.tokenType = result.token_type;
credentials.refreshToken = result.refresh_token;
return credentials;
}

@@ -96,0 +111,0 @@

2

package.json
{
"name": "@foxiko/client",
"version": "1.0.87",
"version": "1.0.88",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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