@advanced-rest-client/oauth-authorization
Advanced tools
Comparing version 3.0.0-preview.1 to 3.0.0-preview.2
@@ -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
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