@azure/msal-browser 3.5.1-beta.1 → 3.6.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.
Files changed (258) hide show
  1. package/dist/app/IPublicClientApplication.d.ts +51 -51
  2. package/dist/app/IPublicClientApplication.mjs +102 -102
  3. package/dist/app/IPublicClientApplication.mjs.map +1 -1
  4. package/dist/app/PublicClientApplication.d.ts +269 -268
  5. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  6. package/dist/app/PublicClientApplication.mjs +333 -333
  7. package/dist/app/PublicClientApplication.mjs.map +1 -1
  8. package/dist/app/PublicClientNext.d.ts +273 -273
  9. package/dist/app/PublicClientNext.mjs +351 -351
  10. package/dist/app/PublicClientNext.mjs.map +1 -1
  11. package/dist/broker/nativeBroker/NativeMessageHandler.d.ts +62 -62
  12. package/dist/broker/nativeBroker/NativeMessageHandler.mjs +254 -254
  13. package/dist/broker/nativeBroker/NativeMessageHandler.mjs.map +1 -1
  14. package/dist/broker/nativeBroker/NativeRequest.d.ts +44 -44
  15. package/dist/broker/nativeBroker/NativeResponse.d.ts +48 -48
  16. package/dist/broker/nativeBroker/NativeStatusCodes.d.ts +7 -7
  17. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +11 -11
  18. package/dist/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
  19. package/dist/cache/AsyncMemoryStorage.d.ts +51 -51
  20. package/dist/cache/AsyncMemoryStorage.mjs +132 -132
  21. package/dist/cache/AsyncMemoryStorage.mjs.map +1 -1
  22. package/dist/cache/BrowserCacheManager.d.ts +395 -383
  23. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  24. package/dist/cache/BrowserCacheManager.mjs +1282 -1262
  25. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  26. package/dist/cache/BrowserStorage.d.ts +11 -11
  27. package/dist/cache/BrowserStorage.mjs +32 -32
  28. package/dist/cache/BrowserStorage.mjs.map +1 -1
  29. package/dist/cache/CryptoKeyStore.d.ts +18 -18
  30. package/dist/cache/CryptoKeyStore.mjs +40 -40
  31. package/dist/cache/CryptoKeyStore.mjs.map +1 -1
  32. package/dist/cache/DatabaseStorage.d.ts +56 -56
  33. package/dist/cache/DatabaseStorage.mjs +190 -190
  34. package/dist/cache/DatabaseStorage.mjs.map +1 -1
  35. package/dist/cache/IAsyncMemoryStorage.d.ts +27 -27
  36. package/dist/cache/ITokenCache.d.ts +11 -11
  37. package/dist/cache/IWindowStorage.d.ts +27 -27
  38. package/dist/cache/MemoryStorage.d.ts +11 -11
  39. package/dist/cache/MemoryStorage.mjs +31 -31
  40. package/dist/cache/MemoryStorage.mjs.map +1 -1
  41. package/dist/cache/TokenCache.d.ts +77 -77
  42. package/dist/cache/TokenCache.d.ts.map +1 -1
  43. package/dist/cache/TokenCache.mjs +221 -225
  44. package/dist/cache/TokenCache.mjs.map +1 -1
  45. package/dist/config/Configuration.d.ts +206 -206
  46. package/dist/config/Configuration.d.ts.map +1 -1
  47. package/dist/config/Configuration.mjs +128 -128
  48. package/dist/config/Configuration.mjs.map +1 -1
  49. package/dist/controllers/ControllerFactory.d.ts +4 -4
  50. package/dist/controllers/ControllerFactory.d.ts.map +1 -1
  51. package/dist/controllers/ControllerFactory.mjs +29 -29
  52. package/dist/controllers/ControllerFactory.mjs.map +1 -1
  53. package/dist/controllers/IController.d.ts +61 -61
  54. package/dist/controllers/NestedAppAuthController.d.ts +95 -95
  55. package/dist/controllers/NestedAppAuthController.mjs +334 -334
  56. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  57. package/dist/controllers/StandardController.d.ts +407 -407
  58. package/dist/controllers/StandardController.d.ts.map +1 -1
  59. package/dist/controllers/StandardController.mjs +1291 -1293
  60. package/dist/controllers/StandardController.mjs.map +1 -1
  61. package/dist/controllers/UnknownOperatingContextController.d.ts +87 -87
  62. package/dist/controllers/UnknownOperatingContextController.mjs +264 -264
  63. package/dist/controllers/UnknownOperatingContextController.mjs.map +1 -1
  64. package/dist/crypto/BrowserCrypto.d.ts +44 -44
  65. package/dist/crypto/BrowserCrypto.mjs +93 -93
  66. package/dist/crypto/BrowserCrypto.mjs.map +1 -1
  67. package/dist/crypto/CryptoOps.d.ts +63 -63
  68. package/dist/crypto/CryptoOps.mjs +145 -145
  69. package/dist/crypto/CryptoOps.mjs.map +1 -1
  70. package/dist/crypto/PkceGenerator.d.ts +8 -8
  71. package/dist/crypto/PkceGenerator.mjs +54 -54
  72. package/dist/crypto/PkceGenerator.mjs.map +1 -1
  73. package/dist/crypto/SignedHttpRequest.d.ts +30 -30
  74. package/dist/crypto/SignedHttpRequest.mjs +39 -39
  75. package/dist/crypto/SignedHttpRequest.mjs.map +1 -1
  76. package/dist/encode/Base64Decode.d.ts +9 -9
  77. package/dist/encode/Base64Decode.mjs +36 -36
  78. package/dist/encode/Base64Decode.mjs.map +1 -1
  79. package/dist/encode/Base64Encode.d.ts +19 -19
  80. package/dist/encode/Base64Encode.mjs +43 -43
  81. package/dist/encode/Base64Encode.mjs.map +1 -1
  82. package/dist/error/BrowserAuthError.d.ts +250 -250
  83. package/dist/error/BrowserAuthError.mjs +258 -258
  84. package/dist/error/BrowserAuthError.mjs.map +1 -1
  85. package/dist/error/BrowserAuthErrorCodes.d.ts +45 -45
  86. package/dist/error/BrowserAuthErrorCodes.mjs +49 -49
  87. package/dist/error/BrowserAuthErrorCodes.mjs.map +1 -1
  88. package/dist/error/BrowserConfigurationAuthError.d.ts +33 -33
  89. package/dist/error/BrowserConfigurationAuthError.mjs +40 -40
  90. package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
  91. package/dist/error/BrowserConfigurationAuthErrorCodes.d.ts +3 -3
  92. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +7 -7
  93. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs.map +1 -1
  94. package/dist/error/NativeAuthError.d.ts +29 -29
  95. package/dist/error/NativeAuthError.mjs +60 -60
  96. package/dist/error/NativeAuthError.mjs.map +1 -1
  97. package/dist/error/NativeAuthErrorCodes.d.ts +2 -2
  98. package/dist/error/NativeAuthErrorCodes.mjs +6 -6
  99. package/dist/error/NativeAuthErrorCodes.mjs.map +1 -1
  100. package/dist/error/NestedAppAuthError.d.ts +14 -14
  101. package/dist/error/NestedAppAuthError.mjs +23 -23
  102. package/dist/error/NestedAppAuthError.mjs.map +1 -1
  103. package/dist/event/EventHandler.d.ts +41 -41
  104. package/dist/event/EventHandler.mjs +119 -119
  105. package/dist/event/EventHandler.mjs.map +1 -1
  106. package/dist/event/EventMessage.d.ts +25 -25
  107. package/dist/event/EventMessage.mjs +68 -68
  108. package/dist/event/EventMessage.mjs.map +1 -1
  109. package/dist/event/EventType.d.ts +28 -28
  110. package/dist/event/EventType.mjs +31 -31
  111. package/dist/event/EventType.mjs.map +1 -1
  112. package/dist/index.d.ts +39 -39
  113. package/dist/index.d.ts.map +1 -1
  114. package/dist/index.mjs +1 -1
  115. package/dist/interaction_client/BaseInteractionClient.d.ts +54 -54
  116. package/dist/interaction_client/BaseInteractionClient.mjs +152 -152
  117. package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
  118. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +4 -4
  119. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +10 -10
  120. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
  121. package/dist/interaction_client/NativeInteractionClient.d.ts +140 -140
  122. package/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -1
  123. package/dist/interaction_client/NativeInteractionClient.mjs +539 -549
  124. package/dist/interaction_client/NativeInteractionClient.mjs.map +1 -1
  125. package/dist/interaction_client/PopupClient.d.ts +105 -105
  126. package/dist/interaction_client/PopupClient.mjs +432 -432
  127. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  128. package/dist/interaction_client/RedirectClient.d.ts +49 -49
  129. package/dist/interaction_client/RedirectClient.mjs +311 -311
  130. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  131. package/dist/interaction_client/SilentAuthCodeClient.d.ts +23 -23
  132. package/dist/interaction_client/SilentAuthCodeClient.mjs +57 -57
  133. package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  134. package/dist/interaction_client/SilentCacheClient.d.ts +24 -24
  135. package/dist/interaction_client/SilentCacheClient.mjs +61 -61
  136. package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
  137. package/dist/interaction_client/SilentIframeClient.d.ts +32 -32
  138. package/dist/interaction_client/SilentIframeClient.mjs +96 -96
  139. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  140. package/dist/interaction_client/SilentRefreshClient.d.ts +20 -20
  141. package/dist/interaction_client/SilentRefreshClient.mjs +43 -43
  142. package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
  143. package/dist/interaction_client/StandardInteractionClient.d.ts +54 -54
  144. package/dist/interaction_client/StandardInteractionClient.mjs +222 -222
  145. package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
  146. package/dist/interaction_handler/InteractionHandler.d.ts +33 -33
  147. package/dist/interaction_handler/InteractionHandler.mjs +93 -93
  148. package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
  149. package/dist/interaction_handler/RedirectHandler.d.ts +32 -32
  150. package/dist/interaction_handler/RedirectHandler.mjs +134 -134
  151. package/dist/interaction_handler/RedirectHandler.mjs.map +1 -1
  152. package/dist/interaction_handler/SilentHandler.d.ts +13 -13
  153. package/dist/interaction_handler/SilentHandler.mjs +133 -133
  154. package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
  155. package/dist/naa/AccountInfo.d.ts +11 -11
  156. package/dist/naa/AccountRequests.d.ts +9 -9
  157. package/dist/naa/AuthBridge.d.ts +8 -5
  158. package/dist/naa/AuthBridge.d.ts.map +1 -1
  159. package/dist/naa/BridgeCapabilities.d.ts +3 -3
  160. package/dist/naa/BridgeError.d.ts +9 -9
  161. package/dist/naa/BridgeError.mjs +7 -7
  162. package/dist/naa/BridgeError.mjs.map +1 -1
  163. package/dist/naa/BridgeProxy.d.ts +72 -72
  164. package/dist/naa/BridgeProxy.d.ts.map +1 -1
  165. package/dist/naa/BridgeProxy.mjs +153 -152
  166. package/dist/naa/BridgeProxy.mjs.map +1 -1
  167. package/dist/naa/BridgeRequest.d.ts +6 -6
  168. package/dist/naa/BridgeRequestEnvelope.d.ts +13 -13
  169. package/dist/naa/BridgeResponseEnvelope.d.ts +10 -10
  170. package/dist/naa/BridgeStatusCode.d.ts +10 -10
  171. package/dist/naa/BridgeStatusCode.mjs +15 -15
  172. package/dist/naa/BridgeStatusCode.mjs.map +1 -1
  173. package/dist/naa/IBridgeProxy.d.ts +12 -12
  174. package/dist/naa/InitializeBridgeResponse.d.ts +6 -6
  175. package/dist/naa/TokenRequest.d.ts +19 -19
  176. package/dist/naa/TokenResponse.d.ts +15 -15
  177. package/dist/naa/mapping/NestedAppAuthAdapter.d.ts +23 -23
  178. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +141 -141
  179. package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
  180. package/dist/navigation/INavigationClient.d.ts +16 -16
  181. package/dist/navigation/NavigationClient.d.ts +22 -22
  182. package/dist/navigation/NavigationClient.mjs +40 -40
  183. package/dist/navigation/NavigationClient.mjs.map +1 -1
  184. package/dist/navigation/NavigationOptions.d.ts +12 -12
  185. package/dist/network/FetchClient.d.ts +26 -26
  186. package/dist/network/FetchClient.mjs +99 -99
  187. package/dist/network/FetchClient.mjs.map +1 -1
  188. package/dist/operatingcontext/BaseOperatingContext.d.ts +40 -40
  189. package/dist/operatingcontext/BaseOperatingContext.mjs +44 -44
  190. package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
  191. package/dist/operatingcontext/StandardOperatingContext.d.ts +25 -25
  192. package/dist/operatingcontext/StandardOperatingContext.mjs +43 -43
  193. package/dist/operatingcontext/StandardOperatingContext.mjs.map +1 -1
  194. package/dist/operatingcontext/TeamsAppOperatingContext.d.ts +32 -32
  195. package/dist/operatingcontext/TeamsAppOperatingContext.mjs +85 -85
  196. package/dist/operatingcontext/TeamsAppOperatingContext.mjs.map +1 -1
  197. package/dist/operatingcontext/UnknownOperatingContext.d.ts +25 -25
  198. package/dist/operatingcontext/UnknownOperatingContext.mjs +42 -42
  199. package/dist/operatingcontext/UnknownOperatingContext.mjs.map +1 -1
  200. package/dist/packageMetadata.d.ts +2 -2
  201. package/dist/packageMetadata.d.ts.map +1 -1
  202. package/dist/packageMetadata.mjs +4 -4
  203. package/dist/packageMetadata.mjs.map +1 -1
  204. package/dist/request/AuthorizationCodeRequest.d.ts +8 -8
  205. package/dist/request/AuthorizationUrlRequest.d.ts +8 -8
  206. package/dist/request/ClearCacheRequest.d.ts +10 -10
  207. package/dist/request/EndSessionPopupRequest.d.ts +18 -18
  208. package/dist/request/EndSessionRequest.d.ts +15 -15
  209. package/dist/request/PopupRequest.d.ts +34 -34
  210. package/dist/request/PopupWindowAttributes.d.ts +15 -15
  211. package/dist/request/RedirectRequest.d.ts +35 -35
  212. package/dist/request/SilentRequest.d.ts +32 -32
  213. package/dist/request/SsoSilentRequest.d.ts +29 -29
  214. package/dist/response/AuthenticationResult.d.ts +4 -4
  215. package/dist/response/ResponseHandler.d.ts +7 -7
  216. package/dist/response/ResponseHandler.mjs +36 -36
  217. package/dist/response/ResponseHandler.mjs.map +1 -1
  218. package/dist/telemetry/BrowserPerformanceClient.d.ts +36 -36
  219. package/dist/telemetry/BrowserPerformanceClient.mjs +125 -125
  220. package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
  221. package/dist/telemetry/BrowserPerformanceMeasurement.d.ts +21 -21
  222. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +92 -92
  223. package/dist/telemetry/BrowserPerformanceMeasurement.mjs.map +1 -1
  224. package/dist/utils/BrowserConstants.d.ts +176 -176
  225. package/dist/utils/BrowserConstants.mjs +204 -204
  226. package/dist/utils/BrowserConstants.mjs.map +1 -1
  227. package/dist/utils/BrowserProtocolUtils.d.ts +11 -11
  228. package/dist/utils/BrowserProtocolUtils.mjs +21 -21
  229. package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
  230. package/dist/utils/BrowserUtils.d.ts +56 -56
  231. package/dist/utils/BrowserUtils.mjs +125 -125
  232. package/dist/utils/BrowserUtils.mjs.map +1 -1
  233. package/lib/msal-browser.cjs +18217 -17928
  234. package/lib/msal-browser.cjs.map +1 -1
  235. package/lib/msal-browser.js +18217 -17928
  236. package/lib/msal-browser.js.map +1 -1
  237. package/lib/msal-browser.min.js +71 -68
  238. package/package.json +103 -102
  239. package/src/app/PublicClientApplication.ts +2 -1
  240. package/src/cache/BrowserCacheManager.ts +31 -4
  241. package/src/cache/DatabaseStorage.ts +1 -1
  242. package/src/cache/TokenCache.ts +33 -29
  243. package/src/config/Configuration.ts +1 -1
  244. package/src/controllers/ControllerFactory.ts +3 -5
  245. package/src/controllers/StandardController.ts +4 -6
  246. package/src/crypto/CryptoOps.ts +1 -1
  247. package/src/crypto/SignedHttpRequest.ts +1 -1
  248. package/src/index.ts +1 -0
  249. package/src/interaction_client/BaseInteractionClient.ts +2 -2
  250. package/src/interaction_client/NativeInteractionClient.ts +23 -20
  251. package/src/interaction_client/PopupClient.ts +1 -1
  252. package/src/interaction_client/RedirectClient.ts +3 -3
  253. package/src/interaction_client/SilentAuthCodeClient.ts +1 -1
  254. package/src/interaction_client/StandardInteractionClient.ts +1 -1
  255. package/src/interaction_handler/SilentHandler.ts +2 -2
  256. package/src/naa/AuthBridge.ts +3 -2
  257. package/src/naa/BridgeProxy.ts +6 -4
  258. package/src/packageMetadata.ts +1 -1
