@azure/msal-browser 2.37.0 → 3.0.0-alpha.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 (556) hide show
  1. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  2. package/dist/app/IPublicClientApplication.js +33 -33
  3. package/dist/app/IPublicClientApplication.js.map +1 -1
  4. package/dist/app/PublicClientApplication.d.ts +198 -24
  5. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  6. package/dist/app/PublicClientApplication.js +263 -220
  7. package/dist/app/PublicClientApplication.js.map +1 -1
  8. package/dist/broker/nativeBroker/NativeMessageHandler.d.ts +5 -4
  9. package/dist/broker/nativeBroker/NativeMessageHandler.d.ts.map +1 -1
  10. package/dist/broker/nativeBroker/NativeMessageHandler.js +118 -124
  11. package/dist/broker/nativeBroker/NativeMessageHandler.js.map +1 -1
  12. package/dist/broker/nativeBroker/NativeRequest.d.ts +4 -4
  13. package/dist/broker/nativeBroker/NativeRequest.d.ts.map +1 -1
  14. package/dist/broker/nativeBroker/NativeResponse.d.ts +4 -4
  15. package/dist/broker/nativeBroker/NativeResponse.d.ts.map +1 -1
  16. package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -1
  17. package/dist/cache/AsyncMemoryStorage.js +83 -152
  18. package/dist/cache/AsyncMemoryStorage.js.map +1 -1
  19. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  20. package/dist/cache/BrowserCacheManager.js +420 -412
  21. package/dist/cache/BrowserCacheManager.js.map +1 -1
  22. package/dist/cache/BrowserStorage.d.ts.map +1 -1
  23. package/dist/cache/BrowserStorage.js +19 -19
  24. package/dist/cache/BrowserStorage.js.map +1 -1
  25. package/dist/cache/CryptoKeyStore.d.ts.map +1 -1
  26. package/dist/cache/CryptoKeyStore.js +26 -36
  27. package/dist/cache/CryptoKeyStore.js.map +1 -1
  28. package/dist/cache/DatabaseStorage.d.ts.map +1 -1
  29. package/dist/cache/DatabaseStorage.js +127 -191
  30. package/dist/cache/DatabaseStorage.js.map +1 -1
  31. package/dist/cache/ITokenCache.d.ts.map +1 -1
  32. package/dist/cache/MemoryStorage.d.ts.map +1 -1
  33. package/dist/cache/MemoryStorage.js +18 -19
  34. package/dist/cache/MemoryStorage.js.map +1 -1
  35. package/dist/cache/TokenCache.d.ts +1 -1
  36. package/dist/cache/TokenCache.d.ts.map +1 -1
  37. package/dist/cache/TokenCache.js +55 -49
  38. package/dist/cache/TokenCache.js.map +1 -1
  39. package/dist/config/Configuration.d.ts +8 -8
  40. package/dist/config/Configuration.d.ts.map +1 -1
  41. package/dist/config/Configuration.js +53 -31
  42. package/dist/config/Configuration.js.map +1 -1
  43. package/dist/controllers/ControllerFactory.d.ts +10 -0
  44. package/dist/controllers/ControllerFactory.d.ts.map +1 -0
  45. package/dist/controllers/ControllerFactory.js +47 -0
  46. package/dist/controllers/ControllerFactory.js.map +1 -0
  47. package/dist/controllers/IController.d.ts +67 -0
  48. package/dist/controllers/IController.d.ts.map +1 -0
  49. package/dist/{app/ClientApplication.d.ts → controllers/StandardController.d.ts} +96 -15
  50. package/dist/controllers/StandardController.d.ts.map +1 -0
  51. package/dist/controllers/StandardController.js +1299 -0
  52. package/dist/controllers/StandardController.js.map +1 -0
  53. package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
  54. package/dist/crypto/BrowserCrypto.js +36 -60
  55. package/dist/crypto/BrowserCrypto.js.map +1 -1
  56. package/dist/crypto/CryptoOps.d.ts +1 -1
  57. package/dist/crypto/CryptoOps.d.ts.map +1 -1
  58. package/dist/crypto/CryptoOps.js +93 -151
  59. package/dist/crypto/CryptoOps.js.map +1 -1
  60. package/dist/crypto/GuidGenerator.d.ts.map +1 -1
  61. package/dist/crypto/GuidGenerator.js +36 -25
  62. package/dist/crypto/GuidGenerator.js.map +1 -1
  63. package/dist/crypto/ISubtleCrypto.d.ts.map +1 -1
  64. package/dist/crypto/ModernBrowserCrypto.d.ts.map +1 -1
  65. package/dist/crypto/ModernBrowserCrypto.js +20 -44
  66. package/dist/crypto/ModernBrowserCrypto.js.map +1 -1
  67. package/dist/crypto/MsBrowserCrypto.d.ts.map +1 -1
  68. package/dist/crypto/MsBrowserCrypto.js +65 -89
  69. package/dist/crypto/MsBrowserCrypto.js.map +1 -1
  70. package/dist/crypto/MsrBrowserCrypto.d.ts.map +1 -1
  71. package/dist/crypto/MsrBrowserCrypto.js +23 -47
  72. package/dist/crypto/MsrBrowserCrypto.js.map +1 -1
  73. package/dist/crypto/PkceGenerator.d.ts.map +1 -1
  74. package/dist/crypto/PkceGenerator.js +28 -49
  75. package/dist/crypto/PkceGenerator.js.map +1 -1
  76. package/dist/crypto/SignedHttpRequest.d.ts +1 -1
  77. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  78. package/dist/crypto/SignedHttpRequest.js +15 -37
  79. package/dist/crypto/SignedHttpRequest.js.map +1 -1
  80. package/dist/encode/Base64Decode.d.ts.map +1 -1
  81. package/dist/encode/Base64Decode.js +32 -33
  82. package/dist/encode/Base64Decode.js.map +1 -1
  83. package/dist/encode/Base64Encode.d.ts.map +1 -1
  84. package/dist/encode/Base64Encode.js +34 -35
  85. package/dist/encode/Base64Encode.js.map +1 -1
  86. package/dist/error/BrowserAuthError.d.ts +1 -1
  87. package/dist/error/BrowserAuthError.d.ts.map +1 -1
  88. package/dist/error/BrowserAuthError.js +161 -163
  89. package/dist/error/BrowserAuthError.js.map +1 -1
  90. package/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  91. package/dist/error/BrowserConfigurationAuthError.js +32 -36
  92. package/dist/error/BrowserConfigurationAuthError.js.map +1 -1
  93. package/dist/error/NativeAuthError.d.ts +1 -1
  94. package/dist/error/NativeAuthError.d.ts.map +1 -1
  95. package/dist/error/NativeAuthError.js +26 -27
  96. package/dist/error/NativeAuthError.js.map +1 -1
  97. package/dist/event/EventHandler.d.ts.map +1 -1
  98. package/dist/event/EventHandler.js +33 -33
  99. package/dist/event/EventHandler.js.map +1 -1
  100. package/dist/event/EventMessage.d.ts +5 -5
  101. package/dist/event/EventMessage.d.ts.map +1 -1
  102. package/dist/event/EventMessage.js +18 -14
  103. package/dist/event/EventMessage.js.map +1 -1
  104. package/dist/event/EventType.js +1 -1
  105. package/dist/event/EventType.js.map +1 -1
  106. package/dist/index.d.ts +8 -8
  107. package/dist/index.d.ts.map +1 -1
  108. package/dist/index.js +1 -1
  109. package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  110. package/dist/interaction_client/BaseInteractionClient.js +92 -123
  111. package/dist/interaction_client/BaseInteractionClient.js.map +1 -1
  112. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  113. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +6 -10
  114. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js.map +1 -1
  115. package/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -1
  116. package/dist/interaction_client/NativeInteractionClient.js +336 -393
  117. package/dist/interaction_client/NativeInteractionClient.js.map +1 -1
  118. package/dist/interaction_client/PopupClient.d.ts +1 -1
  119. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  120. package/dist/interaction_client/PopupClient.js +224 -246
  121. package/dist/interaction_client/PopupClient.js.map +1 -1
  122. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  123. package/dist/interaction_client/RedirectClient.js +244 -292
  124. package/dist/interaction_client/RedirectClient.js.map +1 -1
  125. package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  126. package/dist/interaction_client/SilentAuthCodeClient.js +50 -63
  127. package/dist/interaction_client/SilentAuthCodeClient.js.map +1 -1
  128. package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
  129. package/dist/interaction_client/SilentCacheClient.js +50 -81
  130. package/dist/interaction_client/SilentCacheClient.js.map +1 -1
  131. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  132. package/dist/interaction_client/SilentIframeClient.js +107 -125
  133. package/dist/interaction_client/SilentIframeClient.js.map +1 -1
  134. package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  135. package/dist/interaction_client/SilentRefreshClient.js +44 -72
  136. package/dist/interaction_client/SilentRefreshClient.js.map +1 -1
  137. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  138. package/dist/interaction_client/StandardInteractionClient.js +144 -180
  139. package/dist/interaction_client/StandardInteractionClient.js.map +1 -1
  140. package/dist/interaction_handler/InteractionHandler.d.ts +1 -1
  141. package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
  142. package/dist/interaction_handler/InteractionHandler.js +84 -110
  143. package/dist/interaction_handler/InteractionHandler.js.map +1 -1
  144. package/dist/interaction_handler/RedirectHandler.d.ts +1 -1
  145. package/dist/interaction_handler/RedirectHandler.d.ts.map +1 -1
  146. package/dist/interaction_handler/RedirectHandler.js +105 -122
  147. package/dist/interaction_handler/RedirectHandler.js.map +1 -1
  148. package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
  149. package/dist/interaction_handler/SilentHandler.js +76 -65
  150. package/dist/interaction_handler/SilentHandler.js.map +1 -1
  151. package/dist/internals.js +1 -1
  152. package/dist/internals.js.map +1 -1
  153. package/dist/navigation/NavigationClient.d.ts.map +1 -1
  154. package/dist/navigation/NavigationClient.js +11 -14
  155. package/dist/navigation/NavigationClient.js.map +1 -1
  156. package/dist/navigation/NavigationOptions.d.ts +1 -1
  157. package/dist/navigation/NavigationOptions.d.ts.map +1 -1
  158. package/dist/network/FetchClient.d.ts.map +1 -1
  159. package/dist/network/FetchClient.js +66 -96
  160. package/dist/network/FetchClient.js.map +1 -1
  161. package/dist/network/XhrClient.d.ts.map +1 -1
  162. package/dist/network/XhrClient.js +38 -51
  163. package/dist/network/XhrClient.js.map +1 -1
  164. package/dist/operatingcontext/BaseOperatingContext.d.ts +41 -0
  165. package/dist/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
  166. package/dist/operatingcontext/BaseOperatingContext.js +53 -0
  167. package/dist/operatingcontext/BaseOperatingContext.js.map +1 -0
  168. package/dist/operatingcontext/StandardOperatingContext.d.ts +26 -0
  169. package/dist/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
  170. package/dist/operatingcontext/StandardOperatingContext.js +50 -0
  171. package/dist/operatingcontext/StandardOperatingContext.js.map +1 -0
  172. package/dist/operatingcontext/TeamsAppOperatingContext.d.ts +26 -0
  173. package/dist/operatingcontext/TeamsAppOperatingContext.d.ts.map +1 -0
  174. package/dist/operatingcontext/TeamsAppOperatingContext.js +49 -0
  175. package/dist/operatingcontext/TeamsAppOperatingContext.js.map +1 -0
  176. package/dist/packageMetadata.d.ts +1 -1
  177. package/dist/packageMetadata.d.ts.map +1 -1
  178. package/dist/packageMetadata.js +3 -3
  179. package/dist/packageMetadata.js.map +1 -1
  180. package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
  181. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  182. package/dist/request/AuthorizationUrlRequest.d.ts +1 -1
  183. package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
  184. package/dist/request/EndSessionPopupRequest.d.ts +1 -1
  185. package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
  186. package/dist/request/EndSessionRequest.d.ts +1 -1
  187. package/dist/request/EndSessionRequest.d.ts.map +1 -1
  188. package/dist/request/PopupRequest.d.ts +1 -1
  189. package/dist/request/PopupRequest.d.ts.map +1 -1
  190. package/dist/request/PopupWindowAttributes.d.ts +3 -3
  191. package/dist/request/PopupWindowAttributes.d.ts.map +1 -1
  192. package/dist/request/RedirectRequest.d.ts +1 -1
  193. package/dist/request/RedirectRequest.d.ts.map +1 -1
  194. package/dist/request/SilentRequest.d.ts +1 -1
  195. package/dist/request/SilentRequest.d.ts.map +1 -1
  196. package/dist/request/SsoSilentRequest.d.ts +1 -1
  197. package/dist/request/SsoSilentRequest.d.ts.map +1 -1
  198. package/dist/telemetry/BrowserPerformanceClient.d.ts +1 -1
  199. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  200. package/dist/telemetry/BrowserPerformanceClient.js +62 -57
  201. package/dist/telemetry/BrowserPerformanceClient.js.map +1 -1
  202. package/dist/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -1
  203. package/dist/telemetry/BrowserPerformanceMeasurement.js +30 -31
  204. package/dist/telemetry/BrowserPerformanceMeasurement.js.map +1 -1
  205. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  206. package/dist/utils/BrowserConstants.js +10 -10
  207. package/dist/utils/BrowserConstants.js.map +1 -1
  208. package/dist/utils/BrowserProtocolUtils.d.ts +1 -1
  209. package/dist/utils/BrowserProtocolUtils.d.ts.map +1 -1
  210. package/dist/utils/BrowserProtocolUtils.js +9 -12
  211. package/dist/utils/BrowserProtocolUtils.js.map +1 -1
  212. package/dist/utils/BrowserStringUtils.d.ts.map +1 -1
  213. package/dist/utils/BrowserStringUtils.js +83 -49
  214. package/dist/utils/BrowserStringUtils.js.map +1 -1
  215. package/dist/utils/BrowserUtils.d.ts.map +1 -1
  216. package/dist/utils/BrowserUtils.js +51 -49
  217. package/dist/utils/BrowserUtils.js.map +1 -1
  218. package/dist/utils/MathUtils.d.ts.map +1 -1
  219. package/dist/utils/MathUtils.js +6 -9
  220. package/dist/utils/MathUtils.js.map +1 -1
  221. package/node_modules/@azure/msal-common/LICENSE +21 -0
  222. package/node_modules/@azure/msal-common/README.md +62 -0
  223. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts +32 -0
  224. package/node_modules/@azure/msal-common/dist/account/AccountInfo.d.ts.map +1 -0
  225. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts +21 -0
  226. package/node_modules/@azure/msal-common/dist/account/AuthToken.d.ts.map +1 -0
  227. package/node_modules/@azure/msal-common/dist/account/AuthToken.js +56 -0
  228. package/node_modules/@azure/msal-common/dist/account/AuthToken.js.map +1 -0
  229. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts +9 -0
  230. package/node_modules/@azure/msal-common/dist/account/CcsCredential.d.ts.map +1 -0
  231. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js +14 -0
  232. package/node_modules/@azure/msal-common/dist/account/CcsCredential.js.map +1 -0
  233. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts +15 -0
  234. package/node_modules/@azure/msal-common/dist/account/ClientCredentials.d.ts.map +1 -0
  235. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts +20 -0
  236. package/node_modules/@azure/msal-common/dist/account/ClientInfo.d.ts.map +1 -0
  237. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js +46 -0
  238. package/node_modules/@azure/msal-common/dist/account/ClientInfo.js.map +1 -0
  239. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts +9 -0
  240. package/node_modules/@azure/msal-common/dist/account/DecodedAuthToken.d.ts.map +1 -0
  241. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts +66 -0
  242. package/node_modules/@azure/msal-common/dist/account/TokenClaims.d.ts.map +1 -0
  243. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts +216 -0
  244. package/node_modules/@azure/msal-common/dist/authority/Authority.d.ts.map +1 -0
  245. package/node_modules/@azure/msal-common/dist/authority/Authority.js +688 -0
  246. package/node_modules/@azure/msal-common/dist/authority/Authority.js.map +1 -0
  247. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +31 -0
  248. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts.map +1 -0
  249. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js +58 -0
  250. package/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.js.map +1 -0
  251. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +623 -0
  252. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts.map +1 -0
  253. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js +881 -0
  254. package/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.js.map +1 -0
  255. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts +19 -0
  256. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.d.ts.map +1 -0
  257. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js +24 -0
  258. package/node_modules/@azure/msal-common/dist/authority/AuthorityOptions.js.map +1 -0
  259. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts +10 -0
  260. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.d.ts.map +1 -0
  261. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js +19 -0
  262. package/node_modules/@azure/msal-common/dist/authority/AuthorityType.js.map +1 -0
  263. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts +2 -0
  264. package/node_modules/@azure/msal-common/dist/authority/AzureRegion.d.ts.map +1 -0
  265. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts +6 -0
  266. package/node_modules/@azure/msal-common/dist/authority/AzureRegionConfiguration.d.ts.map +1 -0
  267. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts +6 -0
  268. package/node_modules/@azure/msal-common/dist/authority/CloudDiscoveryMetadata.d.ts.map +1 -0
  269. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +14 -0
  270. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +1 -0
  271. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js +13 -0
  272. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.js.map +1 -0
  273. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts +10 -0
  274. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -0
  275. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js +13 -0
  276. package/node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.js.map +1 -0
  277. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts +6 -0
  278. package/node_modules/@azure/msal-common/dist/authority/ImdsOptions.d.ts.map +1 -0
  279. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts +12 -0
  280. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.d.ts.map +1 -0
  281. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js +15 -0
  282. package/node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.js.map +1 -0
  283. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts +8 -0
  284. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.d.ts.map +1 -0
  285. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js +17 -0
  286. package/node_modules/@azure/msal-common/dist/authority/ProtocolMode.js.map +1 -0
  287. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +31 -0
  288. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts.map +1 -0
  289. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js +116 -0
  290. package/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.js.map +1 -0
  291. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts +7 -0
  292. package/node_modules/@azure/msal-common/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -0
  293. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +16 -0
  294. package/node_modules/@azure/msal-common/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -0
  295. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts +444 -0
  296. package/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts.map +1 -0
  297. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js +1024 -0
  298. package/node_modules/@azure/msal-common/dist/cache/CacheManager.js.map +1 -0
  299. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts +57 -0
  300. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -0
  301. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js +123 -0
  302. package/node_modules/@azure/msal-common/dist/cache/entities/AccessTokenEntity.js.map +1 -0
  303. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +100 -0
  304. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts.map +1 -0
  305. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js +259 -0
  306. package/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.js.map +1 -0
  307. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts +40 -0
  308. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.d.ts.map +1 -0
  309. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js +73 -0
  310. package/node_modules/@azure/msal-common/dist/cache/entities/AppMetadataEntity.js.map +1 -0
  311. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts +48 -0
  312. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -0
  313. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js +85 -0
  314. package/node_modules/@azure/msal-common/dist/cache/entities/AuthorityMetadataEntity.js.map +1 -0
  315. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts +14 -0
  316. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.d.ts.map +1 -0
  317. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js +18 -0
  318. package/node_modules/@azure/msal-common/dist/cache/entities/CacheRecord.js.map +1 -0
  319. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts +89 -0
  320. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.d.ts.map +1 -0
  321. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js +144 -0
  322. package/node_modules/@azure/msal-common/dist/cache/entities/CredentialEntity.js.map +1 -0
  323. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts +35 -0
  324. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.d.ts.map +1 -0
  325. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js +64 -0
  326. package/node_modules/@azure/msal-common/dist/cache/entities/IdTokenEntity.js.map +1 -0
  327. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts +37 -0
  328. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -0
  329. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js +67 -0
  330. package/node_modules/@azure/msal-common/dist/cache/entities/RefreshTokenEntity.js.map +1 -0
  331. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts +13 -0
  332. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.d.ts.map +1 -0
  333. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js +34 -0
  334. package/node_modules/@azure/msal-common/dist/cache/entities/ServerTelemetryEntity.js.map +1 -0
  335. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts +14 -0
  336. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.d.ts.map +1 -0
  337. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js +30 -0
  338. package/node_modules/@azure/msal-common/dist/cache/entities/ThrottlingEntity.js.map +1 -0
  339. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts +166 -0
  340. package/node_modules/@azure/msal-common/dist/cache/interface/ICacheManager.d.ts.map +1 -0
  341. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts +6 -0
  342. package/node_modules/@azure/msal-common/dist/cache/interface/ICachePlugin.d.ts.map +1 -0
  343. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts +5 -0
  344. package/node_modules/@azure/msal-common/dist/cache/interface/ISerializableTokenCache.d.ts.map +1 -0
  345. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts +24 -0
  346. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -0
  347. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js +30 -0
  348. package/node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.js.map +1 -0
  349. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts +63 -0
  350. package/node_modules/@azure/msal-common/dist/cache/utils/CacheTypes.d.ts.map +1 -0
  351. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts +72 -0
  352. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.d.ts.map +1 -0
  353. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js +453 -0
  354. package/node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.js.map +1 -0
  355. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts +51 -0
  356. package/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts.map +1 -0
  357. package/node_modules/@azure/msal-common/dist/client/BaseClient.js +107 -0
  358. package/node_modules/@azure/msal-common/dist/client/BaseClient.js.map +1 -0
  359. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts +35 -0
  360. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.d.ts.map +1 -0
  361. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js +260 -0
  362. package/node_modules/@azure/msal-common/dist/client/RefreshTokenClient.js.map +1 -0
  363. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts +25 -0
  364. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.d.ts.map +1 -0
  365. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js +108 -0
  366. package/node_modules/@azure/msal-common/dist/client/SilentFlowClient.js.map +1 -0
  367. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts +39 -0
  368. package/node_modules/@azure/msal-common/dist/config/AppTokenProvider.d.ts.map +1 -0
  369. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts +134 -0
  370. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.d.ts.map +1 -0
  371. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js +101 -0
  372. package/node_modules/@azure/msal-common/dist/config/ClientConfiguration.js.map +1 -0
  373. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts +63 -0
  374. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.d.ts.map +1 -0
  375. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js +49 -0
  376. package/node_modules/@azure/msal-common/dist/crypto/ICrypto.js.map +1 -0
  377. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts +5 -0
  378. package/node_modules/@azure/msal-common/dist/crypto/IGuidGenerator.d.ts.map +1 -0
  379. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts +22 -0
  380. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.d.ts.map +1 -0
  381. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js +44 -0
  382. package/node_modules/@azure/msal-common/dist/crypto/JoseHeader.js.map +1 -0
  383. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +58 -0
  384. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts.map +1 -0
  385. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js +92 -0
  386. package/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.js.map +1 -0
  387. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts +12 -0
  388. package/node_modules/@azure/msal-common/dist/crypto/SignedHttpRequest.d.ts.map +1 -0
  389. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts +48 -0
  390. package/node_modules/@azure/msal-common/dist/error/AuthError.d.ts.map +1 -0
  391. package/node_modules/@azure/msal-common/dist/error/AuthError.js +58 -0
  392. package/node_modules/@azure/msal-common/dist/error/AuthError.js.map +1 -0
  393. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts +413 -0
  394. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.d.ts.map +1 -0
  395. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js +526 -0
  396. package/node_modules/@azure/msal-common/dist/error/ClientAuthError.js.map +1 -0
  397. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts +199 -0
  398. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.d.ts.map +1 -0
  399. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js +256 -0
  400. package/node_modules/@azure/msal-common/dist/error/ClientConfigurationError.js.map +1 -0
  401. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts +60 -0
  402. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.d.ts.map +1 -0
  403. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js +86 -0
  404. package/node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.js.map +1 -0
  405. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts +29 -0
  406. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.d.ts.map +1 -0
  407. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js +46 -0
  408. package/node_modules/@azure/msal-common/dist/error/JoseHeaderError.js.map +1 -0
  409. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts +8 -0
  410. package/node_modules/@azure/msal-common/dist/error/ServerError.d.ts.map +1 -0
  411. package/node_modules/@azure/msal-common/dist/error/ServerError.js +21 -0
  412. package/node_modules/@azure/msal-common/dist/error/ServerError.js.map +1 -0
  413. package/node_modules/@azure/msal-common/dist/index.cjs.js +8975 -0
  414. package/node_modules/@azure/msal-common/dist/index.cjs.js.map +1 -0
  415. package/node_modules/@azure/msal-common/dist/index.d.ts +94 -0
  416. package/node_modules/@azure/msal-common/dist/index.d.ts.map +1 -0
  417. package/node_modules/@azure/msal-common/dist/index.js +54 -0
  418. package/node_modules/@azure/msal-common/dist/index.js.map +1 -0
  419. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts +96 -0
  420. package/node_modules/@azure/msal-common/dist/logger/Logger.d.ts.map +1 -0
  421. package/node_modules/@azure/msal-common/dist/logger/Logger.js +205 -0
  422. package/node_modules/@azure/msal-common/dist/logger/Logger.js.map +1 -0
  423. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts +30 -0
  424. package/node_modules/@azure/msal-common/dist/network/INetworkModule.d.ts.map +1 -0
  425. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js +21 -0
  426. package/node_modules/@azure/msal-common/dist/network/INetworkModule.js.map +1 -0
  427. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts +33 -0
  428. package/node_modules/@azure/msal-common/dist/network/NetworkManager.d.ts.map +1 -0
  429. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js +42 -0
  430. package/node_modules/@azure/msal-common/dist/network/NetworkManager.js.map +1 -0
  431. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts +17 -0
  432. package/node_modules/@azure/msal-common/dist/network/RequestThumbprint.d.ts.map +1 -0
  433. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts +42 -0
  434. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.d.ts.map +1 -0
  435. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js +102 -0
  436. package/node_modules/@azure/msal-common/dist/network/ThrottlingUtils.js.map +1 -0
  437. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts +3 -0
  438. package/node_modules/@azure/msal-common/dist/packageMetadata.d.ts.map +1 -0
  439. package/node_modules/@azure/msal-common/dist/packageMetadata.js +8 -0
  440. package/node_modules/@azure/msal-common/dist/packageMetadata.js.map +1 -0
  441. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts +20 -0
  442. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.d.ts.map +1 -0
  443. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js +63 -0
  444. package/node_modules/@azure/msal-common/dist/request/AuthenticationHeaderParser.js.map +1 -0
  445. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts +38 -0
  446. package/node_modules/@azure/msal-common/dist/request/BaseAuthRequest.d.ts.map +1 -0
  447. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts +28 -0
  448. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -0
  449. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts +51 -0
  450. package/node_modules/@azure/msal-common/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -0
  451. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts +18 -0
  452. package/node_modules/@azure/msal-common/dist/request/CommonClientCredentialRequest.d.ts.map +1 -0
  453. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts +22 -0
  454. package/node_modules/@azure/msal-common/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -0
  455. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts +22 -0
  456. package/node_modules/@azure/msal-common/dist/request/CommonEndSessionRequest.d.ts.map +1 -0
  457. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts +14 -0
  458. package/node_modules/@azure/msal-common/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
  459. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts +20 -0
  460. package/node_modules/@azure/msal-common/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -0
  461. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts +19 -0
  462. package/node_modules/@azure/msal-common/dist/request/CommonSilentFlowRequest.d.ts.map +1 -0
  463. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts +18 -0
  464. package/node_modules/@azure/msal-common/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
  465. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts +20 -0
  466. package/node_modules/@azure/msal-common/dist/request/NativeRequest.d.ts.map +1 -0
  467. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts +6 -0
  468. package/node_modules/@azure/msal-common/dist/request/NativeSignOutRequest.d.ts.map +1 -0
  469. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts +217 -0
  470. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.d.ts.map +1 -0
  471. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js +385 -0
  472. package/node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.js.map +1 -0
  473. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts +34 -0
  474. package/node_modules/@azure/msal-common/dist/request/RequestValidator.d.ts.map +1 -0
  475. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js +92 -0
  476. package/node_modules/@azure/msal-common/dist/request/RequestValidator.js.map +1 -0
  477. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts +89 -0
  478. package/node_modules/@azure/msal-common/dist/request/ScopeSet.d.ts.map +1 -0
  479. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js +207 -0
  480. package/node_modules/@azure/msal-common/dist/request/ScopeSet.js.map +1 -0
  481. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts +40 -0
  482. package/node_modules/@azure/msal-common/dist/response/AuthenticationResult.d.ts.map +1 -0
  483. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts +14 -0
  484. package/node_modules/@azure/msal-common/dist/response/AuthorizationCodePayload.d.ts.map +1 -0
  485. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts +26 -0
  486. package/node_modules/@azure/msal-common/dist/response/DeviceCodeResponse.d.ts.map +1 -0
  487. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts +16 -0
  488. package/node_modules/@azure/msal-common/dist/response/ExternalTokenResponse.d.ts.map +1 -0
  489. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts +5 -0
  490. package/node_modules/@azure/msal-common/dist/response/IMDSBadResponse.d.ts.map +1 -0
  491. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts +73 -0
  492. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts.map +1 -0
  493. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js +325 -0
  494. package/node_modules/@azure/msal-common/dist/response/ResponseHandler.js.map +1 -0
  495. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts +26 -0
  496. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationCodeResponse.d.ts.map +1 -0
  497. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts +45 -0
  498. package/node_modules/@azure/msal-common/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -0
  499. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +43 -0
  500. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -0
  501. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts +6 -0
  502. package/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +1 -0
  503. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +190 -0
  504. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -0
  505. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js +413 -0
  506. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.js.map +1 -0
  507. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts +440 -0
  508. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -0
  509. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js +232 -0
  510. package/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.js.map +1 -0
  511. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts +20 -0
  512. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -0
  513. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js +43 -0
  514. package/node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.js.map +1 -0
  515. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +66 -0
  516. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -0
  517. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js +206 -0
  518. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.js.map +1 -0
  519. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts +9 -0
  520. package/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -0
  521. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts +13 -0
  522. package/node_modules/@azure/msal-common/dist/url/IUri.d.ts.map +1 -0
  523. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts +71 -0
  524. package/node_modules/@azure/msal-common/dist/url/UrlString.d.ts.map +1 -0
  525. package/node_modules/@azure/msal-common/dist/url/UrlString.js +252 -0
  526. package/node_modules/@azure/msal-common/dist/url/UrlString.js.map +1 -0
  527. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts +332 -0
  528. package/node_modules/@azure/msal-common/dist/utils/Constants.d.ts.map +1 -0
  529. package/node_modules/@azure/msal-common/dist/utils/Constants.js +378 -0
  530. package/node_modules/@azure/msal-common/dist/utils/Constants.js.map +1 -0
  531. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts +7 -0
  532. package/node_modules/@azure/msal-common/dist/utils/MsalTypes.d.ts.map +1 -0
  533. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts +43 -0
  534. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.d.ts.map +1 -0
  535. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js +80 -0
  536. package/node_modules/@azure/msal-common/dist/utils/ProtocolUtils.js.map +1 -0
  537. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts +54 -0
  538. package/node_modules/@azure/msal-common/dist/utils/StringUtils.d.ts.map +1 -0
  539. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js +131 -0
  540. package/node_modules/@azure/msal-common/dist/utils/StringUtils.js.map +1 -0
  541. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts +28 -0
  542. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.d.ts.map +1 -0
  543. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js +50 -0
  544. package/node_modules/@azure/msal-common/dist/utils/TimeUtils.js.map +1 -0
  545. package/node_modules/@azure/msal-common/package.json +79 -0
  546. package/package.json +22 -18
  547. package/dist/_virtual/_tslib.js +0 -117
  548. package/dist/_virtual/_tslib.js.map +0 -1
  549. package/dist/app/ClientApplication.d.ts.map +0 -1
  550. package/dist/app/ClientApplication.js +0 -1053
  551. package/dist/app/ClientApplication.js.map +0 -1
  552. package/dist/index.cjs.js +0 -18080
  553. package/dist/index.cjs.js.map +0 -1
  554. package/lib/msal-browser.js +0 -18086
  555. package/lib/msal-browser.js.map +0 -1
  556. package/lib/msal-browser.min.js +0 -70
