@azure/msal-common
Advanced tools
Comparing version 7.3.0 to 7.4.0
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /*! ***************************************************************************** |
@@ -10,2 +10,3 @@ import { TokenClaims } from "./TokenClaims"; | ||
* - name - Full name for the account, including given name and family name | ||
* - idToken - raw ID token | ||
* - idTokenClaims - Object contains claims from ID token | ||
@@ -22,2 +23,3 @@ * - localAccountId - The user's account ID | ||
name?: string; | ||
idToken?: string; | ||
idTokenClaims?: TokenClaims & { | ||
@@ -24,0 +26,0 @@ [key: string]: string | number | string[] | object | undefined | unknown; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ClientAuthError } from '../error/ClientAuthError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,6 +0,6 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
import { ClientAuthError } from '../error/ClientAuthError.js'; | ||
import { StringUtils } from '../utils/StringUtils.js'; | ||
import { Constants, Separators } from '../utils/Constants.js'; | ||
import { Separators, Constants } from '../utils/Constants.js'; | ||
@@ -25,3 +25,3 @@ /* | ||
catch (e) { | ||
throw ClientAuthError.createClientInfoDecodingError(e); | ||
throw ClientAuthError.createClientInfoDecodingError(e.message); | ||
} | ||
@@ -28,0 +28,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator, __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -41,2 +41,3 @@ import { __awaiter, __generator, __extends } from '../_virtual/_tslib.js'; | ||
if (idToken && !accountInfo.idTokenClaims) { | ||
accountInfo.idToken = idToken.secret; | ||
accountInfo.idTokenClaims = new AuthToken(idToken.secret, _this.cryptoImpl).claims; | ||
@@ -43,0 +44,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { Separators, CacheAccountType, CacheType, Constants } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { Separators, APP_METADATA } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { AUTHORITY_METADATA_CONSTANTS } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { CredentialType, CacheType, Constants, Separators, AuthenticationScheme } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { SERVER_TELEM_CONSTANTS } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ThrottlingConstants } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign, __spreadArrays } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __assign, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { JoseHeaderError } from '../error/JoseHeaderError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator, __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -21,2 +21,3 @@ /** | ||
export { CcsCredential, CcsCredentialType } from "./account/CcsCredential"; | ||
export { ClientInfo, buildClientInfo, buildClientInfoFromHomeAccountId } from "./account/ClientInfo"; | ||
export { Authority } from "./authority/Authority"; | ||
@@ -77,3 +78,3 @@ export { AuthorityOptions, AzureCloudInstance } from "./authority/AuthorityOptions"; | ||
export { ClientConfigurationError, ClientConfigurationErrorMessage } from "./error/ClientConfigurationError"; | ||
export { Constants, OIDC_DEFAULT_SCOPES, PromptValue, PersistentCacheKeys, ResponseMode, CacheSchemaType, CredentialType, CacheType, CacheAccountType, AuthenticationScheme } from "./utils/Constants"; | ||
export { Constants, OIDC_DEFAULT_SCOPES, PromptValue, PersistentCacheKeys, ResponseMode, CacheSchemaType, CredentialType, CacheType, CacheAccountType, AuthenticationScheme, CodeChallengeMethodValues } from "./utils/Constants"; | ||
export { StringUtils } from "./utils/StringUtils"; | ||
@@ -80,0 +81,0 @@ export { StringDict } from "./utils/MsalTypes"; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -13,2 +13,3 @@ export { AuthorizationCodeClient } from './client/AuthorizationCodeClient.js'; | ||
export { CcsCredentialType } from './account/CcsCredential.js'; | ||
export { buildClientInfo, buildClientInfoFromHomeAccountId } from './account/ClientInfo.js'; | ||
export { Authority } from './authority/Authority.js'; | ||
@@ -44,3 +45,3 @@ export { AzureCloudInstance } from './authority/AuthorityOptions.js'; | ||
export { ClientConfigurationError, ClientConfigurationErrorMessage } from './error/ClientConfigurationError.js'; | ||
export { AuthenticationScheme, CacheAccountType, CacheSchemaType, CacheType, Constants, CredentialType, OIDC_DEFAULT_SCOPES, PersistentCacheKeys, PromptValue, ResponseMode } from './utils/Constants.js'; | ||
export { AuthenticationScheme, CacheAccountType, CacheSchemaType, CacheType, CodeChallengeMethodValues, Constants, CredentialType, OIDC_DEFAULT_SCOPES, PersistentCacheKeys, PromptValue, ResponseMode } from './utils/Constants.js'; | ||
export { StringUtils } from './utils/StringUtils.js'; | ||
@@ -47,0 +48,0 @@ export { ProtocolUtils } from './utils/ProtocolUtils.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { StringUtils } from '../utils/StringUtils.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { AuthError } from '../error/AuthError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ThrottlingConstants, CacheSchemaType, Constants, HeaderNames } from '../utils/Constants.js'; |
export declare const name = "@azure/msal-common"; | ||
export declare const version = "7.3.0"; | ||
export declare const version = "7.4.0"; | ||
//# sourceMappingURL=packageMetadata.d.ts.map |
@@ -1,8 +0,8 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
/* eslint-disable header/header */ | ||
var name = "@azure/msal-common"; | ||
var version = "7.3.0"; | ||
var version = "7.4.0"; | ||
export { name, version }; | ||
//# sourceMappingURL=packageMetadata.js.map |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ClientConfigurationError } from '../error/ClientConfigurationError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __spreadArrays } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { StringUtils } from '../utils/StringUtils.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __spreadArrays } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __assign } from '../../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { SERVER_TELEM_CONSTANTS, CacheOutcome, Constants, Separators } from '../../utils/Constants.js'; |
@@ -52,2 +52,7 @@ import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse"; | ||
static parseHash(hashString: string): string; | ||
/** | ||
* Parses query string from given string. Returns empty string if no query symbol is found. | ||
* @param queryString | ||
*/ | ||
static parseQueryString(queryString: string): string; | ||
static constructAuthorityUriFromObject(urlObject: IUri): UrlString; | ||
@@ -59,2 +64,6 @@ /** | ||
/** | ||
* Returns URL query string as server auth code response object. | ||
*/ | ||
static getDeserializedQueryString(query: string): ServerAuthorizationCodeResponse; | ||
/** | ||
* Check if the hash of the URL string contains known properties | ||
@@ -61,0 +70,0 @@ */ |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -169,2 +169,17 @@ import { ClientConfigurationError } from '../error/ClientConfigurationError.js'; | ||
}; | ||
/** | ||
* Parses query string from given string. Returns empty string if no query symbol is found. | ||
* @param queryString | ||
*/ | ||
UrlString.parseQueryString = function (queryString) { | ||
var queryIndex1 = queryString.indexOf("?"); | ||
var queryIndex2 = queryString.indexOf("/?"); | ||
if (queryIndex2 > -1) { | ||
return queryString.substring(queryIndex2 + 2); | ||
} | ||
else if (queryIndex1 > -1) { | ||
return queryString.substring(queryIndex1 + 1); | ||
} | ||
return Constants.EMPTY_STRING; | ||
}; | ||
UrlString.constructAuthorityUriFromObject = function (urlObject) { | ||
@@ -192,2 +207,20 @@ return new UrlString(urlObject.Protocol + "//" + urlObject.HostNameAndPort + "/" + urlObject.PathSegments.join("/")); | ||
/** | ||
* Returns URL query string as server auth code response object. | ||
*/ | ||
UrlString.getDeserializedQueryString = function (query) { | ||
// Check if given query is empty | ||
if (StringUtils.isEmpty(query)) { | ||
return {}; | ||
} | ||
// Strip the ? symbol if present | ||
var parsedQueryString = UrlString.parseQueryString(query); | ||
// If ? symbol was not present, above will return empty string, so give original query value | ||
var deserializedQueryString = StringUtils.queryStringToObject(StringUtils.isEmpty(parsedQueryString) ? query : parsedQueryString); | ||
// Check if deserialization didn't work | ||
if (!deserializedQueryString) { | ||
throw ClientAuthError.createHashNotDeserializedError(JSON.stringify(deserializedQueryString)); | ||
} | ||
return deserializedQueryString; | ||
}; | ||
/** | ||
* Check if the hash of the URL string contains known properties | ||
@@ -194,0 +227,0 @@ */ |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -54,3 +54,3 @@ import { __spreadArrays } from '../_virtual/_tslib.js'; | ||
ID_TOKEN_RESPONSE_TYPE: "id_token", | ||
SHR_NONCE_VALIDITY: 240, | ||
SHR_NONCE_VALIDITY: 240 | ||
}; | ||
@@ -57,0 +57,0 @@ var OIDC_DEFAULT_SCOPES = [ |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { StringUtils } from './StringUtils.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ClientAuthError } from '../error/ClientAuthError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v7.3.0 2022-08-01 */ | ||
/*! @azure/msal-common v7.4.0 2022-09-06 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "7.3.0", | ||
"version": "7.4.0", | ||
"description": "Microsoft Authentication Library for js", | ||
@@ -16,0 +16,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2543864
23179