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.57 to 1.0.58

36

identity/IdentityServer.js

@@ -56,28 +56,18 @@ const {IDENTITY} = require("../Networking");

return null;
// const data = await this.client.request()
// .url(`${IDENTITY.SECURITY.TOKEN.REGISTER}`)
// .body({
// client_id: credentials.clientId,
// scope: credentials.scope,
// access_token: credentials.token,
// refresh_token: credentials.refreshToken,
// token_type: credentials.tokenType,
// expires: credentials.getExpiration(),
// data: credentials.data,
// })
// .responseType().json()
// .send();
// if(data['valid'] === undefined) {
// throw data['error'];
// }
// if(!data['valid']) {
// return false;
// }
// return data['scope'].join(" ");
}
async _updateToken(credentials) {
return null;
}
async _registerAuthorization(authorization) {
return null;
}
async _updateAuthorization(authorization) {
return null;
}
async _findToken(accessToken) {
}
async _findAuthorization(code) {
}
async _findRefreshToken(refreshToken) {

@@ -112,2 +102,3 @@

findRefreshToken: (token) => this._findRefreshToken(token),
findAuthorization: (code) => this._findAuthorization(code),
});

@@ -117,2 +108,5 @@ this.client = client;

this.on("new_access_token", credentials => this._registerToken(credentials));
this.on("update_access_token", credentials => this._updateToken(credentials));
this.on("new_authorization", authorzation => this._registerAuthorization(authorzation));
this.on("update_authorization", authorzation => this._updateAuthorization(authorzation));
}

@@ -119,0 +113,0 @@

{
"name": "@foxiko/client",
"version": "1.0.57",
"version": "1.0.58",
"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