@azure/msal-browser
Advanced tools
Comparing version 2.19.0 to 2.19.1
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /*! ***************************************************************************** |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { BrowserConfigurationAuthError } from '../error/BrowserConfigurationAuthError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
import { CommonAuthorizationCodeRequest, ICrypto, AccountEntity, IdTokenEntity, AccessTokenEntity, RefreshTokenEntity, AppMetadataEntity, CacheManager, ServerTelemetryEntity, ThrottlingEntity, Logger, AuthorityMetadataEntity, AccountInfo } from "@azure/msal-common"; | ||
import { CommonAuthorizationCodeRequest, ICrypto, AccountEntity, IdTokenEntity, AccessTokenEntity, RefreshTokenEntity, AppMetadataEntity, CacheManager, ServerTelemetryEntity, ThrottlingEntity, Logger, AuthorityMetadataEntity, AccountInfo, ValidCredentialType } from "@azure/msal-common"; | ||
import { CacheOptions } from "../config/Configuration"; | ||
@@ -291,4 +291,8 @@ import { InteractionType } from "../utils/BrowserConstants"; | ||
getLegacyLoginHint(): string | null; | ||
/** | ||
* Updates a credential's cache key if the current cache key is outdated | ||
*/ | ||
updateCredentialCacheKey(currentCacheKey: string, credential: ValidCredentialType): string; | ||
} | ||
export declare const DEFAULT_BROWSER_CACHE_MANAGER: (clientId: string, logger: Logger) => BrowserCacheManager; | ||
//# sourceMappingURL=BrowserCacheManager.d.ts.map |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -852,2 +852,21 @@ import { __extends, __spread, __awaiter, __generator } from '../_virtual/_tslib.js'; | ||
}; | ||
/** | ||
* Updates a credential's cache key if the current cache key is outdated | ||
*/ | ||
BrowserCacheManager.prototype.updateCredentialCacheKey = function (currentCacheKey, credential) { | ||
var updatedCacheKey = credential.generateCredentialKey(); | ||
if (currentCacheKey !== updatedCacheKey) { | ||
var cacheItem = this.getItem(currentCacheKey); | ||
if (cacheItem) { | ||
this.removeItem(currentCacheKey); | ||
this.setItem(updatedCacheKey, cacheItem); | ||
this.logger.verbose("Updated an outdated " + credential.credentialType + " cache key"); | ||
return updatedCacheKey; | ||
} | ||
else { | ||
this.logger.error("Attempted to update an outdated " + credential.credentialType + " cache key but no item matching the outdated key was found in storage"); | ||
} | ||
} | ||
return currentCacheKey; | ||
}; | ||
return BrowserCacheManager; | ||
@@ -854,0 +873,0 @@ }(CacheManager)); |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { BrowserConfigurationAuthError } from '../error/BrowserConfigurationAuthError.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { Authority, IdTokenEntity, AuthToken, AccountEntity, ScopeSet, AccessTokenEntity } from '@azure/msal-common'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { MathUtils } from '../utils/MathUtils.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { BrowserStringUtils } from '../utils/BrowserStringUtils.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { BrowserStringUtils } from '../utils/BrowserStringUtils.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { AccountEntity, CacheManager } from '@azure/msal-common'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { EventType } from './EventType.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ export { PublicClientApplication } from './app/PublicClientApplication.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator, __spread, __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator, __assign } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __extends, __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { __awaiter, __generator } from '../_virtual/_tslib.js'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* eslint-disable header/header */ |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { OIDC_DEFAULT_SCOPES } from '@azure/msal-common'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { StringUtils, ProtocolUtils, ClientAuthError, UrlString } from '@azure/msal-common'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { Constants, UrlString } from '@azure/msal-common'; |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ /* |
@@ -1,2 +0,2 @@ | ||
/*! @azure/msal-browser v2.19.0 2021-11-02 */ | ||
/*! @azure/msal-browser v2.19.1 2022-08-03 */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ import { StringUtils, Constants } from '@azure/msal-common'; |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "2.19.0", | ||
"version": "2.19.1", | ||
"description": "Microsoft Authentication Library for js", | ||
@@ -94,4 +94,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@azure/msal-common": "^5.1.0" | ||
"@azure/msal-common": "^5.1.1" | ||
} | ||
} |
@@ -62,3 +62,3 @@ # Microsoft Authentication Library for JavaScript (MSAL.js) 2.0 for Browser-Based Single-Page Applications | ||
```html | ||
<script type="text/javascript" src="https://alcdn.msauth.net/browser/2.19.0/js/msal-browser.min.js"></script> | ||
<script type="text/javascript" src="https://alcdn.msauth.net/browser/2.18.0/js/msal-browser.min.js"></script> | ||
``` | ||
@@ -65,0 +65,0 @@ |
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 too big to display
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
4530648
210
36457
Updated@azure/msal-common@^5.1.1