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

@advanced-rest-client/oauth-authorization

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@advanced-rest-client/oauth-authorization - npm Package Compare versions

Comparing version 3.0.0-preview.1 to 3.0.0-preview.2

10

oauth1-authorization.js

@@ -45,3 +45,3 @@ /**

| `signatureMethod` | `String` | One of `PLAINTEXT`, `HMAC-SHA1`, `RSA-SHA1` |
| `requestTokenUrl` | `String` | Token request URI. Optional for before request. Required for authorization |
| `requestTokenUri` | `String` | Token request URI. Optional for before request. Required for authorization |
| `accessTokenUri` | `String` | Access token request URI. Optional for before request. Required for authorization |

@@ -129,3 +129,3 @@ | `authorizationUri` | `String` | User dialog URL. |

*/
requestTokenUrl: String,
requestTokenUri: String,
/**

@@ -337,4 +337,4 @@ * Oauth 1 token exchange endpoint

}
if (params.requestTokenUrl) {
this.requestTokenUrl = params.requestTokenUrl;
if (params.requestTokenUri) {
this.requestTokenUri = params.requestTokenUri;
}

@@ -1026,3 +1026,3 @@ if (params.accessTokenUri) {

const method = this.authTokenMethod;
return this._performRequest(null, null, method, this.requestTokenUrl, extraParams)
return this._performRequest(null, null, method, this.requestTokenUri, extraParams)
.then((response) => {

@@ -1029,0 +1029,0 @@ if (!response.response) {

@@ -15,3 +15,3 @@ {

"name": "@advanced-rest-client/oauth-authorization",
"version": "3.0.0-preview.1",
"version": "3.0.0-preview.2",
"license": "Apache-2.0",

@@ -18,0 +18,0 @@ "devDependencies": {

@@ -151,3 +151,3 @@ [![Published on NPM](https://img.shields.io/npm/v/@advanced-rest-client/oauth-authorization.svg)](https://www.npmjs.com/package/@advanced-rest-client/oauth-authorization)

| `signatureMethod` | `String` | One of `PLAINTEXT`, `HMAC-SHA1`, `RSA-SHA1` |
| `requestTokenUrl` | `String` | Token request URI. Optional for before request. Required for authorization |
| `requestTokenUri` | `String` | Token request URI. Optional for before request. Required for authorization |
| `accessTokenUri` | `String` | Access token request URI. Optional for before request. Required for authorization |

@@ -154,0 +154,0 @@ | `authorizationUri` | `String` | User dialog URL. |

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