authentication-adal-pkg
Advanced tools
Comparing version 1.0.19 to 1.0.20
@@ -293,3 +293,3 @@ 'use strict'; | ||
.then(function(authResult) { | ||
var token = authResult.idToken; | ||
var token = authResult.accessToken; | ||
var exp = new Date(authResult.expiresOn).getTime(); | ||
@@ -323,4 +323,4 @@ storage.set(constants.IN_PROGRESS, false); | ||
function(authResult) { | ||
var token = authResult.idToken; | ||
var exp = new Date(authResult.expiresOn).getTime(); | ||
var token = authResult.accessToken; | ||
var exp = authResult.expiresOn; | ||
storeToken(token, exp); | ||
@@ -335,4 +335,6 @@ resolve(authResult); | ||
.then(function(authResult) { | ||
var token = authResult.idToken; | ||
var token = authResult.accessToken; | ||
var exp = new Date(authResult.expiresOn).getTime(); | ||
var token = authResult.accessToken; | ||
var exp = authResult.expiresOn; | ||
storeToken(token, exp); | ||
@@ -339,0 +341,0 @@ resolve(authResult); |
{ | ||
"name": "authentication-adal-pkg", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"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
67138
2017