@azure/msal-common
Advanced tools
Comparing version 13.1.0 to 13.2.0
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /*! ***************************************************************************** |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ClientAuthError } from '../error/ClientAuthError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ClientAuthError } from '../error/ClientAuthError.js'; |
@@ -144,2 +144,3 @@ import { AuthorityType } from "./AuthorityType"; | ||
* Update the retrieved metadata with regional information. | ||
* User selected Azure region will be used if configured. | ||
*/ | ||
@@ -146,0 +147,0 @@ private updateMetadataWithRegionalInformation; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -459,38 +459,31 @@ import { __awaiter, __generator, __assign } from '../_virtual/_tslib.js'; | ||
* Update the retrieved metadata with regional information. | ||
* User selected Azure region will be used if configured. | ||
*/ | ||
Authority.prototype.updateMetadataWithRegionalInformation = function (metadata) { | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
var _a, _b, _c, _d; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var autodetectedRegionName, azureRegion; | ||
return __generator(this, function (_h) { | ||
switch (_h.label) { | ||
var userConfiguredAzureRegion, autodetectedRegionName; | ||
return __generator(this, function (_e) { | ||
switch (_e.label) { | ||
case 0: | ||
(_a = this.performanceClient) === null || _a === void 0 ? void 0 : _a.addQueueMeasurement(PerformanceEvents.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId); | ||
(_b = this.performanceClient) === null || _b === void 0 ? void 0 : _b.setPreQueueTime(PerformanceEvents.RegionDiscoveryDetectRegion, this.correlationId); | ||
return [4 /*yield*/, this.regionDiscovery.detectRegion((_c = this.authorityOptions.azureRegionConfiguration) === null || _c === void 0 ? void 0 : _c.environmentRegion, this.regionDiscoveryMetadata)]; | ||
userConfiguredAzureRegion = (_b = this.authorityOptions.azureRegionConfiguration) === null || _b === void 0 ? void 0 : _b.azureRegion; | ||
if (!userConfiguredAzureRegion) return [3 /*break*/, 2]; | ||
if (userConfiguredAzureRegion !== Constants.AZURE_REGION_AUTO_DISCOVER_FLAG) { | ||
this.regionDiscoveryMetadata.region_outcome = RegionDiscoveryOutcomes.CONFIGURED_NO_AUTO_DETECTION; | ||
this.regionDiscoveryMetadata.region_used = userConfiguredAzureRegion; | ||
return [2 /*return*/, Authority.replaceWithRegionalInformation(metadata, userConfiguredAzureRegion)]; | ||
} | ||
(_c = this.performanceClient) === null || _c === void 0 ? void 0 : _c.setPreQueueTime(PerformanceEvents.RegionDiscoveryDetectRegion, this.correlationId); | ||
return [4 /*yield*/, this.regionDiscovery.detectRegion((_d = this.authorityOptions.azureRegionConfiguration) === null || _d === void 0 ? void 0 : _d.environmentRegion, this.regionDiscoveryMetadata)]; | ||
case 1: | ||
autodetectedRegionName = _h.sent(); | ||
azureRegion = ((_d = this.authorityOptions.azureRegionConfiguration) === null || _d === void 0 ? void 0 : _d.azureRegion) === Constants.AZURE_REGION_AUTO_DISCOVER_FLAG | ||
? autodetectedRegionName | ||
: (_e = this.authorityOptions.azureRegionConfiguration) === null || _e === void 0 ? void 0 : _e.azureRegion; | ||
if (((_f = this.authorityOptions.azureRegionConfiguration) === null || _f === void 0 ? void 0 : _f.azureRegion) === Constants.AZURE_REGION_AUTO_DISCOVER_FLAG) { | ||
this.regionDiscoveryMetadata.region_outcome = autodetectedRegionName ? | ||
RegionDiscoveryOutcomes.AUTO_DETECTION_REQUESTED_SUCCESSFUL : | ||
RegionDiscoveryOutcomes.AUTO_DETECTION_REQUESTED_FAILED; | ||
autodetectedRegionName = _e.sent(); | ||
if (autodetectedRegionName) { | ||
this.regionDiscoveryMetadata.region_outcome = RegionDiscoveryOutcomes.AUTO_DETECTION_REQUESTED_SUCCESSFUL; | ||
this.regionDiscoveryMetadata.region_used = autodetectedRegionName; | ||
return [2 /*return*/, Authority.replaceWithRegionalInformation(metadata, autodetectedRegionName)]; | ||
} | ||
else { | ||
if (autodetectedRegionName) { | ||
this.regionDiscoveryMetadata.region_outcome = (((_g = this.authorityOptions.azureRegionConfiguration) === null || _g === void 0 ? void 0 : _g.azureRegion) === autodetectedRegionName) ? | ||
RegionDiscoveryOutcomes.CONFIGURED_MATCHES_DETECTED : | ||
RegionDiscoveryOutcomes.CONFIGURED_NOT_DETECTED; | ||
} | ||
else { | ||
this.regionDiscoveryMetadata.region_outcome = RegionDiscoveryOutcomes.CONFIGURED_NO_AUTO_DETECTION; | ||
} | ||
} | ||
if (azureRegion) { | ||
this.regionDiscoveryMetadata.region_used = azureRegion; | ||
return [2 /*return*/, Authority.replaceWithRegionalInformation(metadata, azureRegion)]; | ||
} | ||
return [2 /*return*/, metadata]; | ||
this.regionDiscoveryMetadata.region_outcome = RegionDiscoveryOutcomes.AUTO_DETECTION_REQUESTED_FAILED; | ||
_e.label = 2; | ||
case 2: return [2 /*return*/, metadata]; | ||
} | ||
@@ -497,0 +490,0 @@ }); |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator, __assign, __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { Separators, CacheAccountType, CacheType, Constants } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { Separators, APP_METADATA } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { AUTHORITY_METADATA_CONSTANTS } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { CredentialType, CacheType, Separators, Constants, AuthenticationScheme } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { SERVER_TELEM_CONSTANTS } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ThrottlingConstants } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign, __spreadArrays } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -12,2 +12,3 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; | ||
import { CacheOutcome } from '../utils/Constants.js'; | ||
import { StringUtils } from '../utils/StringUtils.js'; | ||
@@ -56,7 +57,7 @@ /* | ||
SilentFlowClient.prototype.acquireCachedToken = function (request) { | ||
var _a, _b, _c, _d; | ||
var _a, _b, _c, _d, _e; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var environment, cacheRecord; | ||
return __generator(this, function (_e) { | ||
switch (_e.label) { | ||
return __generator(this, function (_f) { | ||
switch (_f.label) { | ||
case 0: | ||
@@ -73,2 +74,8 @@ // Cannot renew token if no request object is given. | ||
} | ||
else if (!this.config.cacheOptions.claimsBasedCachingEnabled && !StringUtils.isEmptyObj(request.claims)) { | ||
// Must refresh due to presence of claims in request preventing cache lookup | ||
(_b = this.serverTelemetryManager) === null || _b === void 0 ? void 0 : _b.setCacheOutcome(CacheOutcome.CLAIMS_REQUESTED_CACHE_SKIPPED); | ||
this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because claims-based caching is disabled and claims were requested."); | ||
throw ClientAuthError.createRefreshRequiredError(); | ||
} | ||
// We currently do not support silent flow for account === null use cases; This will be revisited for confidential flow usecases | ||
@@ -82,3 +89,3 @@ if (!request.account) { | ||
// Must refresh due to non-existent access_token. | ||
(_b = this.serverTelemetryManager) === null || _b === void 0 ? void 0 : _b.setCacheOutcome(CacheOutcome.NO_CACHED_ACCESS_TOKEN); | ||
(_c = this.serverTelemetryManager) === null || _c === void 0 ? void 0 : _c.setCacheOutcome(CacheOutcome.NO_CACHED_ACCESS_TOKEN); | ||
this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."); | ||
@@ -90,3 +97,3 @@ throw ClientAuthError.createRefreshRequiredError(); | ||
// Must refresh due to expired access_token. | ||
(_c = this.serverTelemetryManager) === null || _c === void 0 ? void 0 : _c.setCacheOutcome(CacheOutcome.CACHED_ACCESS_TOKEN_EXPIRED); | ||
(_d = this.serverTelemetryManager) === null || _d === void 0 ? void 0 : _d.setCacheOutcome(CacheOutcome.CACHED_ACCESS_TOKEN_EXPIRED); | ||
this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within " + this.config.systemOptions.tokenRenewalOffsetSeconds + " seconds."); | ||
@@ -97,3 +104,3 @@ throw ClientAuthError.createRefreshRequiredError(); | ||
// Must refresh due to the refresh_in value. | ||
(_d = this.serverTelemetryManager) === null || _d === void 0 ? void 0 : _d.setCacheOutcome(CacheOutcome.REFRESH_CACHED_ACCESS_TOKEN); | ||
(_e = this.serverTelemetryManager) === null || _e === void 0 ? void 0 : _e.setCacheOutcome(CacheOutcome.REFRESH_CACHED_ACCESS_TOKEN); | ||
this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'."); | ||
@@ -106,3 +113,3 @@ throw ClientAuthError.createRefreshRequiredError(); | ||
return [4 /*yield*/, this.generateResultFromCacheRecord(cacheRecord, request)]; | ||
case 1: return [2 /*return*/, _e.sent()]; | ||
case 1: return [2 /*return*/, _f.sent()]; | ||
} | ||
@@ -109,0 +116,0 @@ }); |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -20,2 +20,3 @@ import { INetworkModule } from "../network/INetworkModule"; | ||
* - loggerOptions - Logging for application | ||
* - cacheOptions - Cache options for application | ||
* - networkInterface - Network implementation | ||
@@ -30,2 +31,3 @@ * - storageInterface - Storage implementation | ||
loggerOptions?: LoggerOptions; | ||
cacheOptions?: CacheOptions; | ||
storageInterface?: CacheManager; | ||
@@ -45,2 +47,3 @@ networkInterface?: INetworkModule; | ||
loggerOptions: Required<LoggerOptions>; | ||
cacheOptions: Required<CacheOptions>; | ||
storageInterface: CacheManager; | ||
@@ -98,2 +101,10 @@ networkInterface: INetworkModule; | ||
/** | ||
* Use this to configure credential cache preferences in the ClientConfiguration object | ||
* | ||
* - claimsBasedCachingEnabled - Sets whether tokens should be cached based on the claims hash. Default is true. | ||
*/ | ||
export declare type CacheOptions = { | ||
claimsBasedCachingEnabled?: boolean; | ||
}; | ||
/** | ||
* Library-specific options | ||
@@ -137,3 +148,3 @@ */ | ||
*/ | ||
export declare function buildClientConfiguration({ authOptions: userAuthOptions, systemOptions: userSystemOptions, loggerOptions: userLoggerOption, storageInterface: storageImplementation, networkInterface: networkImplementation, cryptoInterface: cryptoImplementation, clientCredentials: clientCredentials, libraryInfo: libraryInfo, telemetry: telemetry, serverTelemetryManager: serverTelemetryManager, persistencePlugin: persistencePlugin, serializableCache: serializableCache, }: ClientConfiguration): CommonClientConfiguration; | ||
export declare function buildClientConfiguration({ authOptions: userAuthOptions, systemOptions: userSystemOptions, loggerOptions: userLoggerOption, cacheOptions: userCacheOptions, storageInterface: storageImplementation, networkInterface: networkImplementation, cryptoInterface: cryptoImplementation, clientCredentials: clientCredentials, libraryInfo: libraryInfo, telemetry: telemetry, serverTelemetryManager: serverTelemetryManager, persistencePlugin: persistencePlugin, serializableCache: serializableCache, }: ClientConfiguration): CommonClientConfiguration; | ||
//# sourceMappingURL=ClientConfiguration.d.ts.map |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -30,2 +30,5 @@ import { __assign, __awaiter, __generator } from '../_virtual/_tslib.js'; | ||
}; | ||
var DEFAULT_CACHE_OPTIONS = { | ||
claimsBasedCachingEnabled: true | ||
}; | ||
var DEFAULT_NETWORK_IMPLEMENTATION = { | ||
@@ -79,3 +82,3 @@ sendGetRequestAsync: function () { | ||
function buildClientConfiguration(_a) { | ||
var userAuthOptions = _a.authOptions, userSystemOptions = _a.systemOptions, userLoggerOption = _a.loggerOptions, storageImplementation = _a.storageInterface, networkImplementation = _a.networkInterface, cryptoImplementation = _a.cryptoInterface, clientCredentials = _a.clientCredentials, libraryInfo = _a.libraryInfo, telemetry = _a.telemetry, serverTelemetryManager = _a.serverTelemetryManager, persistencePlugin = _a.persistencePlugin, serializableCache = _a.serializableCache; | ||
var userAuthOptions = _a.authOptions, userSystemOptions = _a.systemOptions, userLoggerOption = _a.loggerOptions, userCacheOptions = _a.cacheOptions, storageImplementation = _a.storageInterface, networkImplementation = _a.networkInterface, cryptoImplementation = _a.cryptoInterface, clientCredentials = _a.clientCredentials, libraryInfo = _a.libraryInfo, telemetry = _a.telemetry, serverTelemetryManager = _a.serverTelemetryManager, persistencePlugin = _a.persistencePlugin, serializableCache = _a.serializableCache; | ||
var loggerOptions = __assign(__assign({}, DEFAULT_LOGGER_IMPLEMENTATION), userLoggerOption); | ||
@@ -86,2 +89,3 @@ return { | ||
loggerOptions: loggerOptions, | ||
cacheOptions: __assign(__assign({}, DEFAULT_CACHE_OPTIONS), userCacheOptions), | ||
storageInterface: storageImplementation || new DefaultStorageClass(userAuthOptions.clientId, DEFAULT_CRYPTO_IMPLEMENTATION, new Logger(loggerOptions)), | ||
@@ -88,0 +92,0 @@ networkInterface: networkImplementation || DEFAULT_NETWORK_IMPLEMENTATION, |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { JoseHeaderError } from '../error/JoseHeaderError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator, __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -12,3 +12,3 @@ /** | ||
export { UsernamePasswordClient } from "./client/UsernamePasswordClient"; | ||
export { AuthOptions, SystemOptions, LoggerOptions, DEFAULT_SYSTEM_OPTIONS, AzureCloudOptions, ApplicationTelemetry } from "./config/ClientConfiguration"; | ||
export { AuthOptions, SystemOptions, LoggerOptions, CacheOptions, DEFAULT_SYSTEM_OPTIONS, AzureCloudOptions, ApplicationTelemetry } from "./config/ClientConfiguration"; | ||
export { IAppTokenProvider, AppTokenProviderParameters, AppTokenProviderResult } from "./config/AppTokenProvider"; | ||
@@ -15,0 +15,0 @@ export { ClientConfiguration } from "./config/ClientConfiguration"; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ export { AuthorizationCodeClient } from './client/AuthorizationCodeClient.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { StringUtils } from '../utils/StringUtils.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { AuthError } from '../error/AuthError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ThrottlingConstants, Constants, HeaderNames } from '../utils/Constants.js'; |
export declare const name = "@azure/msal-common"; | ||
export declare const version = "13.1.0"; | ||
export declare const version = "13.2.0"; | ||
//# sourceMappingURL=packageMetadata.d.ts.map |
@@ -1,8 +0,8 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
/* eslint-disable header/header */ | ||
var name = "@azure/msal-common"; | ||
var version = "13.1.0"; | ||
var version = "13.2.0"; | ||
export { name, version }; | ||
//# sourceMappingURL=packageMetadata.js.map |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ClientConfigurationError } from '../error/ClientConfigurationError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __spreadArrays } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { StringUtils } from '../utils/StringUtils.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __spreadArrays } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __assign } from '../../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { SERVER_TELEM_CONSTANTS, CacheOutcome, Constants, Separators } from '../../utils/Constants.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ClientConfigurationError } from '../error/ClientConfigurationError.js'; |
@@ -324,3 +324,4 @@ export declare const Constants: { | ||
CACHED_ACCESS_TOKEN_EXPIRED = "3", | ||
REFRESH_CACHED_ACCESS_TOKEN = "4" | ||
REFRESH_CACHED_ACCESS_TOKEN = "4", | ||
CLAIMS_REQUESTED_CACHE_SKIPPED = "5" | ||
} | ||
@@ -327,0 +328,0 @@ export declare enum JsonTypes { |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -367,2 +367,3 @@ import { __spreadArrays } from '../_virtual/_tslib.js'; | ||
CacheOutcome["REFRESH_CACHED_ACCESS_TOKEN"] = "4"; | ||
CacheOutcome["CLAIMS_REQUESTED_CACHE_SKIPPED"] = "5"; | ||
})(CacheOutcome || (CacheOutcome = {})); | ||
@@ -369,0 +370,0 @@ var JsonTypes; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { StringUtils } from './StringUtils.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { ClientAuthError } from '../error/ClientAuthError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-common v13.1.0 2023-06-07 */ | ||
/*! @azure/msal-common v13.2.0 2023-07-05 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "13.1.0", | ||
"version": "13.2.0", | ||
"description": "Microsoft Authentication Library for js", | ||
@@ -16,0 +16,0 @@ "keywords": [ |
@@ -0,0 +0,0 @@ # Microsoft Authentication Library for JavaScript (MSAL.js) Common Protocols Package |
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
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
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
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
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
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 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
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
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
2895133
25369