@@ -1,269 +1,270 @@
1
- import { ITokenCache } from "../cache/ITokenCache";
2
- import { INavigationClient } from "../navigation/INavigationClient";
3
- import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest";
4
- import { PopupRequest } from "../request/PopupRequest";
5
- import { RedirectRequest } from "../request/RedirectRequest";
6
- import { SilentRequest } from "../request/SilentRequest";
7
- import { WrapperSKU } from "../utils/BrowserConstants";
8
- import { IPublicClientApplication } from "./IPublicClientApplication";
9
- import { IController } from "../controllers/IController";
10
- import { PerformanceCallbackFunction, AccountInfo, AccountFilter, Logger } from "@azure/msal-common";
11
- import { EndSessionRequest } from "../request/EndSessionRequest";
12
- import { SsoSilentRequest } from "../request/SsoSilentRequest";
13
- import { BrowserConfiguration, Configuration } from "../config/Configuration";
14
- import { AuthenticationResult } from "../response/AuthenticationResult";
15
- import { EventCallbackFunction } from "../event/EventMessage";
16
- import { ClearCacheRequest } from "../request/ClearCacheRequest";
17
- /**
18
- * The PublicClientApplication class is the object exposed by the library to perform authentication and authorization functions in Single Page Applications
19
- * to obtain JWT tokens as described in the OAuth 2.0 Authorization Code Flow with PKCE specification.
20
- */
21
- export declare class PublicClientApplication implements IPublicClientApplication {
22
- protected controller: IController;
23
- static createPublicClientApplication(configuration: Configuration): Promise<IPublicClientApplication>;
24
- /**
25
- * @constructor
26
- * Constructor for the PublicClientApplication used to instantiate the PublicClientApplication object
27
- *
28
- * Important attributes in the Configuration object for auth are:
29
- * - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview
30
- * - authority: the authority URL for your application.
31
- * - redirect_uri: the uri of your application registered in the portal.
32
- *
33
- * In Azure AD, authority is a URL indicating the Azure active directory that MSAL uses to obtain tokens.
34
- * It is of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}
35
- * If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
36
- * If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
37
- * If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
38
- * To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
39
- *
40
- * In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/
41
- * Full B2C functionality will be available in this library in future versions.
42
- *
43
- * @param configuration Object for the MSAL PublicClientApplication instance
44
- * @param IController Optional parameter to explictly set the controller. (Will be removed when we remove public constructor)
45
- */
46
- constructor(configuration: Configuration, controller?: IController);
47
- /**
48
- * Initializer function to perform async startup tasks such as connecting to WAM extension
49
- */
50
- initialize(): Promise<void>;
51
- /**
52
- * Use when you want to obtain an access_token for your API via opening a popup window in the user's browser
53
- *
54
- * @param request
55
- *
56
- * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
57
- */
58
- acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
59
- /**
60
- * Use when you want to obtain an access_token for your API by redirecting the user's browser window to the authorization endpoint. This function redirects
61
- * the page, so any code that follows this function will not execute.
62
- *
63
- * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
64
- * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
65
- *
66
- * @param request
67
- */
68
- acquireTokenRedirect(request: RedirectRequest): Promise<void>;
69
- /**
70
- * Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
71
- *
72
- * @param {@link (SilentRequest:type)}
73
- * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthenticationResult} object
74
- */
75
- acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>;
76
- /**
77
- * This function redeems an authorization code (passed as code) from the eSTS token endpoint.
78
- * This authorization code should be acquired server-side using a confidential client to acquire a spa_code.
79
- * This API is not indended for normal authorization code acquisition and redemption.
80
- *
81
- * Redemption of this authorization code will not require PKCE, as it was acquired by a confidential client.
82
- *
83
- * @param request {@link AuthorizationCodeRequest}
84
- * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
85
- */
86
- acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
87
- /**
88
- * Adds event callbacks to array
89
- * @param callback
90
- */
91
- addEventCallback(callback: EventCallbackFunction): string | null;
92
- /**
93
- * Removes callback with provided id from callback array
94
- * @param callbackId
95
- */
96
- removeEventCallback(callbackId: string): void;
97
- /**
98
- * Registers a callback to receive performance events.
99
- *
100
- * @param {PerformanceCallbackFunction} callback
101
- * @returns {string}
102
- */
103
- addPerformanceCallback(callback: PerformanceCallbackFunction): string;
104
- /**
105
- * Removes a callback registered with addPerformanceCallback.
106
- *
107
- * @param {string} callbackId
108
- * @returns {boolean}
109
- */
110
- removePerformanceCallback(callbackId: string): boolean;
111
- /**
112
- * Adds event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
113
- */
114
- enableAccountStorageEvents(): void;
115
- /**
116
- * Removes event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
117
- */
118
- disableAccountStorageEvents(): void;
119
- /**
120
- * Returns the first account found in the cache that matches the account filter passed in.
121
- * @param accountFilter
122
- * @returns The first account found in the cache matching the provided filter or null if no account could be found.
123
- */
124
- getAccount(accountFilter: AccountFilter): AccountInfo | null;
125
- /**
126
- * Returns the signed in account matching homeAccountId.
127
- * (the account object is created at the time of successful login)
128
- * or null when no matching account is found
129
- * @param homeAccountId
130
- * @returns The account object stored in MSAL
131
- * @deprecated - Use getAccount instead
132
- */
133
- getAccountByHomeId(homeAccountId: string): AccountInfo | null;
134
- /**
135
- * Returns the signed in account matching localAccountId.
136
- * (the account object is created at the time of successful login)
137
- * or null when no matching account is found
138
- * @param localAccountId
139
- * @returns The account object stored in MSAL
140
- * @deprecated - Use getAccount instead
141
- */
142
- getAccountByLocalId(localId: string): AccountInfo | null;
143
- /**
144
- * Returns the signed in account matching username.
145
- * (the account object is created at the time of successful login)
146
- * or null when no matching account is found.
147
- * This API is provided for convenience but getAccountById should be used for best reliability
148
- * @param userName
149
- * @returns The account object stored in MSAL
150
- * @deprecated - Use getAccount instead
151
- */
152
- getAccountByUsername(userName: string): AccountInfo | null;
153
- /**
154
- * Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
155
- * @param accountFilter - (Optional) filter to narrow down the accounts returned
156
- * @returns Array of AccountInfo objects in cache
157
- */
158
- getAllAccounts(accountFilter?: AccountFilter): AccountInfo[];
159
- /**
160
- * Event handler function which allows users to fire events after the PublicClientApplication object
161
- * has loaded during redirect flows. This should be invoked on all page loads involved in redirect
162
- * auth flows.
163
- * @param hash Hash to process. Defaults to the current value of window.location.hash. Only needs to be provided explicitly if the response to be handled is not contained in the current value.
164
- * @returns Token response or null. If the return value is null, then no auth redirect was detected.
165
- */
166
- handleRedirectPromise(hash?: string | undefined): Promise<AuthenticationResult | null>;
167
- /**
168
- * Use when initiating the login process via opening a popup window in the user's browser
169
- *
170
- * @param request
171
- *
172
- * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
173
- */
174
- loginPopup(request?: PopupRequest | undefined): Promise<AuthenticationResult>;
175
- /**
176
- * Use when initiating the login process by redirecting the user's browser to the authorization endpoint. This function redirects the page, so
177
- * any code that follows this function will not execute.
178
- *
179
- * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
180
- * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
181
- *
182
- * @param request
183
- */
184
- loginRedirect(request?: RedirectRequest | undefined): Promise<void>;
185
- /**
186
- * Deprecated logout function. Use logoutRedirect or logoutPopup instead
187
- * @param logoutRequest
188
- * @deprecated
189
- */
190
- logout(logoutRequest?: EndSessionRequest): Promise<void>;
191
- /**
192
- * Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
193
- * Default behaviour is to redirect the user to `window.location.href`.
194
- * @param logoutRequest
195
- */
196
- logoutRedirect(logoutRequest?: EndSessionRequest): Promise<void>;
197
- /**
198
- * Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
199
- * @param logoutRequest
200
- */
201
- logoutPopup(logoutRequest?: EndSessionRequest): Promise<void>;
202
- /**
203
- * This function uses a hidden iframe to fetch an authorization code from the eSTS. There are cases where this may not work:
204
- * - Any browser using a form of Intelligent Tracking Prevention
205
- * - If there is not an established session with the service
206
- *
207
- * In these cases, the request must be done inside a popup or full frame redirect.
208
- *
209
- * For the cases where interaction is required, you cannot send a request with prompt=none.
210
- *
211
- * If your refresh token has expired, you can use this function to fetch a new set of tokens silently as long as
212
- * you session on the server still exists.
213
- * @param request {@link SsoSilentRequest}
214
- *
215
- * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
216
- */
217
- ssoSilent(request: SsoSilentRequest): Promise<AuthenticationResult>;
218
- /**
219
- * Gets the token cache for the application.
220
- */
221
- getTokenCache(): ITokenCache;
222
- /**
223
- * Returns the logger instance
224
- */
225
- getLogger(): Logger;
226
- /**
227
- * Replaces the default logger set in configurations with new Logger with new configurations
228
- * @param logger Logger instance
229
- */
230
- setLogger(logger: Logger): void;
231
- /**
232
- * Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
233
- * @param account
234
- */
235
- setActiveAccount(account: AccountInfo | null): void;
236
- /**
237
- * Gets the currently active account
238
- */
239
- getActiveAccount(): AccountInfo | null;
240
- /**
241
- * Called by wrapper libraries (Angular & React) to set SKU and Version passed down to telemetry, logger, etc.
242
- * @param sku
243
- * @param version
244
- */
245
- initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
246
- /**
247
- * Sets navigation client
248
- * @param navigationClient
249
- */
250
- setNavigationClient(navigationClient: INavigationClient): void;
251
- /**
252
- * Returns the configuration object
253
- * @internal
254
- */
255
- getConfiguration(): BrowserConfiguration;
256
- /**
257
- * Hydrates cache with the tokens and account in the AuthenticationResult object
258
- * @param result
259
- * @param request - The request object that was used to obtain the AuthenticationResult
260
- * @returns
261
- */
262
- hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
263
- /**
264
- * Clears tokens and account from the browser cache.
265
- * @param logoutRequest
266
- */
267
- clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
268
- }
1
+ import { ITokenCache } from "../cache/ITokenCache";
2
+ import { INavigationClient } from "../navigation/INavigationClient";
3
+ import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest";
4
+ import { PopupRequest } from "../request/PopupRequest";
5
+ import { RedirectRequest } from "../request/RedirectRequest";
6
+ import { SilentRequest } from "../request/SilentRequest";
7
+ import { WrapperSKU } from "../utils/BrowserConstants";
8
+ import { IPublicClientApplication } from "./IPublicClientApplication";
9
+ import { IController } from "../controllers/IController";
10
+ import { PerformanceCallbackFunction, AccountInfo, AccountFilter, Logger } from "@azure/msal-common";
11
+ import { EndSessionRequest } from "../request/EndSessionRequest";
12
+ import { SsoSilentRequest } from "../request/SsoSilentRequest";
13
+ import { BrowserConfiguration, Configuration } from "../config/Configuration";
14
+ import { AuthenticationResult } from "../response/AuthenticationResult";
15
+ import { EventCallbackFunction } from "../event/EventMessage";
16
+ import { ClearCacheRequest } from "../request/ClearCacheRequest";
17
+ import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest";
18
+ /**
19
+ * The PublicClientApplication class is the object exposed by the library to perform authentication and authorization functions in Single Page Applications
20
+ * to obtain JWT tokens as described in the OAuth 2.0 Authorization Code Flow with PKCE specification.
21
+ */
22
+ export declare class PublicClientApplication implements IPublicClientApplication {
23
+ protected controller: IController;
24
+ static createPublicClientApplication(configuration: Configuration): Promise<IPublicClientApplication>;
25
+ /**
26
+ * @constructor
27
+ * Constructor for the PublicClientApplication used to instantiate the PublicClientApplication object
28
+ *
29
+ * Important attributes in the Configuration object for auth are:
30
+ * - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview
31
+ * - authority: the authority URL for your application.
32
+ * - redirect_uri: the uri of your application registered in the portal.
33
+ *
34
+ * In Azure AD, authority is a URL indicating the Azure active directory that MSAL uses to obtain tokens.
35
+ * It is of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}
36
+ * If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
37
+ * If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
38
+ * If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
39
+ * To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
40
+ *
41
+ * In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/
42
+ * Full B2C functionality will be available in this library in future versions.
43
+ *
44
+ * @param configuration Object for the MSAL PublicClientApplication instance
45
+ * @param IController Optional parameter to explictly set the controller. (Will be removed when we remove public constructor)
46
+ */
47
+ constructor(configuration: Configuration, controller?: IController);
48
+ /**
49
+ * Initializer function to perform async startup tasks such as connecting to WAM extension
50
+ */
51
+ initialize(): Promise<void>;
52
+ /**
53
+ * Use when you want to obtain an access_token for your API via opening a popup window in the user's browser
54
+ *
55
+ * @param request
56
+ *
57
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
58
+ */
59
+ acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
60
+ /**
61
+ * Use when you want to obtain an access_token for your API by redirecting the user's browser window to the authorization endpoint. This function redirects
62
+ * the page, so any code that follows this function will not execute.
63
+ *
64
+ * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
65
+ * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
66
+ *
67
+ * @param request
68
+ */
69
+ acquireTokenRedirect(request: RedirectRequest): Promise<void>;
70
+ /**
71
+ * Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
72
+ *
73
+ * @param {@link (SilentRequest:type)}
74
+ * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthenticationResult} object
75
+ */
76
+ acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>;
77
+ /**
78
+ * This function redeems an authorization code (passed as code) from the eSTS token endpoint.
79
+ * This authorization code should be acquired server-side using a confidential client to acquire a spa_code.
80
+ * This API is not indended for normal authorization code acquisition and redemption.
81
+ *
82
+ * Redemption of this authorization code will not require PKCE, as it was acquired by a confidential client.
83
+ *
84
+ * @param request {@link AuthorizationCodeRequest}
85
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
86
+ */
87
+ acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
88
+ /**
89
+ * Adds event callbacks to array
90
+ * @param callback
91
+ */
92
+ addEventCallback(callback: EventCallbackFunction): string | null;
93
+ /**
94
+ * Removes callback with provided id from callback array
95
+ * @param callbackId
96
+ */
97
+ removeEventCallback(callbackId: string): void;
98
+ /**
99
+ * Registers a callback to receive performance events.
100
+ *
101
+ * @param {PerformanceCallbackFunction} callback
102
+ * @returns {string}
103
+ */
104
+ addPerformanceCallback(callback: PerformanceCallbackFunction): string;
105
+ /**
106
+ * Removes a callback registered with addPerformanceCallback.
107
+ *
108
+ * @param {string} callbackId
109
+ * @returns {boolean}
110
+ */
111
+ removePerformanceCallback(callbackId: string): boolean;
112
+ /**
113
+ * Adds event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
114
+ */
115
+ enableAccountStorageEvents(): void;
116
+ /**
117
+ * Removes event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
118
+ */
119
+ disableAccountStorageEvents(): void;
120
+ /**
121
+ * Returns the first account found in the cache that matches the account filter passed in.
122
+ * @param accountFilter
123
+ * @returns The first account found in the cache matching the provided filter or null if no account could be found.
124
+ */
125
+ getAccount(accountFilter: AccountFilter): AccountInfo | null;
126
+ /**
127
+ * Returns the signed in account matching homeAccountId.
128
+ * (the account object is created at the time of successful login)
129
+ * or null when no matching account is found
130
+ * @param homeAccountId
131
+ * @returns The account object stored in MSAL
132
+ * @deprecated - Use getAccount instead
133
+ */
134
+ getAccountByHomeId(homeAccountId: string): AccountInfo | null;
135
+ /**
136
+ * Returns the signed in account matching localAccountId.
137
+ * (the account object is created at the time of successful login)
138
+ * or null when no matching account is found
139
+ * @param localAccountId
140
+ * @returns The account object stored in MSAL
141
+ * @deprecated - Use getAccount instead
142
+ */
143
+ getAccountByLocalId(localId: string): AccountInfo | null;
144
+ /**
145
+ * Returns the signed in account matching username.
146
+ * (the account object is created at the time of successful login)
147
+ * or null when no matching account is found.
148
+ * This API is provided for convenience but getAccountById should be used for best reliability
149
+ * @param userName
150
+ * @returns The account object stored in MSAL
151
+ * @deprecated - Use getAccount instead
152
+ */
153
+ getAccountByUsername(userName: string): AccountInfo | null;
154
+ /**
155
+ * Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
156
+ * @param accountFilter - (Optional) filter to narrow down the accounts returned
157
+ * @returns Array of AccountInfo objects in cache
158
+ */
159
+ getAllAccounts(accountFilter?: AccountFilter): AccountInfo[];
160
+ /**
161
+ * Event handler function which allows users to fire events after the PublicClientApplication object
162
+ * has loaded during redirect flows. This should be invoked on all page loads involved in redirect
163
+ * auth flows.
164
+ * @param hash Hash to process. Defaults to the current value of window.location.hash. Only needs to be provided explicitly if the response to be handled is not contained in the current value.
165
+ * @returns Token response or null. If the return value is null, then no auth redirect was detected.
166
+ */
167
+ handleRedirectPromise(hash?: string | undefined): Promise<AuthenticationResult | null>;
168
+ /**
169
+ * Use when initiating the login process via opening a popup window in the user's browser
170
+ *
171
+ * @param request
172
+ *
173
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
174
+ */
175
+ loginPopup(request?: PopupRequest | undefined): Promise<AuthenticationResult>;
176
+ /**
177
+ * Use when initiating the login process by redirecting the user's browser to the authorization endpoint. This function redirects the page, so
178
+ * any code that follows this function will not execute.
179
+ *
180
+ * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
181
+ * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
182
+ *
183
+ * @param request
184
+ */
185
+ loginRedirect(request?: RedirectRequest | undefined): Promise<void>;
186
+ /**
187
+ * Deprecated logout function. Use logoutRedirect or logoutPopup instead
188
+ * @param logoutRequest
189
+ * @deprecated
190
+ */
191
+ logout(logoutRequest?: EndSessionRequest): Promise<void>;
192
+ /**
193
+ * Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
194
+ * Default behaviour is to redirect the user to `window.location.href`.
195
+ * @param logoutRequest
196
+ */
197
+ logoutRedirect(logoutRequest?: EndSessionRequest): Promise<void>;
198
+ /**
199
+ * Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
200
+ * @param logoutRequest
201
+ */
202
+ logoutPopup(logoutRequest?: EndSessionPopupRequest): Promise<void>;
203
+ /**
204
+ * This function uses a hidden iframe to fetch an authorization code from the eSTS. There are cases where this may not work:
205
+ * - Any browser using a form of Intelligent Tracking Prevention
206
+ * - If there is not an established session with the service
207
+ *
208
+ * In these cases, the request must be done inside a popup or full frame redirect.
209
+ *
210
+ * For the cases where interaction is required, you cannot send a request with prompt=none.
211
+ *
212
+ * If your refresh token has expired, you can use this function to fetch a new set of tokens silently as long as
213
+ * you session on the server still exists.
214
+ * @param request {@link SsoSilentRequest}
215
+ *
216
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
217
+ */
218
+ ssoSilent(request: SsoSilentRequest): Promise<AuthenticationResult>;
219
+ /**
220
+ * Gets the token cache for the application.
221
+ */
222
+ getTokenCache(): ITokenCache;
223
+ /**
224
+ * Returns the logger instance
225
+ */
226
+ getLogger(): Logger;
227
+ /**
228
+ * Replaces the default logger set in configurations with new Logger with new configurations
229
+ * @param logger Logger instance
230
+ */
231
+ setLogger(logger: Logger): void;
232
+ /**
233
+ * Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
234
+ * @param account
235
+ */
236
+ setActiveAccount(account: AccountInfo | null): void;
237
+ /**
238
+ * Gets the currently active account
239
+ */
240
+ getActiveAccount(): AccountInfo | null;
241
+ /**
242
+ * Called by wrapper libraries (Angular & React) to set SKU and Version passed down to telemetry, logger, etc.
243
+ * @param sku
244
+ * @param version
245
+ */
246
+ initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
247
+ /**
248
+ * Sets navigation client
249
+ * @param navigationClient
250
+ */
251
+ setNavigationClient(navigationClient: INavigationClient): void;
252
+ /**
253
+ * Returns the configuration object
254
+ * @internal
255
+ */
256
+ getConfiguration(): BrowserConfiguration;
257
+ /**
258
+ * Hydrates cache with the tokens and account in the AuthenticationResult object
259
+ * @param result
260
+ * @param request - The request object that was used to obtain the AuthenticationResult
261
+ * @returns
262
+ */
263
+ hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
264
+ /**
265
+ * Clears tokens and account from the browser cache.
266
+ * @param logoutRequest
267
+ */
268
+ clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
269
+ }
269
270
  //# sourceMappingURL=PublicClientApplication.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublicClientApplication.d.ts","sourceRoot":"","sources":["../../src/app/PublicClientApplication.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EACH,2BAA2B,EAC3B,WAAW,EACX,aAAa,EACb,MAAM,E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O,CAAC,oBAAoB,CAAC;IAInE;;OAEG;IACH,aAAa,IAAI,WAAW;IAI5B;;OAEG;IACH,SAAS,IAAI,MAAM;IAInB;;;OAGG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAI/B;;;OAGG;IACH,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI;IAInD;;OAEG;IACH,gBAAgB,IAAI,WAAW,GAAG,IAAI;IAItC;;;;OAIG;IACH,wBAAwB,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IAIhE;;;OAGG;IACH,mBAAmB,CAAC,gBAAgB,EAAE,iBAAiB,GAAG,IAAI;IAI9D;;;OAGG;IACH,gBAAgB,IAAI,oBAAoB;IAIxC;;;;;OAKG;IACG,YAAY,CACd,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EACD,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;IAIhB;;;OAGG;IACH,UAAU,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;CAG/D"}
1
+ {"version":3,"file":"PublicClientApplication.d.ts","sourceRoot":"","sources":["../../src/app/PublicClientApplication.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC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