@trimble-oss/trimble-id
Advanced tools
Comparing version 0.0.1 to 0.0.2-rc.1
@@ -236,3 +236,2 @@ 'use strict'; | ||
Accept: 'application/json', | ||
"X-User-Agent": imports.name + '/' + imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -239,0 +238,0 @@ }; |
@@ -58,3 +58,2 @@ 'use strict'; | ||
Authorization: 'Bearer ' + token, | ||
"X-User-Agent": imports.name + '/' + imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -61,0 +60,0 @@ }; |
@@ -101,3 +101,2 @@ 'use strict'; | ||
Accept: 'application/json', | ||
"X-User-Agent": imports.name + '/' + imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -104,0 +103,0 @@ }; |
@@ -204,3 +204,2 @@ 'use strict'; | ||
Accept: 'application/json', | ||
"X-User-Agent": this.imports.name + '/' + this.imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -223,3 +222,2 @@ }); | ||
accept: 'application/json', | ||
"X-User-Agent": imports.name + '/' + imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -243,3 +241,2 @@ }); | ||
Accept: 'application/json', | ||
"X-User-Agent": imports.name + '/' + imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -263,3 +260,2 @@ }); | ||
Accept: 'application/json', | ||
"X-User-Agent": imports.name + '/' + imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -283,3 +279,2 @@ }); | ||
Accept: 'application/json', | ||
"X-User-Agent": imports.name + '/' + imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -286,0 +281,0 @@ }); |
@@ -93,3 +93,2 @@ 'use strict'; | ||
Accept: 'application/json', | ||
"X-User-Agent": imports.name + '/' + imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -96,0 +95,0 @@ }; |
{ | ||
"name": "@trimble-oss/trimble-id", | ||
"version": "0.0.1", | ||
"version": "0.0.2-rc.1", | ||
"description": "Trimble Identity SDK for JavaScript/ TypeScript", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"axios": "^0.21.1", | ||
"axios": "^1.6.2", | ||
"btoa": "^1.2.1", | ||
@@ -28,0 +28,0 @@ "jsrsasign": "^10.2.0", |
# @trimble-oss/trimble-id | ||
Trimble Identity SDK for JavaScript/ TypeScript. | ||
Trimble Identity SDK developer documentation for JavaScript/ TypeScript. | ||
@@ -10,3 +10,3 @@ 📚 [Documentation](#documentation) - 🚀 [Getting Started](#getting-started) - 💬 [Support](#support) | ||
- [Developer guide](https://github.com/trimble-oss/trimble-id-sdk-docs-for-js/blob/main/docs/DeveloperGuide.md) - Our Dev guide to work with various authentication grant types and its providers. | ||
- [Reference documentation](https://github.com/trimble-oss/trimble-id-sdk-docs-for-js/blob/main/reference-guide) - Our code reference documentation generated from code comments. | ||
- [Reference documentation](https://github.com/trimble-oss/trimble-id-sdk-docs-for-js/blob/main/reference-guide) - Our code reference documentation for various grant token providers from code comments. | ||
- [Samples](https://github.com/trimble-oss/trimble-id-sdk-docs-for-js/blob/main/samples) - a code guided samples for all supporeted grant type token providers. | ||
@@ -30,5 +30,5 @@ - [FAQs](https://github.com/trimble-oss/trimble-id-sdk-docs-for-js/blob/main/docs/FAQ.md) - frequently asked questions answering the most common questions. | ||
To register your application in Trimble Developer Console: | ||
To register your service application in Trimble Developer Console: | ||
1. On the left pane select "Applications". | ||
1. On the left pane select Identity Management > Applications. | ||
@@ -57,6 +57,2 @@ 2. On the Applications home page, in the top right corner select + NEW APPLICATION. The Create Application page displays. | ||
**Scopes** | ||
Trimble Identity uses scopes to determine the aud claim in the returned access token. Scope is mandatory for the application to work. You can use the scope as the application name registered in the Trimble Developer Console. For example, if you have registered an application with the name "test", then it must be registered in the format {some_uuid}-"test". For eg., 12345678-1234-1234-1234-123456789012-test. | ||
For more information, see [Authentication documentation](https://developer.trimble.com/docs/authentication). | ||
@@ -70,2 +66,2 @@ | ||
Send email to [cloudplatform_support@trimble.com](mailto:cloudplatform_support@trimble.com) | ||
Send email to [cloudplatform_support@trimble.com](mailto:cloudplatform_support@trimble.com) |
@@ -252,3 +252,2 @@ 'use strict'; | ||
Accept: 'application/json', | ||
"X-User-Agent": imports.name + '/' + imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -295,3 +294,2 @@ }; | ||
Accept: 'application/json', | ||
"X-User-Agent": imports.name + '/' + imports.version + ' ' + '(js-sdk)' | ||
} | ||
@@ -298,0 +296,0 @@ }; |
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
153706
3044
64
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.9(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
- Removedaxios@0.21.4(transitive)
Updatedaxios@^1.6.2