Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

authentication-adal-pkg

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authentication-adal-pkg - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

42

authentication.js

@@ -14,17 +14,17 @@ window.AuthenticationContext = require('adal-angular');

};
let authority = null;
let tenant = null;
let redirectUriWeb = null;
let redirectUriIOS = null;
let redirectUriAndroid = null;
let redirectUriWindows = null;
let resourceUri = null;
let clientId = null;
let userId = null;
let authenticationResult = null;
let auth = null;
let authContext = null;
let platformRedirectUri = null;
let localError = '';
let user = {};
var authority = null;
var tenant = null;
var redirectUriWeb = null;
var redirectUriIOS = null;
var redirectUriAndroid = null;
var redirectUriWindows = null;
var resourceUri = null;
var clientId = null;
var userId = null;
var authenticationResult = null;
var auth = null;
var authContext = null;
var platformRedirectUri = null;
var localError = '';
var user = {};

@@ -266,3 +266,3 @@ const initialize = (config) => {

return acquireToken(getUser).then((token) => {
let {family_name, given_name, name, upn} = decodeTokenPayload(token);
var {family_name, given_name, name, upn} = decodeTokenPayload(token);
if (!upn) {

@@ -285,3 +285,3 @@ upn = decodeTokenPayload(token).email;

if(token){
let {family_name, given_name, name, upn} = decodeTokenPayload(token);
var {family_name, given_name, name, upn} = decodeTokenPayload(token);
if (!upn) {

@@ -301,3 +301,3 @@ upn = decodeTokenPayload(token).email;

function deserializeHash(query) {
let match;
var match;
const pl = /\+/g; // Regex for replacing addition symbol with a space

@@ -316,3 +316,3 @@ const search = /([^&=]+)=?([^&]*)/g;

function getHash(hash) {
let hashString = '';
var hashString = '';
if (hash.indexOf('#/') > -1) {

@@ -346,5 +346,5 @@ hashString = hash.substring(hash.indexOf('#/') + 2);

const state = getParameter('state');
let validToken = true;
var validToken = true;
if (token) {
let {
var {
nonce,

@@ -351,0 +351,0 @@ aud,

@@ -14,17 +14,17 @@ window.AuthenticationContext = require('adal-angular');

};
let authority = null;
let tenant = null;
let redirectUriWeb = null;
let redirectUriIOS = null;
let redirectUriAndroid = null;
let redirectUriWindows = null;
let resourceUri = null;
let clientId = null;
let userId = null;
let authenticationResult = null;
let auth = null;
let authContext = null;
let platformRedirectUri = null;
let localError = '';
let user = {};
var authority = null;
var tenant = null;
var redirectUriWeb = null;
var redirectUriIOS = null;
var redirectUriAndroid = null;
var redirectUriWindows = null;
var resourceUri = null;
var clientId = null;
var userId = null;
var authenticationResult = null;
var auth = null;
var authContext = null;
var platformRedirectUri = null;
var localError = '';
var user = {};

@@ -266,3 +266,3 @@ const initialize = (config) => {

return acquireToken(getUser).then((token) => {
let {family_name, given_name, name, upn} = decodeTokenPayload(token);
var {family_name, given_name, name, upn} = decodeTokenPayload(token);
if (!upn) {

@@ -285,3 +285,3 @@ upn = decodeTokenPayload(token).email;

if(token){
let {family_name, given_name, name, upn} = decodeTokenPayload(token);
var {family_name, given_name, name, upn} = decodeTokenPayload(token);
if (!upn) {

@@ -301,3 +301,3 @@ upn = decodeTokenPayload(token).email;

function deserializeHash(query) {
let match;
var match;
const pl = /\+/g; // Regex for replacing addition symbol with a space

@@ -316,3 +316,3 @@ const search = /([^&=]+)=?([^&]*)/g;

function getHash(hash) {
let hashString = '';
var hashString = '';
if (hash.indexOf('#/') > -1) {

@@ -346,5 +346,5 @@ hashString = hash.substring(hash.indexOf('#/') + 2);

const state = getParameter('state');
let validToken = true;
var validToken = true;
if (token) {
let {
var {
nonce,

@@ -351,0 +351,0 @@ aud,

@@ -14,18 +14,18 @@ window.AuthenticationContext = require('adal-angular');

};
let authority = null;
let tenant = null;
let redirectUriWeb = null;
let redirectUriIOS = null;
let redirectUriAndroid = null;
let redirectUriWindows = null;
let resourceUri = null;
let loginResource = null;
let clientId = null;
let userId = null;
let authenticationResult = null;
let auth = null;
let authContext = null;
let platformRedirectUri = null;
let localError = '';
let user = {};
var authority = null;
var tenant = null;
var redirectUriWeb = null;
var redirectUriIOS = null;
var redirectUriAndroid = null;
var redirectUriWindows = null;
var resourceUri = null;
var loginResource = null;
var clientId = null;
var userId = null;
var authenticationResult = null;
var auth = null;
var authContext = null;
var platformRedirectUri = null;
var localError = '';
var user = {};

@@ -269,3 +269,3 @@ const initialize = (config) => {

return acquireToken(getUser).then((token) => {
let {family_name, given_name, name, upn} = decodeTokenPayload(token);
var {family_name, given_name, name, upn} = decodeTokenPayload(token);
if (!upn) {

@@ -288,3 +288,3 @@ upn = decodeTokenPayload(token).email;

if(token){
let {family_name, given_name, name, upn} = decodeTokenPayload(token);
var {family_name, given_name, name, upn} = decodeTokenPayload(token);
if (!upn) {

@@ -304,3 +304,3 @@ upn = decodeTokenPayload(token).email;

function deserializeHash(query) {
let match;
var match;
const pl = /\+/g; // Regex for replacing addition symbol with a space

@@ -319,3 +319,3 @@ const search = /([^&=]+)=?([^&]*)/g;

function getHash(hash) {
let hashString = '';
var hashString = '';
if (hash.indexOf('#/') > -1) {

@@ -349,5 +349,5 @@ hashString = hash.substring(hash.indexOf('#/') + 2);

const state = getParameter('state');
let validToken = true;
var validToken = true;
if (token) {
let {
var {
nonce,

@@ -354,0 +354,0 @@ aud,

{
"name": "authentication-adal-pkg",
"version": "1.0.0",
"version": "1.0.1",
"description": "An authentication SDK based on MS ADAL ",
"main": "authentication.js",
"main": "lib/index.js",
"scripts": {

@@ -7,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc