authentication-adal-pkg
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -292,7 +292,7 @@ 'use strict'; | ||
.then(function(authResult) { | ||
var idToken = authResult.idToken; | ||
var _decodeTokenPayload3 = decodeTokenPayload(idToken); | ||
var token = authResult.idToken; | ||
var _decodeTokenPayload3 = decodeTokenPayload(token); | ||
var exp = _decodeTokenPayload3.exp; | ||
storage.set(constants.IN_PROGRESS, false); | ||
storage.set(constants.TOKEN, idToken); | ||
storage.set(constants.TOKEN, token); | ||
storage.set(constants.TOKEN_EXPIRATION, exp); | ||
@@ -319,3 +319,3 @@ resolve(authResult); | ||
function(authResult) { | ||
var token = authResult.token; | ||
var token = authResult.idToken; | ||
if (isValtoken(token)) { | ||
@@ -322,0 +322,0 @@ var _decodeTokenPayload3 = decodeTokenPayload(token); |
{ | ||
"name": "authentication-adal-pkg", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"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
66354