authentication-adal-pkg
Advanced tools
Comparing version 1.0.30 to 1.0.31
@@ -140,3 +140,17 @@ 'use strict'; | ||
}; | ||
var signoutServer = function signoutServer() { | ||
var xhr = new XMLHttpRequest(); | ||
setPlatformRedirectUri(getPlatform()); | ||
var url = | ||
'https://login.windows.net/' + | ||
tenant + | ||
'/oauth2/logout?post_logout_redirect_uri=' + | ||
platformRedirectUri; | ||
xhr.open('GET', url, true); | ||
xhr.onreadystatechange = function() { | ||
if (xhr.readyState == 4) { | ||
} | ||
}; | ||
xhr.send(); | ||
}; | ||
var signOutMobile = function signOutMobile() { | ||
@@ -149,2 +163,4 @@ return new Promise(function(resolve, reject) { | ||
authContext.tokenCache.clear(); | ||
signoutServer(); | ||
resolve(); | ||
@@ -151,0 +167,0 @@ } catch (err) { |
{ | ||
"name": "authentication-adal-pkg", | ||
"version": "1.0.30", | ||
"version": "1.0.31", | ||
"description": "An authentication SDK based on MS ADAL ", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
68214
2070