@azure/msal-browser
Advanced tools
Comparing version 2.11.0 to 2.11.1
@@ -5,2 +5,55 @@ { | ||
{ | ||
"date": "Tue, 09 Feb 2021 01:48:22 GMT", | ||
"tag": "@azure/msal-browser_v2.11.1", | ||
"version": "2.11.1", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Fix version.json import errors (#2993)", | ||
"author": "thomas.norling@microsoft.com", | ||
"commit": "6dc3bc9e2148bc53b181d9f079f6e11e0159620b", | ||
"package": "@azure/msal-browser" | ||
}, | ||
{ | ||
"comment": "Add missing network types to browser exports (#2995)", | ||
"author": "prkanher@microsoft.com", | ||
"commit": "46d7dd34752dbcad595eef1298b8c277106ef57b", | ||
"package": "@azure/msal-browser" | ||
}, | ||
{ | ||
"comment": "Ignore OIDC scopes during cache lookup or replacement (#2969)", | ||
"author": "prkanher@microsoft.com", | ||
"commit": "554f47e8ff576c3230c36df74cd73b6101d333ab", | ||
"package": "@azure/msal-browser" | ||
}, | ||
{ | ||
"comment": "Allow apps to not use the current page as default postLogoutRedirectUri in MSAL Browser (#2789)", | ||
"author": "janutter@microsoft.com", | ||
"commit": "3d8d372276d2c42d359bbf05cfcdd1d7c890c7d8", | ||
"package": "@azure/msal-browser" | ||
}, | ||
{ | ||
"comment": "Fix PCA stub errors (#2963)", | ||
"author": "thomas.norling@microsoft.com", | ||
"commit": "6a0c28447f198eaa3f02cd450d8f181c02536bcf", | ||
"package": "@azure/msal-browser" | ||
} | ||
], | ||
"none": [ | ||
{ | ||
"comment": "Add instrumentation (#2863)", | ||
"author": "joarroyo@microsoft.com", | ||
"commit": "838f95742432a4d19a9784b784d978834e5e19f4", | ||
"package": "@azure/msal-browser" | ||
}, | ||
{ | ||
"comment": "Add API Extractor for msal-node", | ||
"author": "sameera.gajjarapu@microsoft.com", | ||
"commit": "01747296efdf08eefe585930097d9bbbf6b00789", | ||
"package": "@azure/msal-browser" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 02 Feb 2021 01:56:47 GMT", | ||
@@ -7,0 +60,0 @@ "tag": "@azure/msal-browser_v2.11.0", |
# Change Log - @azure/msal-browser | ||
This log was last generated on Tue, 02 Feb 2021 01:56:47 GMT and should not be manually modified. | ||
This log was last generated on Tue, 09 Feb 2021 01:48:22 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 2.11.1 | ||
Tue, 09 Feb 2021 01:48:22 GMT | ||
### Patches | ||
- Fix version.json import errors (#2993) (thomas.norling@microsoft.com) | ||
- Add missing network types to browser exports (#2995) (prkanher@microsoft.com) | ||
- Ignore OIDC scopes during cache lookup or replacement (#2969) (prkanher@microsoft.com) | ||
- Allow apps to not use the current page as default postLogoutRedirectUri in MSAL Browser (#2789) (janutter@microsoft.com) | ||
- Fix PCA stub errors (#2963) (thomas.norling@microsoft.com) | ||
## 2.11.0 | ||
@@ -8,0 +20,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Authority, AuthorizationCodeRequest, AuthorizationCodeClient, AccountInfo, ServerTelemetryManager, SilentFlowClient, ClientConfiguration, BaseAuthRequest, INetworkModule, AuthenticationResult, Logger, RefreshTokenClient, SilentFlowRequest, EndSessionRequest as CommonEndSessionRequest, ICrypto } from "@azure/msal-common"; | ||
import { Authority, CommonAuthorizationCodeRequest, AuthorizationCodeClient, AccountInfo, ServerTelemetryManager, SilentFlowClient, ClientConfiguration, BaseAuthRequest, INetworkModule, AuthenticationResult, Logger, RefreshTokenClient, CommonSilentFlowRequest, CommonEndSessionRequest, ICrypto } from "@azure/msal-common"; | ||
import { BrowserCacheManager } from "../cache/BrowserCacheManager"; | ||
@@ -67,3 +67,2 @@ import { BrowserConfiguration, Configuration } from "../config/Configuration"; | ||
/** | ||
* | ||
* @param hash | ||
@@ -138,3 +137,3 @@ * @param interactionType | ||
*/ | ||
protected acquireTokenByRefreshToken(request: SilentFlowRequest): Promise<AuthenticationResult>; | ||
protected acquireTokenByRefreshToken(request: CommonSilentFlowRequest): Promise<AuthenticationResult>; | ||
/** | ||
@@ -203,8 +202,2 @@ * Helper which acquires an authorization code silently using a hidden iframe from given url | ||
/** | ||
* Use to get the post logout redirect uri configured in MSAL or null. | ||
* @param requestPostLogoutRedirectUri | ||
* @returns Post logout redirect URL | ||
*/ | ||
protected getPostLogoutRedirectUri(requestPostLogoutRedirectUri?: string): string; | ||
/** | ||
* Use to get the redirectStartPage either from request or use current window | ||
@@ -280,3 +273,3 @@ * @param requestStartPage | ||
*/ | ||
protected initializeAuthorizationCodeRequest(request: AuthorizationUrlRequest): Promise<AuthorizationCodeRequest>; | ||
protected initializeAuthorizationCodeRequest(request: AuthorizationUrlRequest): Promise<CommonAuthorizationCodeRequest>; | ||
/** | ||
@@ -283,0 +276,0 @@ * Initializer for the logout request. |
@@ -56,4 +56,4 @@ import { AuthenticationResult } from "@azure/msal-common"; | ||
* | ||
* @param request | ||
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised. | ||
* @param {@link (SilentRequest:type)} | ||
* @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse} object | ||
*/ | ||
@@ -60,0 +60,0 @@ acquireTokenSilent(request: SilentRequest): Promise<AuthenticationResult>; |
@@ -1,2 +0,2 @@ | ||
import { AuthorizationCodeRequest, ICrypto, AccountEntity, IdTokenEntity, AccessTokenEntity, RefreshTokenEntity, AppMetadataEntity, CacheManager, ServerTelemetryEntity, ThrottlingEntity, Logger, AuthorityMetadataEntity } from "@azure/msal-common"; | ||
import { CommonAuthorizationCodeRequest, ICrypto, AccountEntity, IdTokenEntity, AccessTokenEntity, RefreshTokenEntity, AppMetadataEntity, CacheManager, ServerTelemetryEntity, ThrottlingEntity, Logger, AuthorityMetadataEntity } from "@azure/msal-common"; | ||
import { CacheOptions } from "../config/Configuration"; | ||
@@ -251,9 +251,9 @@ import { InteractionType } from "../utils/BrowserConstants"; | ||
cleanRequestByInteractionType(interactionType: InteractionType): void; | ||
cacheCodeRequest(authCodeRequest: AuthorizationCodeRequest, browserCrypto: ICrypto): void; | ||
cacheCodeRequest(authCodeRequest: CommonAuthorizationCodeRequest, browserCrypto: ICrypto): void; | ||
/** | ||
* Gets the token exchange parameters from the cache. Throws an error if nothing is found. | ||
*/ | ||
getCachedRequest(state: string, browserCrypto: ICrypto): AuthorizationCodeRequest; | ||
getCachedRequest(state: string, browserCrypto: ICrypto): CommonAuthorizationCodeRequest; | ||
} | ||
export declare const DEFAULT_BROWSER_CACHE_MANAGER: (clientId: string, logger: Logger) => BrowserCacheManager; | ||
//# sourceMappingURL=BrowserCacheManager.d.ts.map |
@@ -26,3 +26,3 @@ import { SystemOptions, LoggerOptions, INetworkModule, ProtocolMode } from "@azure/msal-common"; | ||
redirectUri?: string; | ||
postLogoutRedirectUri?: string; | ||
postLogoutRedirectUri?: string | null; | ||
navigateToLoginRequestUrl?: boolean; | ||
@@ -29,0 +29,0 @@ clientCapabilities?: Array<string>; |
@@ -1,5 +0,5 @@ | ||
import { AuthenticationResult, AuthError, EndSessionRequest } from "@azure/msal-common"; | ||
import { AuthenticationResult, AuthError } from "@azure/msal-common"; | ||
import { EventType } from "./EventType"; | ||
import { InteractionStatus, InteractionType } from "../utils/BrowserConstants"; | ||
import { PopupRequest, RedirectRequest, SilentRequest, SsoSilentRequest } from ".."; | ||
import { PopupRequest, RedirectRequest, SilentRequest, SsoSilentRequest, EndSessionRequest } from ".."; | ||
export declare type EventMessage = { | ||
@@ -6,0 +6,0 @@ eventType: EventType; |
@@ -20,3 +20,3 @@ /** | ||
export { EventType } from "./event/EventType"; | ||
export { AuthenticationScheme, AccountInfo, AccountEntity, AuthenticationResult, InteractionRequiredAuthError, AuthError, AuthErrorMessage, INetworkModule, ILoggerCallback, Logger, LogLevel, ProtocolMode, StringUtils, UrlString } from "@azure/msal-common"; | ||
export { AuthenticationScheme, AccountInfo, AccountEntity, AuthenticationResult, InteractionRequiredAuthError, AuthError, AuthErrorMessage, INetworkModule, NetworkResponse, NetworkRequestOptions, ILoggerCallback, Logger, LogLevel, ProtocolMode, StringUtils, UrlString } from "@azure/msal-common"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { AuthorizationCodeRequest, AuthenticationResult, AuthorizationCodeClient, Authority, INetworkModule } from "@azure/msal-common"; | ||
import { CommonAuthorizationCodeRequest, AuthenticationResult, AuthorizationCodeClient, Authority, INetworkModule } from "@azure/msal-common"; | ||
import { BrowserCacheManager } from "../cache/BrowserCacheManager"; | ||
@@ -10,4 +10,4 @@ export declare type InteractionParams = {}; | ||
protected browserStorage: BrowserCacheManager; | ||
protected authCodeRequest: AuthorizationCodeRequest; | ||
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, authCodeRequest: AuthorizationCodeRequest); | ||
protected authCodeRequest: CommonAuthorizationCodeRequest; | ||
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, authCodeRequest: CommonAuthorizationCodeRequest); | ||
/** | ||
@@ -14,0 +14,0 @@ * Function to enable user interaction. |
@@ -1,2 +0,2 @@ | ||
import { AuthorizationCodeRequest, AuthorizationCodeClient } from "@azure/msal-common"; | ||
import { CommonAuthorizationCodeRequest, AuthorizationCodeClient } from "@azure/msal-common"; | ||
import { InteractionHandler, InteractionParams } from "./InteractionHandler"; | ||
@@ -15,3 +15,3 @@ import { BrowserCacheManager } from "../cache/BrowserCacheManager"; | ||
private currentWindow; | ||
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, authCodeRequest: AuthorizationCodeRequest); | ||
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, authCodeRequest: CommonAuthorizationCodeRequest); | ||
/** | ||
@@ -18,0 +18,0 @@ * Opens a popup window with given request Url. |
@@ -1,2 +0,2 @@ | ||
import { AuthorizationCodeClient, AuthorizationCodeRequest, ICrypto, AuthenticationResult, Authority, INetworkModule } from "@azure/msal-common"; | ||
import { AuthorizationCodeClient, CommonAuthorizationCodeRequest, ICrypto, AuthenticationResult, Authority, INetworkModule } from "@azure/msal-common"; | ||
import { BrowserCacheManager } from "../cache/BrowserCacheManager"; | ||
@@ -11,3 +11,3 @@ import { InteractionHandler, InteractionParams } from "./InteractionHandler"; | ||
private browserCrypto; | ||
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, authCodeRequest: AuthorizationCodeRequest, browserCrypto: ICrypto); | ||
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, authCodeRequest: CommonAuthorizationCodeRequest, browserCrypto: ICrypto); | ||
/** | ||
@@ -14,0 +14,0 @@ * Redirects window to given URL. |
@@ -1,2 +0,2 @@ | ||
import { AuthorizationCodeRequest, AuthorizationCodeClient } from "@azure/msal-common"; | ||
import { CommonAuthorizationCodeRequest, AuthorizationCodeClient } from "@azure/msal-common"; | ||
import { InteractionHandler } from "./InteractionHandler"; | ||
@@ -6,3 +6,3 @@ import { BrowserCacheManager } from "../cache/BrowserCacheManager"; | ||
private navigateFrameWait; | ||
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, authCodeRequest: AuthorizationCodeRequest, navigateFrameWait: number); | ||
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, authCodeRequest: CommonAuthorizationCodeRequest, navigateFrameWait: number); | ||
/** | ||
@@ -9,0 +9,0 @@ * Creates a hidden iframe to given URL using user-requested scopes as an id. |
@@ -1,2 +0,2 @@ | ||
import { AuthorizationUrlRequest as CommonAuthorizationUrlRequest } from "@azure/msal-common"; | ||
import { CommonAuthorizationUrlRequest } from "@azure/msal-common"; | ||
/** | ||
@@ -3,0 +3,0 @@ * This type is deprecated and will be removed on the next major version update |
@@ -1,2 +0,2 @@ | ||
import { EndSessionRequest as CommonEndSessionRequest } from "@azure/msal-common"; | ||
import { CommonEndSessionRequest } from "@azure/msal-common"; | ||
/** | ||
@@ -3,0 +3,0 @@ * EndSessionRequest |
@@ -1,2 +0,2 @@ | ||
import { AuthorizationUrlRequest } from "@azure/msal-common"; | ||
import { CommonAuthorizationUrlRequest } from "@azure/msal-common"; | ||
/** | ||
@@ -24,5 +24,5 @@ * PopupRequest: Request object passed by user to retrieve a Code from the | ||
*/ | ||
export declare type PopupRequest = Partial<Omit<AuthorizationUrlRequest, "responseMode" | "scopes" | "codeChallenge" | "codeChallengeMethod">> & { | ||
export declare type PopupRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "scopes" | "codeChallenge" | "codeChallengeMethod">> & { | ||
scopes: Array<string>; | ||
}; | ||
//# sourceMappingURL=PopupRequest.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { AuthorizationUrlRequest } from "@azure/msal-common"; | ||
import { CommonAuthorizationUrlRequest } from "@azure/msal-common"; | ||
/** | ||
@@ -26,3 +26,3 @@ * RedirectRequest: Request object passed by user to retrieve a Code from the | ||
*/ | ||
export declare type RedirectRequest = Partial<Omit<AuthorizationUrlRequest, "responseMode" | "scopes" | "codeChallenge" | "codeChallengeMethod">> & { | ||
export declare type RedirectRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "scopes" | "codeChallenge" | "codeChallengeMethod">> & { | ||
scopes: Array<string>; | ||
@@ -29,0 +29,0 @@ redirectStartPage?: string; |
@@ -1,2 +0,2 @@ | ||
import { AccountInfo, SilentFlowRequest, StringDict } from "@azure/msal-common"; | ||
import { AccountInfo, CommonSilentFlowRequest, StringDict } from "@azure/msal-common"; | ||
/** | ||
@@ -15,3 +15,3 @@ * SilentRequest: Request object passed by user to retrieve tokens from the | ||
*/ | ||
export declare type SilentRequest = Omit<SilentFlowRequest, "authority" | "correlationId" | "forceRefresh" | "account"> & { | ||
export declare type SilentRequest = Omit<CommonSilentFlowRequest, "authority" | "correlationId" | "forceRefresh" | "account"> & { | ||
redirectUri?: string; | ||
@@ -18,0 +18,0 @@ extraQueryParameters?: StringDict; |
@@ -1,2 +0,2 @@ | ||
import { AuthorizationUrlRequest } from "@azure/msal-common"; | ||
import { CommonAuthorizationUrlRequest } from "@azure/msal-common"; | ||
/** | ||
@@ -23,3 +23,3 @@ * Request object passed by user to ssoSilent to retrieve a Code from the server (first leg of authorization code grant flow) | ||
*/ | ||
export declare type SsoSilentRequest = Partial<Omit<AuthorizationUrlRequest, "responseMode" | "codeChallenge" | "codeChallengeMethod">>; | ||
export declare type SsoSilentRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "codeChallenge" | "codeChallengeMethod">>; | ||
//# sourceMappingURL=SsoSilentRequest.d.ts.map |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "2.11.0", | ||
"version": "2.11.1", | ||
"description": "Microsoft Authentication Library for js", | ||
@@ -97,4 +97,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@azure/msal-common": "^3.1.0" | ||
"@azure/msal-common": "^4.0.0" | ||
} | ||
} |
@@ -60,3 +60,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.11.0/js/msal-browser.min.js"></script> | ||
<script type="text/javascript" src="https://alcdn.msauth.net/browser/2.11.1/js/msal-browser.min.js"></script> | ||
``` | ||
@@ -63,0 +63,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 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
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
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
6091779
88
36243
+ Added@azure/msal-common@4.5.1(transitive)
- Removed@azure/msal-common@3.1.0(transitive)
Updated@azure/msal-common@^4.0.0