Updated SDKs

This commit is contained in:
Eldad Fux committed 2020-04-30 22:16:14 +03:00
1 parent 8a5e240131
commit ef8a4e8c62
33 files changed
+2420 -165

No files matched your search

@@ -5,6 +5,10 @@ sdk
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
;
let result = sdk.account.createOAuth2Session('bitbucket', 'https://example.com', 'https://example.com');
let promise = sdk.account.createOAuth2Session('bitbucket');
console.log(result); // Resource URL
promise.then(function (response) {
console.log(response); // Success
}, function (error) {
console.log(error); // Failure
});