cidaas-javascript-sdk 2.1.1 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +1 -1
- package/src/main/web-auth/webauth.js +1 -1
package/README.md
CHANGED
|
@@ -770,7 +770,8 @@ This method takes an object as input.
|
|
|
770
770
|
options = {
|
|
771
771
|
sub: "7e4f79a9-cfbc-456d-936a-e6bc1de2d4b9",
|
|
772
772
|
requestId: "7d86460b-8288-4341-aed1- 10dd27a4565c",
|
|
773
|
-
accept-language: "en"
|
|
773
|
+
accept-language: "en",
|
|
774
|
+
access_token: "your_access_token"
|
|
774
775
|
}
|
|
775
776
|
```
|
|
776
777
|
|
package/package.json
CHANGED
|
@@ -1761,7 +1761,7 @@ WebAuth.prototype.initiateVerification = function (options) {
|
|
|
1761
1761
|
// deleteUserAccount
|
|
1762
1762
|
WebAuth.prototype.deleteUserAccount = function (options) {
|
|
1763
1763
|
var _serviceURL = window.webAuthSettings.authority + "/users-srv/user/unregister/scheduler/schedule/" + options.sub;
|
|
1764
|
-
return createPostPromise(options, _serviceURL, undefined);
|
|
1764
|
+
return createPostPromise(options, _serviceURL, undefined, options.access_token);
|
|
1765
1765
|
};
|
|
1766
1766
|
|
|
1767
1767
|
// getMissingFieldsLogin
|