@azure/msal-browser 3.20.0 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.d.ts +53 -53
- package/dist/app/IPublicClientApplication.mjs +105 -105
- package/dist/app/PublicClientApplication.d.ts +293 -293
- package/dist/app/PublicClientApplication.mjs +364 -364
- package/dist/app/PublicClientNext.d.ts +276 -276
- package/dist/app/PublicClientNext.mjs +354 -354
- package/dist/broker/nativeBroker/NativeMessageHandler.d.ts +62 -62
- package/dist/broker/nativeBroker/NativeMessageHandler.mjs +254 -254
- package/dist/broker/nativeBroker/NativeRequest.d.ts +45 -45
- package/dist/broker/nativeBroker/NativeResponse.d.ts +48 -48
- package/dist/broker/nativeBroker/NativeStatusCodes.d.ts +7 -7
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +11 -11
- package/dist/cache/AccountManager.d.ts +48 -48
- package/dist/cache/AccountManager.mjs +126 -126
- package/dist/cache/AsyncMemoryStorage.d.ts +50 -50
- package/dist/cache/AsyncMemoryStorage.mjs +131 -131
- package/dist/cache/BrowserCacheManager.d.ts +385 -385
- package/dist/cache/BrowserCacheManager.mjs +1294 -1294
- package/dist/cache/BrowserStorage.d.ts +11 -11
- package/dist/cache/BrowserStorage.mjs +32 -32
- package/dist/cache/DatabaseStorage.d.ts +56 -56
- package/dist/cache/DatabaseStorage.mjs +200 -200
- package/dist/cache/IAsyncStorage.d.ts +27 -27
- package/dist/cache/ITokenCache.d.ts +11 -11
- package/dist/cache/IWindowStorage.d.ts +27 -27
- package/dist/cache/MemoryStorage.d.ts +11 -11
- package/dist/cache/MemoryStorage.mjs +31 -31
- package/dist/cache/TokenCache.d.ts +77 -77
- package/dist/cache/TokenCache.mjs +195 -195
- package/dist/config/Configuration.d.ts +213 -208
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +128 -128
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/ControllerFactory.d.ts +5 -5
- package/dist/controllers/ControllerFactory.mjs +25 -25
- package/dist/controllers/IController.d.ts +60 -60
- package/dist/controllers/NestedAppAuthController.d.ts +202 -202
- package/dist/controllers/NestedAppAuthController.mjs +473 -473
- package/dist/controllers/StandardController.d.ts +405 -405
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +1334 -1316
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.d.ts +86 -86
- package/dist/controllers/UnknownOperatingContextController.mjs +256 -256
- package/dist/crypto/BrowserCrypto.d.ts +52 -52
- package/dist/crypto/BrowserCrypto.mjs +151 -151
- package/dist/crypto/CryptoOps.d.ts +74 -74
- package/dist/crypto/CryptoOps.mjs +176 -176
- package/dist/crypto/PkceGenerator.d.ts +8 -8
- package/dist/crypto/PkceGenerator.mjs +54 -54
- package/dist/crypto/SignedHttpRequest.d.ts +30 -30
- package/dist/crypto/SignedHttpRequest.mjs +39 -39
- package/dist/encode/Base64Decode.d.ts +9 -9
- package/dist/encode/Base64Decode.mjs +36 -36
- package/dist/encode/Base64Encode.d.ts +19 -19
- package/dist/encode/Base64Encode.mjs +43 -43
- package/dist/error/BrowserAuthError.d.ts +255 -255
- package/dist/error/BrowserAuthError.mjs +263 -263
- package/dist/error/BrowserAuthErrorCodes.d.ts +46 -46
- package/dist/error/BrowserAuthErrorCodes.mjs +50 -50
- package/dist/error/BrowserConfigurationAuthError.d.ts +33 -33
- package/dist/error/BrowserConfigurationAuthError.mjs +40 -40
- package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.d.ts +3 -3
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +7 -7
- package/dist/error/NativeAuthError.d.ts +29 -29
- package/dist/error/NativeAuthError.mjs +60 -60
- package/dist/error/NativeAuthErrorCodes.d.ts +2 -2
- package/dist/error/NativeAuthErrorCodes.mjs +6 -6
- package/dist/error/NestedAppAuthError.d.ts +14 -14
- package/dist/error/NestedAppAuthError.mjs +23 -23
- package/dist/event/EventHandler.d.ts +41 -41
- package/dist/event/EventHandler.mjs +125 -125
- package/dist/event/EventMessage.d.ts +25 -25
- package/dist/event/EventMessage.mjs +68 -68
- package/dist/event/EventType.d.ts +29 -29
- package/dist/event/EventType.mjs +32 -32
- package/dist/index.d.ts +40 -40
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts +50 -50
- package/dist/interaction_client/BaseInteractionClient.mjs +106 -106
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +4 -4
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +10 -10
- package/dist/interaction_client/NativeInteractionClient.d.ts +151 -151
- package/dist/interaction_client/NativeInteractionClient.mjs +621 -621
- package/dist/interaction_client/PopupClient.d.ts +105 -105
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +433 -433
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.d.ts +50 -50
- package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +315 -314
- package/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.d.ts +23 -23
- package/dist/interaction_client/SilentAuthCodeClient.mjs +57 -57
- package/dist/interaction_client/SilentCacheClient.d.ts +16 -16
- package/dist/interaction_client/SilentCacheClient.mjs +42 -42
- package/dist/interaction_client/SilentIframeClient.d.ts +32 -32
- package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +110 -100
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.d.ts +20 -20
- package/dist/interaction_client/SilentRefreshClient.mjs +47 -47
- package/dist/interaction_client/StandardInteractionClient.d.ts +48 -48
- package/dist/interaction_client/StandardInteractionClient.mjs +199 -199
- package/dist/interaction_handler/InteractionHandler.d.ts +33 -33
- package/dist/interaction_handler/InteractionHandler.mjs +93 -93
- package/dist/interaction_handler/RedirectHandler.d.ts +32 -32
- package/dist/interaction_handler/RedirectHandler.mjs +134 -134
- package/dist/interaction_handler/SilentHandler.d.ts +13 -13
- package/dist/interaction_handler/SilentHandler.mjs +134 -134
- package/dist/naa/AccountInfo.d.ts +11 -11
- package/dist/naa/AuthBridge.d.ts +8 -8
- package/dist/naa/AuthResult.d.ts +6 -6
- package/dist/naa/BridgeAccountContext.d.ts +12 -12
- package/dist/naa/BridgeCapabilities.d.ts +3 -3
- package/dist/naa/BridgeError.d.ts +9 -9
- package/dist/naa/BridgeError.mjs +7 -7
- package/dist/naa/BridgeProxy.d.ts +67 -67
- package/dist/naa/BridgeProxy.mjs +148 -148
- package/dist/naa/BridgeRequest.d.ts +7 -7
- package/dist/naa/BridgeRequestEnvelope.d.ts +12 -12
- package/dist/naa/BridgeResponseEnvelope.d.ts +13 -13
- package/dist/naa/BridgeStatusCode.d.ts +11 -11
- package/dist/naa/BridgeStatusCode.mjs +14 -14
- package/dist/naa/IBridgeProxy.d.ts +10 -10
- package/dist/naa/InitContext.d.ts +8 -8
- package/dist/naa/TokenRequest.d.ts +18 -18
- package/dist/naa/TokenResponse.d.ts +13 -13
- package/dist/naa/mapping/NestedAppAuthAdapter.d.ts +35 -35
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +179 -179
- package/dist/navigation/INavigationClient.d.ts +16 -16
- package/dist/navigation/NavigationClient.d.ts +22 -22
- package/dist/navigation/NavigationClient.mjs +40 -40
- package/dist/navigation/NavigationOptions.d.ts +12 -12
- package/dist/network/FetchClient.d.ts +26 -26
- package/dist/network/FetchClient.mjs +99 -99
- package/dist/operatingcontext/BaseOperatingContext.d.ts +41 -41
- package/dist/operatingcontext/BaseOperatingContext.mjs +94 -94
- package/dist/operatingcontext/NestedAppOperatingContext.d.ts +34 -34
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +71 -71
- package/dist/operatingcontext/StandardOperatingContext.d.ts +25 -25
- package/dist/operatingcontext/StandardOperatingContext.mjs +43 -43
- package/dist/operatingcontext/UnknownOperatingContext.d.ts +25 -25
- package/dist/operatingcontext/UnknownOperatingContext.mjs +42 -42
- package/dist/packageMetadata.d.ts +2 -2
- package/dist/packageMetadata.mjs +4 -4
- package/dist/request/AuthorizationCodeRequest.d.ts +8 -8
- package/dist/request/AuthorizationUrlRequest.d.ts +8 -8
- package/dist/request/ClearCacheRequest.d.ts +10 -10
- package/dist/request/EndSessionPopupRequest.d.ts +18 -18
- package/dist/request/EndSessionRequest.d.ts +15 -15
- package/dist/request/InitializeApplicationRequest.d.ts +8 -8
- package/dist/request/PopupRequest.d.ts +34 -34
- package/dist/request/PopupWindowAttributes.d.ts +15 -15
- package/dist/request/RedirectRequest.d.ts +40 -35
- package/dist/request/RedirectRequest.d.ts.map +1 -1
- package/dist/request/RequestHelpers.d.ts +13 -13
- package/dist/request/RequestHelpers.mjs +53 -53
- package/dist/request/SilentRequest.d.ts +33 -33
- package/dist/request/SsoSilentRequest.d.ts +29 -29
- package/dist/response/AuthenticationResult.d.ts +4 -4
- package/dist/response/ResponseHandler.d.ts +7 -7
- package/dist/response/ResponseHandler.mjs +36 -36
- package/dist/telemetry/BrowserPerformanceClient.d.ts +34 -34
- package/dist/telemetry/BrowserPerformanceClient.mjs +162 -162
- package/dist/telemetry/BrowserPerformanceMeasurement.d.ts +21 -21
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +92 -92
- package/dist/utils/BrowserConstants.d.ts +180 -180
- package/dist/utils/BrowserConstants.mjs +212 -212
- package/dist/utils/BrowserProtocolUtils.d.ts +11 -11
- package/dist/utils/BrowserProtocolUtils.mjs +21 -21
- package/dist/utils/BrowserUtils.d.ts +75 -75
- package/dist/utils/BrowserUtils.mjs +157 -157
- package/lib/msal-browser.cjs +18884 -18855
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +18884 -18855
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +59 -59
- package/package.json +2 -2
- package/src/config/Configuration.ts +9 -1
- package/src/controllers/StandardController.ts +30 -12
- package/src/interaction_client/PopupClient.ts +1 -0
- package/src/interaction_client/RedirectClient.ts +4 -1
- package/src/interaction_client/SilentIframeClient.ts +40 -3
- package/src/packageMetadata.ts +1 -1
- package/src/request/RedirectRequest.ts +5 -0
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
import { CommonEndSessionRequest, IPerformanceClient, Logger, ICrypto } from "@azure/msal-common";
|
|
2
|
-
import { StandardInteractionClient } from "./StandardInteractionClient";
|
|
3
|
-
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest";
|
|
4
|
-
import { PopupRequest } from "../request/PopupRequest";
|
|
5
|
-
import { NativeMessageHandler } from "../broker/nativeBroker/NativeMessageHandler";
|
|
6
|
-
import { INavigationClient } from "../navigation/INavigationClient";
|
|
7
|
-
import { EventHandler } from "../event/EventHandler";
|
|
8
|
-
import { BrowserCacheManager } from "../cache/BrowserCacheManager";
|
|
9
|
-
import { BrowserConfiguration } from "../config/Configuration";
|
|
10
|
-
import { PopupWindowAttributes } from "../request/PopupWindowAttributes";
|
|
11
|
-
import { AuthenticationResult } from "../response/AuthenticationResult";
|
|
12
|
-
export type PopupParams = {
|
|
13
|
-
popup?: Window | null;
|
|
14
|
-
popupName: string;
|
|
15
|
-
popupWindowAttributes: PopupWindowAttributes;
|
|
16
|
-
};
|
|
17
|
-
export declare class PopupClient extends StandardInteractionClient {
|
|
18
|
-
private currentWindow;
|
|
19
|
-
protected nativeStorage: BrowserCacheManager;
|
|
20
|
-
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager, nativeMessageHandler?: NativeMessageHandler, correlationId?: string);
|
|
21
|
-
/**
|
|
22
|
-
* Acquires tokens by opening a popup window to the /authorize endpoint of the authority
|
|
23
|
-
* @param request
|
|
24
|
-
*/
|
|
25
|
-
acquireToken(request: PopupRequest): Promise<AuthenticationResult>;
|
|
26
|
-
/**
|
|
27
|
-
* Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
|
|
28
|
-
* @param logoutRequest
|
|
29
|
-
*/
|
|
30
|
-
logout(logoutRequest?: EndSessionPopupRequest): Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
* Helper which obtains an access_token for your API via opening a popup window in the user's browser
|
|
33
|
-
* @param validRequest
|
|
34
|
-
* @param popupName
|
|
35
|
-
* @param popup
|
|
36
|
-
* @param popupWindowAttributes
|
|
37
|
-
*
|
|
38
|
-
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
|
39
|
-
*/
|
|
40
|
-
protected acquireTokenPopupAsync(request: PopupRequest, popupName: string, popupWindowAttributes: PopupWindowAttributes, popup?: Window | null): Promise<AuthenticationResult>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @param validRequest
|
|
44
|
-
* @param popupName
|
|
45
|
-
* @param requestAuthority
|
|
46
|
-
* @param popup
|
|
47
|
-
* @param mainWindowRedirectUri
|
|
48
|
-
* @param popupWindowAttributes
|
|
49
|
-
*/
|
|
50
|
-
protected logoutPopupAsync(validRequest: CommonEndSessionRequest, popupName: string, popupWindowAttributes: PopupWindowAttributes, requestAuthority?: string, popup?: Window | null, mainWindowRedirectUri?: string): Promise<void>;
|
|
51
|
-
/**
|
|
52
|
-
* Opens a popup window with given request Url.
|
|
53
|
-
* @param requestUrl
|
|
54
|
-
*/
|
|
55
|
-
initiateAuthRequest(requestUrl: string, params: PopupParams): Window;
|
|
56
|
-
/**
|
|
57
|
-
* Monitors a window until it loads a url with the same origin.
|
|
58
|
-
* @param popupWindow - window that is being monitored
|
|
59
|
-
* @param timeout - timeout for processing hash once popup is redirected back to application
|
|
60
|
-
*/
|
|
61
|
-
monitorPopupForHash(popupWindow: Window): Promise<string>;
|
|
62
|
-
/**
|
|
63
|
-
* @hidden
|
|
64
|
-
*
|
|
65
|
-
* Configures popup window for login.
|
|
66
|
-
*
|
|
67
|
-
* @param urlNavigate
|
|
68
|
-
* @param title
|
|
69
|
-
* @param popUpWidth
|
|
70
|
-
* @param popUpHeight
|
|
71
|
-
* @param popupWindowAttributes
|
|
72
|
-
* @ignore
|
|
73
|
-
* @hidden
|
|
74
|
-
*/
|
|
75
|
-
openPopup(urlNavigate: string, popupParams: PopupParams): Window;
|
|
76
|
-
/**
|
|
77
|
-
* Helper function to set popup window dimensions and position
|
|
78
|
-
* @param urlNavigate
|
|
79
|
-
* @param popupName
|
|
80
|
-
* @param popupWindowAttributes
|
|
81
|
-
* @returns
|
|
82
|
-
*/
|
|
83
|
-
openSizedPopup(urlNavigate: string, popupName: string, popupWindowAttributes: PopupWindowAttributes): Window | null;
|
|
84
|
-
/**
|
|
85
|
-
* Event callback to unload main window.
|
|
86
|
-
*/
|
|
87
|
-
unloadWindow(e: Event): void;
|
|
88
|
-
/**
|
|
89
|
-
* Closes popup, removes any state vars created during popup calls.
|
|
90
|
-
* @param popupWindow
|
|
91
|
-
*/
|
|
92
|
-
cleanPopup(popupWindow?: Window): void;
|
|
93
|
-
/**
|
|
94
|
-
* Generates the name for the popup based on the client id and request
|
|
95
|
-
* @param clientId
|
|
96
|
-
* @param request
|
|
97
|
-
*/
|
|
98
|
-
generatePopupName(scopes: Array<string>, authority: string): string;
|
|
99
|
-
/**
|
|
100
|
-
* Generates the name for the popup based on the client id and request for logouts
|
|
101
|
-
* @param clientId
|
|
102
|
-
* @param request
|
|
103
|
-
*/
|
|
104
|
-
generateLogoutPopupName(request: CommonEndSessionRequest): string;
|
|
105
|
-
}
|
|
1
|
+
import { CommonEndSessionRequest, IPerformanceClient, Logger, ICrypto } from "@azure/msal-common";
|
|
2
|
+
import { StandardInteractionClient } from "./StandardInteractionClient";
|
|
3
|
+
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest";
|
|
4
|
+
import { PopupRequest } from "../request/PopupRequest";
|
|
5
|
+
import { NativeMessageHandler } from "../broker/nativeBroker/NativeMessageHandler";
|
|
6
|
+
import { INavigationClient } from "../navigation/INavigationClient";
|
|
7
|
+
import { EventHandler } from "../event/EventHandler";
|
|
8
|
+
import { BrowserCacheManager } from "../cache/BrowserCacheManager";
|
|
9
|
+
import { BrowserConfiguration } from "../config/Configuration";
|
|
10
|
+
import { PopupWindowAttributes } from "../request/PopupWindowAttributes";
|
|
11
|
+
import { AuthenticationResult } from "../response/AuthenticationResult";
|
|
12
|
+
export type PopupParams = {
|
|
13
|
+
popup?: Window | null;
|
|
14
|
+
popupName: string;
|
|
15
|
+
popupWindowAttributes: PopupWindowAttributes;
|
|
16
|
+
};
|
|
17
|
+
export declare class PopupClient extends StandardInteractionClient {
|
|
18
|
+
private currentWindow;
|
|
19
|
+
protected nativeStorage: BrowserCacheManager;
|
|
20
|
+
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager, nativeMessageHandler?: NativeMessageHandler, correlationId?: string);
|
|
21
|
+
/**
|
|
22
|
+
* Acquires tokens by opening a popup window to the /authorize endpoint of the authority
|
|
23
|
+
* @param request
|
|
24
|
+
*/
|
|
25
|
+
acquireToken(request: PopupRequest): Promise<AuthenticationResult>;
|
|
26
|
+
/**
|
|
27
|
+
* Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
|
|
28
|
+
* @param logoutRequest
|
|
29
|
+
*/
|
|
30
|
+
logout(logoutRequest?: EndSessionPopupRequest): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Helper which obtains an access_token for your API via opening a popup window in the user's browser
|
|
33
|
+
* @param validRequest
|
|
34
|
+
* @param popupName
|
|
35
|
+
* @param popup
|
|
36
|
+
* @param popupWindowAttributes
|
|
37
|
+
*
|
|
38
|
+
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
|
39
|
+
*/
|
|
40
|
+
protected acquireTokenPopupAsync(request: PopupRequest, popupName: string, popupWindowAttributes: PopupWindowAttributes, popup?: Window | null): Promise<AuthenticationResult>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @param validRequest
|
|
44
|
+
* @param popupName
|
|
45
|
+
* @param requestAuthority
|
|
46
|
+
* @param popup
|
|
47
|
+
* @param mainWindowRedirectUri
|
|
48
|
+
* @param popupWindowAttributes
|
|
49
|
+
*/
|
|
50
|
+
protected logoutPopupAsync(validRequest: CommonEndSessionRequest, popupName: string, popupWindowAttributes: PopupWindowAttributes, requestAuthority?: string, popup?: Window | null, mainWindowRedirectUri?: string): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Opens a popup window with given request Url.
|
|
53
|
+
* @param requestUrl
|
|
54
|
+
*/
|
|
55
|
+
initiateAuthRequest(requestUrl: string, params: PopupParams): Window;
|
|
56
|
+
/**
|
|
57
|
+
* Monitors a window until it loads a url with the same origin.
|
|
58
|
+
* @param popupWindow - window that is being monitored
|
|
59
|
+
* @param timeout - timeout for processing hash once popup is redirected back to application
|
|
60
|
+
*/
|
|
61
|
+
monitorPopupForHash(popupWindow: Window): Promise<string>;
|
|
62
|
+
/**
|
|
63
|
+
* @hidden
|
|
64
|
+
*
|
|
65
|
+
* Configures popup window for login.
|
|
66
|
+
*
|
|
67
|
+
* @param urlNavigate
|
|
68
|
+
* @param title
|
|
69
|
+
* @param popUpWidth
|
|
70
|
+
* @param popUpHeight
|
|
71
|
+
* @param popupWindowAttributes
|
|
72
|
+
* @ignore
|
|
73
|
+
* @hidden
|
|
74
|
+
*/
|
|
75
|
+
openPopup(urlNavigate: string, popupParams: PopupParams): Window;
|
|
76
|
+
/**
|
|
77
|
+
* Helper function to set popup window dimensions and position
|
|
78
|
+
* @param urlNavigate
|
|
79
|
+
* @param popupName
|
|
80
|
+
* @param popupWindowAttributes
|
|
81
|
+
* @returns
|
|
82
|
+
*/
|
|
83
|
+
openSizedPopup(urlNavigate: string, popupName: string, popupWindowAttributes: PopupWindowAttributes): Window | null;
|
|
84
|
+
/**
|
|
85
|
+
* Event callback to unload main window.
|
|
86
|
+
*/
|
|
87
|
+
unloadWindow(e: Event): void;
|
|
88
|
+
/**
|
|
89
|
+
* Closes popup, removes any state vars created during popup calls.
|
|
90
|
+
* @param popupWindow
|
|
91
|
+
*/
|
|
92
|
+
cleanPopup(popupWindow?: Window): void;
|
|
93
|
+
/**
|
|
94
|
+
* Generates the name for the popup based on the client id and request
|
|
95
|
+
* @param clientId
|
|
96
|
+
* @param request
|
|
97
|
+
*/
|
|
98
|
+
generatePopupName(scopes: Array<string>, authority: string): string;
|
|
99
|
+
/**
|
|
100
|
+
* Generates the name for the popup based on the client id and request for logouts
|
|
101
|
+
* @param clientId
|
|
102
|
+
* @param request
|
|
103
|
+
*/
|
|
104
|
+
generateLogoutPopupName(request: CommonEndSessionRequest): string;
|
|
105
|
+
}
|
|
106
106
|
//# sourceMappingURL=PopupClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopupClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/PopupClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAIH,uBAAuB,EAMvB,kBAAkB,EAClB,MAAM,EACN,OAAO,EAKV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAOxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAG3E,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAKnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MA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