@@ -0,0 +1,62 @@
1
+ # Microsoft Authentication Library for JavaScript (MSAL.js) Common Protocols Package
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@azure/msal-common.svg?style=flat)](https://www.npmjs.com/package/@azure/msal-common/)
4
+ [![npm version](https://img.shields.io/npm/dm/@azure/msal-common.svg)](https://nodei.co/npm/@azure/msal-common/)
5
+ [![codecov](https://codecov.io/gh/AzureAD/microsoft-authentication-library-for-js/branch/dev/graph/badge.svg?flag=msal-common)](https://codecov.io/gh/AzureAD/microsoft-authentication-library-for-js)
6
+
7
+ | <a href="https://docs.microsoft.com/azure/active-directory/develop/guidedsetups/active-directory-javascriptspa" target="_blank">Getting Started</a> | <a href="https://aka.ms/aaddevv2" target="_blank">AAD Docs</a> | <a href="https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html" target="_blank">Library Reference</a> |
8
+ | --- | --- | --- |
9
+
10
+ 1. [About](#about)
11
+ 2. [FAQ](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-common/FAQ.md)
12
+ 1. [Changelog](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-common/CHANGELOG.md)
13
+ 1. [Releases](#releases)
14
+ 1. [Prerequisites and Usage](#prerequisites-and-usage)
15
+ 1. [Installation](#installation)
16
+ 1. [Security Reporting](#security-reporting)
17
+ 1. [License](#license)
18
+ 1. [Code of Conduct](#we-value-and-adhere-to-the-microsoft-open-source-code-of-conduct)
19
+
20
+ ## About
21
+
22
+ The MSAL library for JavaScript enables client-side JavaScript applications to authenticate users using [Azure AD](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-overview) work and school accounts (AAD), Microsoft personal accounts (MSA) and social identity providers like Facebook, Google, LinkedIn, Microsoft accounts, etc. through [Azure AD B2C](https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-overview#identity-providers) service. It also enables your app to get tokens to access [Microsoft Cloud](https://www.microsoft.com/enterprise) services such as [Microsoft Graph](https://graph.microsoft.io).
23
+
24
+ The `@azure/msal-common` package described by the code in this folder serves as a common package dependency for the `@azure/msal-browser` package (and in the future, the msal-node package). Be aware that this is an internal library, and is subject to frequent change. **It is not meant for production consumption by itself.**
25
+
26
+ ## FAQ
27
+
28
+ See [here](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-common/FAQ.md).
29
+
30
+ ## Releases
31
+
32
+ *Expect us to detail our major and minor releases moving forward, while leaving out our patch releases. Patch release notes can be found in our change log.*
33
+
34
+ | Date | Release | Announcement | Main features |
35
+ | ------| ------- | ---------| --------- |
36
+ | August 4, 2020 | @azure/msal-common v1.1.0 | [Release Notes](https://https://github.com/AzureAD/microsoft-authentication-library-for-js/releases/tag/msal-common-v1.1.0)
37
+ | July 20, 2020 | @azure/msal-common v1.0.0 | [Release Notes](https://github.com/AzureAD/microsoft-authentication-library-for-js/releases/tag/msal-common-v1.0.0) | Full release version of the `@azure/msal-common` |
38
+ | May 11, 2020 | @azure/msal-common v1.0.0-beta | Beta version of the `@azure/msal-common` package |
39
+ | January 17, 2020 | @azure/msal-common v1.0.0-alpha | No release notes yet | Alpha version of the `@azure/msal-common` package with authorization code flow for SPAs working in dev. |
40
+
41
+ ## Prerequisites and Usage
42
+ This library is not meant for production use. Please use one of these packages specific to the platform you are developing for:
43
+
44
+ - [MSAL for Single Page Applications (SPAs)](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-browser)
45
+ - [MSAL for Node.js](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/lib/msal-node)
46
+
47
+ ## Installation
48
+ ### Via NPM:
49
+
50
+ npm install @azure/msal-common
51
+
52
+ ## Security Reporting
53
+
54
+ If you find a security issue with our libraries or services please report it to [secure@microsoft.com](mailto:secure@microsoft.com) with as much detail as possible. Your submission may be eligible for a bounty through the [Microsoft Bounty](http://aka.ms/bugbounty) program. Please do not post security issues to GitHub Issues or any other public site. We will contact you shortly upon receiving the information. We encourage you to get notifications of when security incidents occur by visiting [this page](https://technet.microsoft.com/en-us/security/dd252948) and subscribing to Security Advisory Alerts.
55
+
56
+ ## License
57
+
58
+ Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License (the "License");
59
+
60
+ ## We Value and Adhere to the Microsoft Open Source Code of Conduct
61
+
62
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
@@ -0,0 +1,32 @@
1
+ import { TokenClaims } from "./TokenClaims";
2
+ /**
3
+ * Account object with the following signature:
4
+ * - homeAccountId - Home account identifier for this account object
5
+ * - environment - Entity which issued the token represented by the domain of the issuer (e.g. login.microsoftonline.com)
6
+ * - tenantId - Full tenant or organizational id that this account belongs to
7
+ * - username - preferred_username claim of the id_token that represents this account
8
+ * - localAccountId - Local, tenant-specific account identifer for this account object, usually used in legacy cases
9
+ * - name - Full name for the account, including given name and family name
10
+ * - idToken - raw ID token
11
+ * - idTokenClaims - Object contains claims from ID token
12
+ * - localAccountId - The user's account ID
13
+ * - nativeAccountId - The user's native account ID
14
+ */
15
+ export type AccountInfo = {
16
+ homeAccountId: string;
17
+ environment: string;
18
+ tenantId: string;
19
+ username: string;
20
+ localAccountId: string;
21
+ name?: string;
22
+ idToken?: string;
23
+ idTokenClaims?: TokenClaims & {
24
+ [key: string]: string | number | string[] | object | undefined | unknown;
25
+ };
26
+ nativeAccountId?: string;
27
+ };
28
+ export type ActiveAccountFilters = {
29
+ homeAccountId: string;
30
+ localAccountId: string;
31
+ };
32
+ //# sourceMappingURL=AccountInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountInfo.d.ts","sourceRoot":"","sources":["../../src/account/AccountInfo.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,WAAW,GAAG;QAC1B,CAAC,GAAG,EAAE,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,EAAE,GACR,MAAM,GACN,SAAS,GACT,OAAO,CAAC;KACjB,CAAC;IACF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { TokenClaims } from "./TokenClaims";
2
+ import { ICrypto } from "../crypto/ICrypto";
3
+ /**
4
+ * JWT Token representation class. Parses token string and generates claims object.
5
+ */
6
+ export declare class AuthToken {
7
+ rawToken: string;
8
+ claims: TokenClaims;
9
+ constructor(rawToken: string, crypto: ICrypto);
10
+ /**
11
+ * Extract token by decoding the rawToken
12
+ *
13
+ * @param encodedToken
14
+ */
15
+ static extractTokenClaims(encodedToken: string, crypto: ICrypto): TokenClaims;
16
+ /**
17
+ * Determine if the token's max_age has transpired
18
+ */
19
+ static checkMaxAge(authTime: number, maxAge: number): void;
20
+ }
21
+ //# sourceMappingURL=AuthToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthToken.d.ts","sourceRoot":"","sources":["../../src/account/AuthToken.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C;;GAEG;AACH,qBAAa,SAAS;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB,MAAM,EAAE,WAAW,CAAC;gBACR,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO;IAS7C;;;;OAIG;IACH,MAAM,CAAC,kBAAkB,CACrB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,OAAO,GAChB,WAAW;IAgBd;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI;CAW7D"}
@@ -0,0 +1,56 @@
1
+ /*! @azure/msal-common v14.0.0 2023-05-03 */
2
+ 'use strict';
3
+ import { ClientAuthError } from '../error/ClientAuthError.js';
4
+ import { StringUtils } from '../utils/StringUtils.js';
5
+
6
+ /*
7
+ * Copyright (c) Microsoft Corporation. All rights reserved.
8
+ * Licensed under the MIT License.
9
+ */
10
+ /**
11
+ * JWT Token representation class. Parses token string and generates claims object.
12
+ */
13
+ class AuthToken {
14
+ constructor(rawToken, crypto) {
15
+ if (StringUtils.isEmpty(rawToken)) {
16
+ throw ClientAuthError.createTokenNullOrEmptyError(rawToken);
17
+ }
18
+ this.rawToken = rawToken;
19
+ this.claims = AuthToken.extractTokenClaims(rawToken, crypto);
20
+ }
21
+ /**
22
+ * Extract token by decoding the rawToken
23
+ *
24
+ * @param encodedToken
25
+ */
26
+ static extractTokenClaims(encodedToken, crypto) {
27
+ const decodedToken = StringUtils.decodeAuthToken(encodedToken);
28
+ // token will be decoded to get the username
29
+ try {
30
+ const base64TokenPayload = decodedToken.JWSPayload;
31
+ // base64Decode() should throw an error if there is an issue
32
+ const base64Decoded = crypto.base64Decode(base64TokenPayload);
33
+ return JSON.parse(base64Decoded);
34
+ }
35
+ catch (err) {
36
+ throw ClientAuthError.createTokenParsingError(err);
37
+ }
38
+ }
39
+ /**
40
+ * Determine if the token's max_age has transpired
41
+ */
42
+ static checkMaxAge(authTime, maxAge) {
43
+ /*
44
+ * per https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
45
+ * To force an immediate re-authentication: If an app requires that a user re-authenticate prior to access,
46
+ * provide a value of 0 for the max_age parameter and the AS will force a fresh login.
47
+ */
48
+ const fiveMinuteSkew = 300000; // five minutes in milliseconds
49
+ if (maxAge === 0 || Date.now() - fiveMinuteSkew > authTime + maxAge) {
50
+ throw ClientAuthError.createMaxAgeTranspiredError();
51
+ }
52
+ }
53
+ }
54
+
55
+ export { AuthToken };
56
+ //# sourceMappingURL=AuthToken.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthToken.js","sources":["../../src/account/AuthToken.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAAA;;;AAGG;AAQH;;AAEG;MACU,SAAS,CAAA;IAKlB,WAAY,CAAA,QAAgB,EAAE,MAAe,EAAA;AACzC,QAAA,IAAI,WAAW,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;AAC/B,YAAA,MAAM,eAAe,CAAC,2BAA2B,CAAC,QAAQ,CAAC,CAAC;AAC/D,SAAA;AAED,QAAA,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC,kBAAkB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;KAChE;AAED;;;;AAIG;AACH,IAAA,OAAO,kBAAkB,CACrB,YAAoB,EACpB,MAAe,EAAA;QAEf,MAAM,YAAY,GACd,WAAW,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;;QAG9C,IAAI;AACA,YAAA,MAAM,kBAAkB,GAAG,YAAY,CAAC,UAAU,CAAC;;YAGnD,MAAM,aAAa,GAAG,MAAM,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC;AAC9D,YAAA,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAgB,CAAC;AACnD,SAAA;AAAC,QAAA,OAAO,GAAG,EAAE;AACV,YAAA,MAAM,eAAe,CAAC,uBAAuB,CAAC,GAAa,CAAC,CAAC;AAChE,SAAA;KACJ;AAED;;AAEG;AACH,IAAA,OAAO,WAAW,CAAC,QAAgB,EAAE,MAAc,EAAA;AAC/C;;;;AAIG;AACH,QAAA,MAAM,cAAc,GAAG,MAAM,CAAC;AAC9B,QAAA,IAAI,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,cAAc,GAAG,QAAQ,GAAG,MAAM,EAAE;AACjE,YAAA,MAAM,eAAe,CAAC,2BAA2B,EAAE,CAAC;AACvD,SAAA;KACJ;AACJ;;;;"}
@@ -0,0 +1,9 @@
1
+ export type CcsCredential = {
2
+ credential: string;
3
+ type: CcsCredentialType;
4
+ };
5
+ export declare enum CcsCredentialType {
6
+ HOME_ACCOUNT_ID = "home_account_id",
7
+ UPN = "UPN"
8
+ }
9
+ //# sourceMappingURL=CcsCredential.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CcsCredential.d.ts","sourceRoot":"","sources":["../../src/account/CcsCredential.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,aAAa,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,iBAAiB,CAAC;CAC3B,CAAC;AAEF,oBAAY,iBAAiB;IACzB,eAAe,oBAAoB;IACnC,GAAG,QAAQ;CACd"}
@@ -0,0 +1,14 @@
1
+ /*! @azure/msal-common v14.0.0 2023-05-03 */
2
+ 'use strict';
3
+ /*
4
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5
+ * Licensed under the MIT License.
6
+ */
7
+ var CcsCredentialType;
8
+ (function (CcsCredentialType) {
9
+ CcsCredentialType["HOME_ACCOUNT_ID"] = "home_account_id";
10
+ CcsCredentialType["UPN"] = "UPN";
11
+ })(CcsCredentialType || (CcsCredentialType = {}));
12
+
13
+ export { CcsCredentialType };
14
+ //# sourceMappingURL=CcsCredential.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CcsCredential.js","sources":["../../src/account/CcsCredential.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;IAOS,kBAGX;AAHD,CAAA,UAAY,iBAAiB,EAAA;AACzB,IAAA,iBAAA,CAAA,iBAAA,CAAA,GAAA,iBAAmC,CAAA;AACnC,IAAA,iBAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACf,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,GAG5B,EAAA,CAAA,CAAA;;;;"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Client Assertion credential for Confidential Clients
3
+ */
4
+ export type ClientAssertion = {
5
+ assertion: string;
6
+ assertionType: string;
7
+ };
8
+ /**
9
+ * Client Credentials set for Confidential Clients
10
+ */
11
+ export type ClientCredentials = {
12
+ clientSecret?: string;
13
+ clientAssertion?: ClientAssertion;
14
+ };
15
+ //# sourceMappingURL=ClientCredentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientCredentials.d.ts","sourceRoot":"","sources":["../../src/account/ClientCredentials.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,eAAe,CAAC;CACrC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { ICrypto } from "../crypto/ICrypto";
2
+ /**
3
+ * Client info object which consists of two IDs. Need to add more info here.
4
+ */
5
+ export type ClientInfo = {
6
+ uid: string;
7
+ utid: string;
8
+ };
9
+ /**
10
+ * Function to build a client info object from server clientInfo string
11
+ * @param rawClientInfo
12
+ * @param crypto
13
+ */
14
+ export declare function buildClientInfo(rawClientInfo: string, crypto: ICrypto): ClientInfo;
15
+ /**
16
+ * Function to build a client info object from cached homeAccountId string
17
+ * @param homeAccountId
18
+ */
19
+ export declare function buildClientInfoFromHomeAccountId(homeAccountId: string): ClientInfo;
20
+ //# sourceMappingURL=ClientInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientInfo.d.ts","sourceRoot":"","sources":["../../src/account/ClientInfo.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,eAAe,CAC3B,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,OAAO,GAChB,UAAU,CAaZ;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC5C,aAAa,EAAE,MAAM,GACtB,UAAU,CAiBZ"}
@@ -0,0 +1,46 @@
1
+ /*! @azure/msal-common v14.0.0 2023-05-03 */
2
+ 'use strict';
3
+ import { ClientAuthError } from '../error/ClientAuthError.js';
4
+ import { StringUtils } from '../utils/StringUtils.js';
5
+ import { Separators, Constants } from '../utils/Constants.js';
6
+
7
+ /*
8
+ * Copyright (c) Microsoft Corporation. All rights reserved.
9
+ * Licensed under the MIT License.
10
+ */
11
+ /**
12
+ * Function to build a client info object from server clientInfo string
13
+ * @param rawClientInfo
14
+ * @param crypto
15
+ */
16
+ function buildClientInfo(rawClientInfo, crypto) {
17
+ if (StringUtils.isEmpty(rawClientInfo)) {
18
+ throw ClientAuthError.createClientInfoEmptyError();
19
+ }
20
+ try {
21
+ const decodedClientInfo = crypto.base64Decode(rawClientInfo);
22
+ return JSON.parse(decodedClientInfo);
23
+ }
24
+ catch (e) {
25
+ throw ClientAuthError.createClientInfoDecodingError(e.message);
26
+ }
27
+ }
28
+ /**
29
+ * Function to build a client info object from cached homeAccountId string
30
+ * @param homeAccountId
31
+ */
32
+ function buildClientInfoFromHomeAccountId(homeAccountId) {
33
+ if (StringUtils.isEmpty(homeAccountId)) {
34
+ throw ClientAuthError.createClientInfoDecodingError("Home account ID was empty.");
35
+ }
36
+ const clientInfoParts = homeAccountId.split(Separators.CLIENT_INFO_SEPARATOR, 2);
37
+ return {
38
+ uid: clientInfoParts[0],
39
+ utid: clientInfoParts.length < 2
40
+ ? Constants.EMPTY_STRING
41
+ : clientInfoParts[1],
42
+ };
43
+ }
44
+
45
+ export { buildClientInfo, buildClientInfoFromHomeAccountId };
46
+ //# sourceMappingURL=ClientInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientInfo.js","sources":["../../src/account/ClientInfo.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;AAeH;;;;AAIG;AACa,SAAA,eAAe,CAC3B,aAAqB,EACrB,MAAe,EAAA;AAEf,IAAA,IAAI,WAAW,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE;AACpC,QAAA,MAAM,eAAe,CAAC,0BAA0B,EAAE,CAAC;AACtD,KAAA;IAED,IAAI;QACA,MAAM,iBAAiB,GAAW,MAAM,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;AACrE,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAe,CAAC;AACtD,KAAA;AAAC,IAAA,OAAO,CAAC,EAAE;QACR,MAAM,eAAe,CAAC,6BAA6B,CAC9C,CAAqB,CAAC,OAAO,CACjC,CAAC;AACL,KAAA;AACL,CAAC;AAED;;;AAGG;AACG,SAAU,gCAAgC,CAC5C,aAAqB,EAAA;AAErB,IAAA,IAAI,WAAW,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE;AACpC,QAAA,MAAM,eAAe,CAAC,6BAA6B,CAC/C,4BAA4B,CAC/B,CAAC;AACL,KAAA;AACD,IAAA,MAAM,eAAe,GAAa,aAAa,CAAC,KAAK,CACjD,UAAU,CAAC,qBAAqB,EAChC,CAAC,CACJ,CAAC;IACF,OAAO;AACH,QAAA,GAAG,EAAE,eAAe,CAAC,CAAC,CAAC;AACvB,QAAA,IAAI,EACA,eAAe,CAAC,MAAM,GAAG,CAAC;cACpB,SAAS,CAAC,YAAY;AACxB,cAAE,eAAe,CAAC,CAAC,CAAC;KAC/B,CAAC;AACN;;;;"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Interface for Decoded JWT tokens.
3
+ */
4
+ export interface DecodedAuthToken {
5
+ header: string;
6
+ JWSPayload: string;
7
+ JWSSig: string;
8
+ }
9
+ //# sourceMappingURL=DecodedAuthToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DecodedAuthToken.d.ts","sourceRoot":"","sources":["../../src/account/DecodedAuthToken.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Type which describes Id Token claims known by MSAL.
3
+ */
4
+ export type TokenClaims = {
5
+ /**
6
+ * Audience
7
+ */
8
+ aud?: string;
9
+ /**
10
+ * Issuer
11
+ */
12
+ iss?: string;
13
+ /**
14
+ * Issued at
15
+ */
16
+ iat?: number;
17
+ /**
18
+ * Not valid before
19
+ */
20
+ nbf?: number;
21
+ /**
22
+ * Immutable object identifier, this ID uniquely identifies the user across applications
23
+ */
24
+ oid?: string;
25
+ /**
26
+ * Immutable subject identifier, this is a pairwise identifier - it is unique to a particular application ID
27
+ */
28
+ sub?: string;
29
+ /**
30
+ * Users' tenant or '9188040d-6c67-4c5b-b112-36a304b66dad' for personal accounts.
31
+ */
32
+ tid?: string;
33
+ ver?: string;
34
+ upn?: string;
35
+ preferred_username?: string;
36
+ login_hint?: string;
37
+ emails?: string[];
38
+ name?: string;
39
+ nonce?: string;
40
+ /**
41
+ * Expiration
42
+ */
43
+ exp?: number;
44
+ home_oid?: string;
45
+ sid?: string;
46
+ cloud_instance_host_name?: string;
47
+ cnf?: {
48
+ kid: string;
49
+ };
50
+ x5c_ca?: string[];
51
+ ts?: number;
52
+ at?: string;
53
+ u?: string;
54
+ p?: string;
55
+ m?: string;
56
+ roles?: string[];
57
+ amr?: string[];
58
+ idp?: string;
59
+ auth_time?: number;
60
+ /**
61
+ * Region of the resource tenant
62
+ */
63
+ tenant_region_scope?: string;
64
+ tenant_region_sub_scope?: string;
65
+ };
66
+ //# sourceMappingURL=TokenClaims.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenClaims.d.ts","sourceRoot":"","sources":["../../src/account/TokenClaims.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,GAAG,CAAC,EAAE;QACF,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;IACF,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CACpC,CAAC"}
@@ -0,0 +1,216 @@
1
+ import { AuthorityType } from "./AuthorityType";
2
+ import { OpenIdConfigResponse } from "./OpenIdConfigResponse";
3
+ import { IUri } from "../url/IUri";
4
+ import { INetworkModule } from "../network/INetworkModule";
5
+ import { ProtocolMode } from "./ProtocolMode";
6
+ import { ICacheManager } from "../cache/interface/ICacheManager";
7
+ import { AuthorityOptions } from "./AuthorityOptions";
8
+ import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata";
9
+ import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata";
10
+ import { AzureCloudOptions } from "../config/ClientConfiguration";
11
+ import { Logger } from "../logger/Logger";
12
+ import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
13
+ /**
14
+ * The authority class validates the authority URIs used by the user, and retrieves the OpenID Configuration Data from the
15
+ * endpoint. It will store the pertinent config data in this object for use during token calls.
16
+ */
17
+ export declare class Authority {
18
+ private _canonicalAuthority;
19
+ private _canonicalAuthorityUrlComponents;
20
+ protected networkInterface: INetworkModule;
21
+ protected cacheManager: ICacheManager;
22
+ private authorityOptions;
23
+ private metadata;
24
+ private regionDiscovery;
25
+ regionDiscoveryMetadata: RegionDiscoveryMetadata;
26
+ private logger;
27
+ protected performanceClient: IPerformanceClient | undefined;
28
+ protected correlationId: string | undefined;
29
+ constructor(authority: string, networkInterface: INetworkModule, cacheManager: ICacheManager, authorityOptions: AuthorityOptions, logger: Logger, performanceClient?: IPerformanceClient, correlationId?: string);
30
+ get authorityType(): AuthorityType;
31
+ /**
32
+ * ProtocolMode enum representing the way endpoints are constructed.
33
+ */
34
+ get protocolMode(): ProtocolMode;
35
+ /**
36
+ * Returns authorityOptions which can be used to reinstantiate a new authority instance
37
+ */
38
+ get options(): AuthorityOptions;
39
+ /**
40
+ * A URL that is the authority set by the developer
41
+ */
42
+ get canonicalAuthority(): string;
43
+ /**
44
+ * Sets canonical authority.
45
+ */
46
+ set canonicalAuthority(url: string);
47
+ /**
48
+ * Get authority components.
49
+ */
50
+ get canonicalAuthorityUrlComponents(): IUri;
51
+ /**
52
+ * Get hostname and port i.e. login.microsoftonline.com
53
+ */
54
+ get hostnameAndPort(): string;
55
+ /**
56
+ * Get tenant for authority.
57
+ */
58
+ get tenant(): string;
59
+ /**
60
+ * OAuth /authorize endpoint for requests
61
+ */
62
+ get authorizationEndpoint(): string;
63
+ /**
64
+ * OAuth /token endpoint for requests
65
+ */
66
+ get tokenEndpoint(): string;
67
+ get deviceCodeEndpoint(): string;
68
+ /**
69
+ * OAuth logout endpoint for requests
70
+ */
71
+ get endSessionEndpoint(): string;
72
+ /**
73
+ * OAuth issuer for requests
74
+ */
75
+ get selfSignedJwtAudience(): string;
76
+ /**
77
+ * Jwks_uri for token signing keys
78
+ */
79
+ get jwksUri(): string;
80
+ /**
81
+ * Replaces tenant in url path with current tenant. Defaults to common.
82
+ * @param urlString
83
+ */
84
+ private replaceTenant;
85
+ /**
86
+ * Replaces path such as tenant or policy with the current tenant or policy.
87
+ * @param urlString
88
+ */
89
+ private replacePath;
90
+ /**
91
+ * The default open id configuration endpoint for any canonical authority.
92
+ */
93
+ protected get defaultOpenIdConfigurationEndpoint(): string;
94
+ /**
95
+ * Boolean that returns whethr or not tenant discovery has been completed.
96
+ */
97
+ discoveryComplete(): boolean;
98
+ /**
99
+ * Perform endpoint discovery to discover aliases, preferred_cache, preferred_network
100
+ * and the /authorize, /token and logout endpoints.
101
+ */
102
+ resolveEndpointsAsync(): Promise<void>;
103
+ /**
104
+ * Update AuthorityMetadataEntity with new endpoints and return where the information came from
105
+ * @param metadataEntity
106
+ */
107
+ private updateEndpointMetadata;
108
+ /**
109
+ * Compares the number of url components after the domain to determine if the cached
110
+ * authority metadata can be used for the requested authority. Protects against same domain different
111
+ * authority such as login.microsoftonline.com/tenant and login.microsoftonline.com/tfp/tenant/policy
112
+ * @param metadataEntity
113
+ */
114
+ private isAuthoritySameType;
115
+ /**
116
+ * Parse authorityMetadata config option
117
+ */
118
+ private getEndpointMetadataFromConfig;
119
+ /**
120
+ * Gets OAuth endpoints from the given OpenID configuration endpoint.
121
+ *
122
+ * @param hasHardcodedMetadata boolean
123
+ */
124
+ private getEndpointMetadataFromNetwork;
125
+ /**
126
+ * Get OAuth endpoints for common authorities.
127
+ */
128
+ private getEndpointMetadataFromHardcodedValues;
129
+ /**
130
+ * Update the retrieved metadata with regional information.
131
+ */
132
+ private updateMetadataWithRegionalInformation;
133
+ /**
134
+ * Updates the AuthorityMetadataEntity with new aliases, preferred_network and preferred_cache
135
+ * and returns where the information was retrieved from
136
+ * @param metadataEntity
137
+ * @returns AuthorityMetadataSource
138
+ */
139
+ private updateCloudDiscoveryMetadata;
140
+ /**
141
+ * Parse cloudDiscoveryMetadata config or check knownAuthorities
142
+ */
143
+ private getCloudDiscoveryMetadataFromConfig;
144
+ /**
145
+ * Called to get metadata from network if CloudDiscoveryMetadata was not populated by config
146
+ *
147
+ * @param hasHardcodedMetadata boolean
148
+ */
149
+ private getCloudDiscoveryMetadataFromNetwork;
150
+ /**
151
+ * Get cloud discovery metadata for common authorities
152
+ */
153
+ private getCloudDiscoveryMetadataFromHarcodedValues;
154
+ /**
155
+ * Helper function to determine if this host is included in the knownAuthorities config option
156
+ */
157
+ private isInKnownAuthorities;
158
+ /**
159
+ * helper function to populate the authority based on azureCloudOptions
160
+ * @param authorityString
161
+ * @param azureCloudOptions
162
+ */
163
+ static generateAuthority(authorityString: string, azureCloudOptions?: AzureCloudOptions): string;
164
+ /**
165
+ * Creates cloud discovery metadata object from a given host
166
+ * @param host
167
+ */
168
+ static createCloudDiscoveryMetadataFromHost(host: string): CloudDiscoveryMetadata;
169
+ /**
170
+ * Searches instance discovery network response for the entry that contains the host in the aliases list
171
+ * @param response
172
+ * @param authority
173
+ */
174
+ static getCloudDiscoveryMetadataFromNetworkResponse(response: CloudDiscoveryMetadata[], authority: string): CloudDiscoveryMetadata | null;
175
+ /**
176
+ * helper function to generate environment from authority object
177
+ */
178
+ getPreferredCache(): string;
179
+ /**
180
+ * Returns whether or not the provided host is an alias of this authority instance
181
+ * @param host
182
+ */
183
+ isAlias(host: string): boolean;
184
+ /**
185
+ * Checks whether the provided host is that of a public cloud authority
186
+ *
187
+ * @param authority string
188
+ * @returns bool
189
+ */
190
+ static isPublicCloudAuthority(host: string): boolean;
191
+ /**
192
+ * Rebuild the authority string with the region
193
+ *
194
+ * @param host string
195
+ * @param region string
196
+ */
197
+ static buildRegionalAuthorityString(host: string, region: string, queryString?: string): string;
198
+ /**
199
+ * Replace the endpoints in the metadata object with their regional equivalents.
200
+ *
201
+ * @param metadata OpenIdConfigResponse
202
+ * @param azureRegion string
203
+ */
204
+ static replaceWithRegionalInformation(metadata: OpenIdConfigResponse, azureRegion: string): OpenIdConfigResponse;
205
+ /**
206
+ * Transform CIAM_AUTHORIY as per the below rules:
207
+ * If no path segments found and it is a CIAM authority (hostname ends with .ciamlogin.com), then transform it
208
+ *
209
+ * NOTE: The transformation path should go away once STS supports CIAM with the format: `tenantIdorDomain.ciamlogin.com`
210
+ * `ciamlogin.com` can also change in the future and we should accommodate the same
211
+ *
212
+ * @param authority
213
+ */
214
+ static transformCIAMAuthority(authority: string): string;
215
+ }
216
+ //# sourceMappingURL=Authority.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Authority.d.ts","sourceRoot":"","sources":["../../src/authority/Authority.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAEH,oBAAoB,EACvB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAW3D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEjE,OAAO,EAAE,gBAAgB,EAAsB,MAAM,oBAAoB,CAAC;AAS1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AAGjF;;;GAGG;AACH,qBAAa,SAAS;IAElB,OAAO,CAAC,mBAAmB,CAAY;IAEvC,OAAO,CAAC,gCAAgC,CAAc;IAEtD,SAAS,CAAC,gBAAgB,EAAE,cAAc,CAAC;IAE3C,SAAS,CAAC,YAAY,EAAE,aAAa,CAAC;IAEtC,OAAO,CAAC,gBAAgB,CAAmB;IAE3C,OAAO,CAAC,QAAQ,CAA0B;IAE1C,OAAO,CAAC,eAAe,CAAkB;IAElC,uBAAuB,EAAE,uBAAuB,CAAC;IAExD,OAAO,CAAC,MAAM,CAAS;IAEvB,SAAS,CAAC,iBAAiB,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAE5D,SAAS,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;gBAGxC,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,cAAc,EAChC,YAAY,EAAE,aAAa,EAC3B,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,MAAM,EACd,iBAAiB,CAAC,EAAE,kBAAkB,EACtC,aAAa,CAAC,EAAE,MAAM;IAuB1B,IAAW,aAAa,IAAI,aAAa,CAmBxC;IAED;;OAEG;IACH,IAAW,YAAY,IAAI,YAAY,CAEtC;IAED;;OAEG;IACH,IAAW,OAAO,IAAI,gBAAgB,CAErC;IAED;;OAEG;IACH,IAAW,kBAAkB,IAAI,MAAM,CAEtC;IAED;;OAEG;IACH,IAAW,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAIxC;IAED;;OAEG;IACH,IAAW,+BAA+B,IAAI,IAAI,CAOjD;IAED;;OAEG;IACH,IAAW,eAAe,IAAI,MAAM,CAEnC;IAED;;OAEG;IACH,IAAW,MAAM,IAAI,MAAM,CAE1B;IAED;;OAEG;IACH,IAAW,qBAAqB,IAAI,MAAM,CAWzC;IAED;;OAEG;IACH,IAAW,aAAa,IAAI,MAAM,CASjC;IAED,IAAW,kBAAkB,IAAI,MAAM,CAWtC;IAED;;OAEG;IACH,IAAW,kBAAkB,IAAI,MAAM,CAetC;IAED;;OAEG;IACH,IAAW,qBAAqB,IAAI,MAAM,CASzC;IAED;;OAEG;IACH,IAAW,OAAO,IAAI,MAAM,CAS3B;IAED;;;OAGG;IACH,OAAO,CAAC,aAAa;IAIrB;;;OAGG;IACH,OAAO,CAAC,WAAW;IAuBnB;;OAEG;IACH,SAAS,KAAK,kCAAkC,IAAI,MAAM,CAQzD;IAED;;OAEG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;OAGG;IACU,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC;IAiDnD;;;OAGG;YACW,sBAAsB;IAsEpC;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IAc3B;;OAEG;IACH,OAAO,CAAC,6BAA6B;IAcrC;;;;OAIG;YACW,8BAA8B;IAyB5C;;OAEG;IACH,OAAO,CAAC,sCAAsC;IAQ9C;;OAEG;YACW,qCAAqC;IAsDnD;;;;;OAKG;YACW,4BAA4B;IA4F1C;;OAEG;IACH,OAAO,CAAC,mCAAmC;IAyD3C;;;;OAIG;YACW,oCAAoC;IAsGlD;;OAEG;IACH,OAAO,CAAC,2CAA2C;IAQnD;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAa5B;;;;OAIG;IACH,MAAM,CAAC,iBAAiB,CACpB,eAAe,EAAE,MAAM,EACvB,iBAAiB,CAAC,EAAE,iBAAiB,GACtC,MAAM;IAkBT;;;OAGG;IACH,MAAM,CAAC,oCAAoC,CACvC,IAAI,EAAE,MAAM,GACb,sBAAsB;IAQzB;;;;OAIG;IACH,MAAM,CAAC,4CAA4C,CAC/C,QAAQ,EAAE,sBAAsB,EAAE,EAClC,SAAS,EAAE,MAAM,GAClB,sBAAsB,GAAG,IAAI;IAWhC;;OAEG;IACH,iBAAiB,IAAI,MAAM;IAU3B;;;OAGG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAI9B;;;;;OAKG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIpD;;;;;OAKG;IACH,MAAM,CAAC,4BAA4B,CAC/B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,MAAM,GACrB,MAAM;IAyBT;;;;;OAKG;IACH,MAAM,CAAC,8BAA8B,CACjC,QAAQ,EAAE,oBAAoB,EAC9B,WAAW,EAAE,MAAM,GACpB,oBAAoB;IAwBvB;;;;;;;;OAQG;IACH,MAAM,CAAC,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;CAc3D"}