@azure/msal-common 15.13.0 → 16.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 (421) hide show
  1. package/dist/account/AccountInfo.d.ts +0 -4
  2. package/dist/account/AccountInfo.d.ts.map +1 -1
  3. package/dist/account/AccountInfo.mjs +1 -1
  4. package/dist/account/AccountInfo.mjs.map +1 -1
  5. package/dist/account/AuthToken.mjs +1 -1
  6. package/dist/account/AuthToken.mjs.map +1 -1
  7. package/dist/account/CcsCredential.mjs +1 -1
  8. package/dist/account/CcsCredential.mjs.map +1 -1
  9. package/dist/account/ClientInfo.d.ts +1 -5
  10. package/dist/account/ClientInfo.d.ts.map +1 -1
  11. package/dist/account/ClientInfo.mjs +4 -6
  12. package/dist/account/ClientInfo.mjs.map +1 -1
  13. package/dist/account/TokenClaims.mjs +1 -1
  14. package/dist/account/TokenClaims.mjs.map +1 -1
  15. package/dist/authority/Authority.d.ts +2 -2
  16. package/dist/authority/Authority.d.ts.map +1 -1
  17. package/dist/authority/Authority.mjs +89 -105
  18. package/dist/authority/Authority.mjs.map +1 -1
  19. package/dist/authority/AuthorityFactory.d.ts +6 -2
  20. package/dist/authority/AuthorityFactory.d.ts.map +1 -1
  21. package/dist/authority/AuthorityFactory.mjs +8 -5
  22. package/dist/authority/AuthorityFactory.mjs.map +1 -1
  23. package/dist/authority/AuthorityMetadata.d.ts +2 -2
  24. package/dist/authority/AuthorityMetadata.d.ts.map +1 -1
  25. package/dist/authority/AuthorityMetadata.mjs +8 -8
  26. package/dist/authority/AuthorityMetadata.mjs.map +1 -1
  27. package/dist/authority/AuthorityOptions.d.ts +0 -1
  28. package/dist/authority/AuthorityOptions.d.ts.map +1 -1
  29. package/dist/authority/AuthorityOptions.mjs +1 -1
  30. package/dist/authority/AuthorityOptions.mjs.map +1 -1
  31. package/dist/authority/AuthorityType.mjs +1 -1
  32. package/dist/authority/AuthorityType.mjs.map +1 -1
  33. package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
  34. package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
  35. package/dist/authority/OIDCOptions.d.ts +2 -2
  36. package/dist/authority/OIDCOptions.d.ts.map +1 -1
  37. package/dist/authority/OpenIdConfigResponse.mjs +1 -1
  38. package/dist/authority/ProtocolMode.mjs +1 -1
  39. package/dist/authority/ProtocolMode.mjs.map +1 -1
  40. package/dist/authority/RegionDiscovery.d.ts +3 -3
  41. package/dist/authority/RegionDiscovery.d.ts.map +1 -1
  42. package/dist/authority/RegionDiscovery.mjs +14 -15
  43. package/dist/authority/RegionDiscovery.mjs.map +1 -1
  44. package/dist/cache/CacheManager.d.ts +25 -17
  45. package/dist/cache/CacheManager.d.ts.map +1 -1
  46. package/dist/cache/CacheManager.mjs +69 -80
  47. package/dist/cache/CacheManager.mjs.map +1 -1
  48. package/dist/cache/entities/AccessTokenEntity.d.ts +0 -4
  49. package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
  50. package/dist/cache/entities/AccountEntity.d.ts +4 -57
  51. package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
  52. package/dist/cache/entities/CredentialEntity.d.ts +0 -2
  53. package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
  54. package/dist/cache/interface/ICacheManager.d.ts +41 -12
  55. package/dist/cache/interface/ICacheManager.d.ts.map +1 -1
  56. package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
  57. package/dist/cache/persistence/TokenCacheContext.mjs.map +1 -1
  58. package/dist/cache/utils/AccountEntityUtils.d.ts +60 -0
  59. package/dist/cache/utils/AccountEntityUtils.d.ts.map +1 -0
  60. package/dist/cache/utils/AccountEntityUtils.mjs +212 -0
  61. package/dist/cache/utils/AccountEntityUtils.mjs.map +1 -0
  62. package/dist/cache/utils/CacheHelpers.d.ts +2 -2
  63. package/dist/cache/utils/CacheHelpers.d.ts.map +1 -1
  64. package/dist/cache/utils/CacheHelpers.mjs +10 -13
  65. package/dist/cache/utils/CacheHelpers.mjs.map +1 -1
  66. package/dist/cache/utils/CacheTypes.d.ts +0 -1
  67. package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
  68. package/dist/client/AuthorizationCodeClient.d.ts +1 -1
  69. package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
  70. package/dist/client/AuthorizationCodeClient.mjs +16 -20
  71. package/dist/client/AuthorizationCodeClient.mjs.map +1 -1
  72. package/dist/client/BaseClient.d.ts +3 -3
  73. package/dist/client/BaseClient.d.ts.map +1 -1
  74. package/dist/client/BaseClient.mjs +7 -12
  75. package/dist/client/BaseClient.mjs.map +1 -1
  76. package/dist/client/RefreshTokenClient.d.ts +1 -1
  77. package/dist/client/RefreshTokenClient.d.ts.map +1 -1
  78. package/dist/client/RefreshTokenClient.mjs +22 -27
  79. package/dist/client/RefreshTokenClient.mjs.map +1 -1
  80. package/dist/client/SilentFlowClient.d.ts +1 -1
  81. package/dist/client/SilentFlowClient.d.ts.map +1 -1
  82. package/dist/client/SilentFlowClient.mjs +8 -12
  83. package/dist/client/SilentFlowClient.mjs.map +1 -1
  84. package/dist/config/ClientConfiguration.d.ts +2 -22
  85. package/dist/config/ClientConfiguration.d.ts.map +1 -1
  86. package/dist/config/ClientConfiguration.mjs +9 -15
  87. package/dist/config/ClientConfiguration.mjs.map +1 -1
  88. package/dist/constants/AADServerParamKeys.mjs +1 -1
  89. package/dist/crypto/ICrypto.d.ts +5 -3
  90. package/dist/crypto/ICrypto.d.ts.map +1 -1
  91. package/dist/crypto/ICrypto.mjs +1 -1
  92. package/dist/crypto/ICrypto.mjs.map +1 -1
  93. package/dist/crypto/JoseHeader.mjs +1 -1
  94. package/dist/crypto/JoseHeader.mjs.map +1 -1
  95. package/dist/crypto/PopTokenGenerator.d.ts +2 -2
  96. package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
  97. package/dist/crypto/PopTokenGenerator.mjs +3 -5
  98. package/dist/crypto/PopTokenGenerator.mjs.map +1 -1
  99. package/dist/error/AuthError.d.ts +1 -18
  100. package/dist/error/AuthError.d.ts.map +1 -1
  101. package/dist/error/AuthError.mjs +12 -34
  102. package/dist/error/AuthError.mjs.map +1 -1
  103. package/dist/error/AuthErrorCodes.mjs +1 -1
  104. package/dist/error/CacheError.d.ts +1 -6
  105. package/dist/error/CacheError.d.ts.map +1 -1
  106. package/dist/error/CacheError.mjs +6 -13
  107. package/dist/error/CacheError.mjs.map +1 -1
  108. package/dist/error/CacheErrorCodes.mjs +1 -1
  109. package/dist/error/ClientAuthError.d.ts +0 -224
  110. package/dist/error/ClientAuthError.d.ts.map +1 -1
  111. package/dist/error/ClientAuthError.mjs +3 -235
  112. package/dist/error/ClientAuthError.mjs.map +1 -1
  113. package/dist/error/ClientAuthErrorCodes.d.ts +0 -8
  114. package/dist/error/ClientAuthErrorCodes.d.ts.map +1 -1
  115. package/dist/error/ClientAuthErrorCodes.mjs +2 -10
  116. package/dist/error/ClientAuthErrorCodes.mjs.map +1 -1
  117. package/dist/error/ClientConfigurationError.d.ts +0 -123
  118. package/dist/error/ClientConfigurationError.d.ts.map +1 -1
  119. package/dist/error/ClientConfigurationError.mjs +3 -129
  120. package/dist/error/ClientConfigurationError.mjs.map +1 -1
  121. package/dist/error/ClientConfigurationErrorCodes.d.ts +0 -2
  122. package/dist/error/ClientConfigurationErrorCodes.d.ts.map +1 -1
  123. package/dist/error/ClientConfigurationErrorCodes.mjs +3 -5
  124. package/dist/error/ClientConfigurationErrorCodes.mjs.map +1 -1
  125. package/dist/error/InteractionRequiredAuthError.d.ts +1 -19
  126. package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
  127. package/dist/error/InteractionRequiredAuthError.mjs +10 -35
  128. package/dist/error/InteractionRequiredAuthError.mjs.map +1 -1
  129. package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
  130. package/dist/error/JoseHeaderError.d.ts +0 -4
  131. package/dist/error/JoseHeaderError.d.ts.map +1 -1
  132. package/dist/error/JoseHeaderError.mjs +3 -8
  133. package/dist/error/JoseHeaderError.mjs.map +1 -1
  134. package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
  135. package/dist/error/NetworkError.mjs +1 -1
  136. package/dist/error/NetworkError.mjs.map +1 -1
  137. package/dist/error/ServerError.mjs +1 -1
  138. package/dist/error/ServerError.mjs.map +1 -1
  139. package/dist/exports-browser-only.d.ts +4 -3
  140. package/dist/exports-browser-only.d.ts.map +1 -1
  141. package/dist/exports-common.d.ts +8 -6
  142. package/dist/exports-common.d.ts.map +1 -1
  143. package/dist/exports-node-only.d.ts +1 -4
  144. package/dist/exports-node-only.d.ts.map +1 -1
  145. package/dist/index-browser.mjs +12 -8
  146. package/dist/index-browser.mjs.map +1 -1
  147. package/dist/index-node.mjs +10 -7
  148. package/dist/index-node.mjs.map +1 -1
  149. package/dist/index.mjs +12 -8
  150. package/dist/index.mjs.map +1 -1
  151. package/dist/logger/Logger.d.ts +12 -13
  152. package/dist/logger/Logger.d.ts.map +1 -1
  153. package/dist/logger/Logger.mjs +16 -21
  154. package/dist/logger/Logger.mjs.map +1 -1
  155. package/dist/network/INetworkModule.mjs +1 -1
  156. package/dist/network/INetworkModule.mjs.map +1 -1
  157. package/dist/network/RequestThumbprint.mjs +1 -1
  158. package/dist/network/ThrottlingUtils.d.ts.map +1 -1
  159. package/dist/network/ThrottlingUtils.mjs +6 -7
  160. package/dist/network/ThrottlingUtils.mjs.map +1 -1
  161. package/dist/packageMetadata.d.ts +1 -1
  162. package/dist/packageMetadata.d.ts.map +1 -1
  163. package/dist/packageMetadata.mjs +2 -2
  164. package/dist/protocol/Authorize.d.ts +1 -2
  165. package/dist/protocol/Authorize.d.ts.map +1 -1
  166. package/dist/protocol/Authorize.mjs +14 -14
  167. package/dist/protocol/Authorize.mjs.map +1 -1
  168. package/dist/request/AuthenticationHeaderParser.d.ts.map +1 -1
  169. package/dist/request/AuthenticationHeaderParser.mjs +3 -3
  170. package/dist/request/AuthenticationHeaderParser.mjs.map +1 -1
  171. package/dist/request/BaseAuthRequest.d.ts +1 -7
  172. package/dist/request/BaseAuthRequest.d.ts.map +1 -1
  173. package/dist/request/RequestParameterBuilder.d.ts +3 -9
  174. package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
  175. package/dist/request/RequestParameterBuilder.mjs +7 -20
  176. package/dist/request/RequestParameterBuilder.mjs.map +1 -1
  177. package/dist/request/ScopeSet.mjs +5 -5
  178. package/dist/request/ScopeSet.mjs.map +1 -1
  179. package/dist/response/AuthenticationResult.d.ts +1 -1
  180. package/dist/response/AuthenticationResult.d.ts.map +1 -1
  181. package/dist/response/ResponseHandler.d.ts +6 -5
  182. package/dist/response/ResponseHandler.d.ts.map +1 -1
  183. package/dist/response/ResponseHandler.mjs +39 -41
  184. package/dist/response/ResponseHandler.mjs.map +1 -1
  185. package/dist/telemetry/performance/IPerformanceClient.d.ts +1 -31
  186. package/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
  187. package/dist/telemetry/performance/PerformanceClient.d.ts +6 -85
  188. package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
  189. package/dist/telemetry/performance/PerformanceClient.mjs +28 -188
  190. package/dist/telemetry/performance/PerformanceClient.mjs.map +1 -1
  191. package/dist/telemetry/performance/PerformanceEvent.d.ts +0 -282
  192. package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
  193. package/dist/telemetry/performance/PerformanceEvent.mjs +2 -483
  194. package/dist/telemetry/performance/PerformanceEvent.mjs.map +1 -1
  195. package/dist/telemetry/performance/PerformanceEvents.d.ts +65 -0
  196. package/dist/telemetry/performance/PerformanceEvents.d.ts.map +1 -0
  197. package/dist/telemetry/performance/PerformanceEvents.mjs +73 -0
  198. package/dist/telemetry/performance/PerformanceEvents.mjs.map +1 -0
  199. package/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -4
  200. package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
  201. package/dist/telemetry/performance/StubPerformanceClient.mjs +2 -26
  202. package/dist/telemetry/performance/StubPerformanceClient.mjs.map +1 -1
  203. package/dist/telemetry/server/ServerTelemetryManager.d.ts +2 -2
  204. package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
  205. package/dist/telemetry/server/ServerTelemetryManager.mjs +28 -30
  206. package/dist/telemetry/server/ServerTelemetryManager.mjs.map +1 -1
  207. package/dist/url/UrlString.d.ts +0 -5
  208. package/dist/url/UrlString.d.ts.map +1 -1
  209. package/dist/url/UrlString.mjs +5 -13
  210. package/dist/url/UrlString.mjs.map +1 -1
  211. package/dist/utils/ClientAssertionUtils.mjs +1 -1
  212. package/dist/utils/ClientAssertionUtils.mjs.map +1 -1
  213. package/dist/utils/Constants.d.ts +81 -117
  214. package/dist/utils/Constants.d.ts.map +1 -1
  215. package/dist/utils/Constants.mjs +100 -131
  216. package/dist/utils/Constants.mjs.map +1 -1
  217. package/dist/utils/FunctionWrappers.d.ts +2 -2
  218. package/dist/utils/FunctionWrappers.d.ts.map +1 -1
  219. package/dist/utils/FunctionWrappers.mjs +19 -20
  220. package/dist/utils/FunctionWrappers.mjs.map +1 -1
  221. package/dist/utils/ProtocolUtils.mjs +7 -7
  222. package/dist/utils/ProtocolUtils.mjs.map +1 -1
  223. package/dist/utils/StringUtils.mjs +1 -1
  224. package/dist/utils/StringUtils.mjs.map +1 -1
  225. package/dist/utils/TimeUtils.mjs +1 -1
  226. package/dist/utils/TimeUtils.mjs.map +1 -1
  227. package/dist/utils/UrlUtils.d.ts +1 -2
  228. package/dist/utils/UrlUtils.d.ts.map +1 -1
  229. package/dist/utils/UrlUtils.mjs +3 -10
  230. package/dist/utils/UrlUtils.mjs.map +1 -1
  231. package/lib/index-browser.cjs +29 -222
  232. package/lib/index-browser.cjs.map +1 -1
  233. package/lib/{index-node-D8Iaiqq3.js → index-node-FrCFfFuh.js} +1606 -2493
  234. package/lib/index-node-FrCFfFuh.js.map +1 -0
  235. package/lib/index-node.cjs +4 -33
  236. package/lib/index-node.cjs.map +1 -1
  237. package/lib/index.cjs +3 -33
  238. package/lib/index.cjs.map +1 -1
  239. package/lib/types/account/AccountInfo.d.ts +0 -4
  240. package/lib/types/account/AccountInfo.d.ts.map +1 -1
  241. package/lib/types/account/ClientInfo.d.ts +1 -5
  242. package/lib/types/account/ClientInfo.d.ts.map +1 -1
  243. package/lib/types/authority/Authority.d.ts +2 -2
  244. package/lib/types/authority/Authority.d.ts.map +1 -1
  245. package/lib/types/authority/AuthorityFactory.d.ts +6 -2
  246. package/lib/types/authority/AuthorityFactory.d.ts.map +1 -1
  247. package/lib/types/authority/AuthorityMetadata.d.ts +2 -2
  248. package/lib/types/authority/AuthorityMetadata.d.ts.map +1 -1
  249. package/lib/types/authority/AuthorityOptions.d.ts +0 -1
  250. package/lib/types/authority/AuthorityOptions.d.ts.map +1 -1
  251. package/lib/types/authority/OIDCOptions.d.ts +2 -2
  252. package/lib/types/authority/OIDCOptions.d.ts.map +1 -1
  253. package/lib/types/authority/RegionDiscovery.d.ts +3 -3
  254. package/lib/types/authority/RegionDiscovery.d.ts.map +1 -1
  255. package/lib/types/cache/CacheManager.d.ts +25 -17
  256. package/lib/types/cache/CacheManager.d.ts.map +1 -1
  257. package/lib/types/cache/entities/AccessTokenEntity.d.ts +0 -4
  258. package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +1 -1
  259. package/lib/types/cache/entities/AccountEntity.d.ts +4 -57
  260. package/lib/types/cache/entities/AccountEntity.d.ts.map +1 -1
  261. package/lib/types/cache/entities/CredentialEntity.d.ts +0 -2
  262. package/lib/types/cache/entities/CredentialEntity.d.ts.map +1 -1
  263. package/lib/types/cache/interface/ICacheManager.d.ts +41 -12
  264. package/lib/types/cache/interface/ICacheManager.d.ts.map +1 -1
  265. package/lib/types/cache/utils/AccountEntityUtils.d.ts +60 -0
  266. package/lib/types/cache/utils/AccountEntityUtils.d.ts.map +1 -0
  267. package/lib/types/cache/utils/CacheHelpers.d.ts +2 -2
  268. package/lib/types/cache/utils/CacheHelpers.d.ts.map +1 -1
  269. package/lib/types/cache/utils/CacheTypes.d.ts +0 -1
  270. package/lib/types/cache/utils/CacheTypes.d.ts.map +1 -1
  271. package/lib/types/client/AuthorizationCodeClient.d.ts +1 -1
  272. package/lib/types/client/AuthorizationCodeClient.d.ts.map +1 -1
  273. package/lib/types/client/BaseClient.d.ts +3 -3
  274. package/lib/types/client/BaseClient.d.ts.map +1 -1
  275. package/lib/types/client/RefreshTokenClient.d.ts +1 -1
  276. package/lib/types/client/RefreshTokenClient.d.ts.map +1 -1
  277. package/lib/types/client/SilentFlowClient.d.ts +1 -1
  278. package/lib/types/client/SilentFlowClient.d.ts.map +1 -1
  279. package/lib/types/config/ClientConfiguration.d.ts +2 -22
  280. package/lib/types/config/ClientConfiguration.d.ts.map +1 -1
  281. package/lib/types/crypto/ICrypto.d.ts +5 -3
  282. package/lib/types/crypto/ICrypto.d.ts.map +1 -1
  283. package/lib/types/crypto/PopTokenGenerator.d.ts +2 -2
  284. package/lib/types/crypto/PopTokenGenerator.d.ts.map +1 -1
  285. package/lib/types/error/AuthError.d.ts +1 -18
  286. package/lib/types/error/AuthError.d.ts.map +1 -1
  287. package/lib/types/error/CacheError.d.ts +1 -6
  288. package/lib/types/error/CacheError.d.ts.map +1 -1
  289. package/lib/types/error/ClientAuthError.d.ts +0 -224
  290. package/lib/types/error/ClientAuthError.d.ts.map +1 -1
  291. package/lib/types/error/ClientAuthErrorCodes.d.ts +0 -8
  292. package/lib/types/error/ClientAuthErrorCodes.d.ts.map +1 -1
  293. package/lib/types/error/ClientConfigurationError.d.ts +0 -123
  294. package/lib/types/error/ClientConfigurationError.d.ts.map +1 -1
  295. package/lib/types/error/ClientConfigurationErrorCodes.d.ts +0 -2
  296. package/lib/types/error/ClientConfigurationErrorCodes.d.ts.map +1 -1
  297. package/lib/types/error/InteractionRequiredAuthError.d.ts +1 -19
  298. package/lib/types/error/InteractionRequiredAuthError.d.ts.map +1 -1
  299. package/lib/types/error/JoseHeaderError.d.ts +0 -4
  300. package/lib/types/error/JoseHeaderError.d.ts.map +1 -1
  301. package/lib/types/exports-browser-only.d.ts +4 -3
  302. package/lib/types/exports-browser-only.d.ts.map +1 -1
  303. package/lib/types/exports-common.d.ts +8 -6
  304. package/lib/types/exports-common.d.ts.map +1 -1
  305. package/lib/types/exports-node-only.d.ts +1 -4
  306. package/lib/types/exports-node-only.d.ts.map +1 -1
  307. package/lib/types/logger/Logger.d.ts +12 -13
  308. package/lib/types/logger/Logger.d.ts.map +1 -1
  309. package/lib/types/network/ThrottlingUtils.d.ts.map +1 -1
  310. package/lib/types/packageMetadata.d.ts +1 -1
  311. package/lib/types/packageMetadata.d.ts.map +1 -1
  312. package/lib/types/protocol/Authorize.d.ts +1 -2
  313. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  314. package/lib/types/request/AuthenticationHeaderParser.d.ts.map +1 -1
  315. package/lib/types/request/BaseAuthRequest.d.ts +1 -7
  316. package/lib/types/request/BaseAuthRequest.d.ts.map +1 -1
  317. package/lib/types/request/RequestParameterBuilder.d.ts +3 -9
  318. package/lib/types/request/RequestParameterBuilder.d.ts.map +1 -1
  319. package/lib/types/response/AuthenticationResult.d.ts +1 -1
  320. package/lib/types/response/AuthenticationResult.d.ts.map +1 -1
  321. package/lib/types/response/ResponseHandler.d.ts +6 -5
  322. package/lib/types/response/ResponseHandler.d.ts.map +1 -1
  323. package/lib/types/telemetry/performance/IPerformanceClient.d.ts +1 -31
  324. package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
  325. package/lib/types/telemetry/performance/PerformanceClient.d.ts +6 -85
  326. package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +1 -1
  327. package/lib/types/telemetry/performance/PerformanceEvent.d.ts +0 -282
  328. package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
  329. package/lib/types/telemetry/performance/PerformanceEvents.d.ts +65 -0
  330. package/lib/types/telemetry/performance/PerformanceEvents.d.ts.map +1 -0
  331. package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +0 -4
  332. package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
  333. package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +2 -2
  334. package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
  335. package/lib/types/url/UrlString.d.ts +0 -5
  336. package/lib/types/url/UrlString.d.ts.map +1 -1
  337. package/lib/types/utils/Constants.d.ts +81 -117
  338. package/lib/types/utils/Constants.d.ts.map +1 -1
  339. package/lib/types/utils/FunctionWrappers.d.ts +2 -2
  340. package/lib/types/utils/FunctionWrappers.d.ts.map +1 -1
  341. package/lib/types/utils/UrlUtils.d.ts +1 -2
  342. package/lib/types/utils/UrlUtils.d.ts.map +1 -1
  343. package/package.json +120 -122
  344. package/src/account/AccountInfo.ts +0 -6
  345. package/src/account/ClientInfo.ts +4 -11
  346. package/src/authority/Authority.ts +145 -146
  347. package/src/authority/AuthorityFactory.ts +7 -7
  348. package/src/authority/AuthorityMetadata.ts +21 -12
  349. package/src/authority/AuthorityOptions.ts +0 -1
  350. package/src/authority/OIDCOptions.ts +2 -2
  351. package/src/authority/RegionDiscovery.ts +20 -33
  352. package/src/cache/CacheManager.ts +176 -126
  353. package/src/cache/entities/AccessTokenEntity.ts +0 -4
  354. package/src/cache/entities/AccountEntity.ts +4 -293
  355. package/src/cache/entities/CredentialEntity.ts +0 -2
  356. package/src/cache/interface/ICacheManager.ts +61 -15
  357. package/src/cache/utils/AccountEntityUtils.ts +287 -0
  358. package/src/cache/utils/CacheHelpers.ts +23 -37
  359. package/src/cache/utils/CacheTypes.ts +0 -1
  360. package/src/client/AuthorizationCodeClient.ts +28 -49
  361. package/src/client/BaseClient.ts +8 -20
  362. package/src/client/RefreshTokenClient.ts +29 -61
  363. package/src/client/SilentFlowClient.ts +11 -20
  364. package/src/config/ClientConfiguration.ts +9 -37
  365. package/src/crypto/ICrypto.ts +5 -3
  366. package/src/crypto/PopTokenGenerator.ts +3 -13
  367. package/src/error/AuthError.ts +11 -30
  368. package/src/error/CacheError.ts +4 -15
  369. package/src/error/ClientAuthError.ts +1 -311
  370. package/src/error/ClientAuthErrorCodes.ts +0 -8
  371. package/src/error/ClientConfigurationError.ts +1 -194
  372. package/src/error/ClientConfigurationErrorCodes.ts +0 -3
  373. package/src/error/InteractionRequiredAuthError.ts +8 -48
  374. package/src/error/JoseHeaderError.ts +1 -8
  375. package/src/exports-browser-only.ts +2 -6
  376. package/src/exports-common.ts +4 -34
  377. package/src/exports-node-only.ts +1 -4
  378. package/src/logger/Logger.ts +26 -39
  379. package/src/network/ThrottlingUtils.ts +12 -15
  380. package/src/packageMetadata.ts +1 -1
  381. package/src/protocol/Authorize.ts +24 -20
  382. package/src/request/AuthenticationHeaderParser.ts +2 -4
  383. package/src/request/BaseAuthRequest.ts +1 -7
  384. package/src/request/RequestParameterBuilder.ts +30 -45
  385. package/src/request/ScopeSet.ts +4 -4
  386. package/src/response/AuthenticationResult.ts +1 -1
  387. package/src/response/ResponseHandler.ts +53 -58
  388. package/src/telemetry/performance/IPerformanceClient.ts +1 -43
  389. package/src/telemetry/performance/PerformanceClient.ts +32 -295
  390. package/src/telemetry/performance/PerformanceEvent.ts +0 -586
  391. package/src/telemetry/performance/PerformanceEvents.ts +97 -0
  392. package/src/telemetry/performance/StubPerformanceClient.ts +0 -16
  393. package/src/telemetry/server/ServerTelemetryManager.ts +33 -44
  394. package/src/url/UrlString.ts +3 -12
  395. package/src/utils/Constants.ts +103 -146
  396. package/src/utils/FunctionWrappers.ts +28 -29
  397. package/src/utils/ProtocolUtils.ts +6 -6
  398. package/src/utils/UrlUtils.ts +2 -15
  399. package/dist/cache/entities/AccountEntity.mjs +0 -232
  400. package/dist/cache/entities/AccountEntity.mjs.map +0 -1
  401. package/dist/request/CommonClientCredentialRequest.d.ts +0 -18
  402. package/dist/request/CommonClientCredentialRequest.d.ts.map +0 -1
  403. package/dist/request/CommonDeviceCodeRequest.d.ts +0 -22
  404. package/dist/request/CommonDeviceCodeRequest.d.ts.map +0 -1
  405. package/dist/request/CommonOnBehalfOfRequest.d.ts +0 -14
  406. package/dist/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
  407. package/dist/request/CommonUsernamePasswordRequest.d.ts +0 -18
  408. package/dist/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
  409. package/lib/index-node-D8Iaiqq3.js.map +0 -1
  410. package/lib/types/request/CommonClientCredentialRequest.d.ts +0 -18
  411. package/lib/types/request/CommonClientCredentialRequest.d.ts.map +0 -1
  412. package/lib/types/request/CommonDeviceCodeRequest.d.ts +0 -22
  413. package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +0 -1
  414. package/lib/types/request/CommonOnBehalfOfRequest.d.ts +0 -14
  415. package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
  416. package/lib/types/request/CommonUsernamePasswordRequest.d.ts +0 -18
  417. package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
  418. package/src/request/CommonClientCredentialRequest.ts +0 -23
  419. package/src/request/CommonDeviceCodeRequest.ts +0 -31
  420. package/src/request/CommonOnBehalfOfRequest.ts +0 -19
  421. package/src/request/CommonUsernamePasswordRequest.ts +0 -23
@@ -1,68 +1,52 @@
1
- export declare const Constants: {
2
- LIBRARY_NAME: string;
3
- SKU: string;
4
- DEFAULT_AUTHORITY: string;
5
- DEFAULT_AUTHORITY_HOST: string;
6
- DEFAULT_COMMON_TENANT: string;
7
- ADFS: string;
8
- DSTS: string;
9
- AAD_INSTANCE_DISCOVERY_ENDPT: string;
10
- CIAM_AUTH_URL: string;
11
- AAD_TENANT_DOMAIN_SUFFIX: string;
12
- RESOURCE_DELIM: string;
13
- NO_ACCOUNT: string;
14
- CLAIMS: string;
15
- CONSUMER_UTID: string;
16
- OPENID_SCOPE: string;
17
- PROFILE_SCOPE: string;
18
- OFFLINE_ACCESS_SCOPE: string;
19
- EMAIL_SCOPE: string;
20
- CODE_GRANT_TYPE: string;
21
- RT_GRANT_TYPE: string;
22
- S256_CODE_CHALLENGE_METHOD: string;
23
- URL_FORM_CONTENT_TYPE: string;
24
- AUTHORIZATION_PENDING: string;
25
- NOT_DEFINED: string;
26
- EMPTY_STRING: string;
27
- NOT_APPLICABLE: string;
28
- NOT_AVAILABLE: string;
29
- FORWARD_SLASH: string;
30
- IMDS_ENDPOINT: string;
31
- IMDS_VERSION: string;
32
- IMDS_TIMEOUT: number;
33
- AZURE_REGION_AUTO_DISCOVER_FLAG: string;
34
- REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX: string;
35
- KNOWN_PUBLIC_CLOUDS: string[];
36
- SHR_NONCE_VALIDITY: number;
37
- INVALID_INSTANCE: string;
38
- };
39
- export declare const HttpStatus: {
40
- readonly SUCCESS: 200;
41
- readonly SUCCESS_RANGE_START: 200;
42
- readonly SUCCESS_RANGE_END: 299;
43
- readonly REDIRECT: 302;
44
- readonly CLIENT_ERROR: 400;
45
- readonly CLIENT_ERROR_RANGE_START: 400;
46
- readonly BAD_REQUEST: 400;
47
- readonly UNAUTHORIZED: 401;
48
- readonly NOT_FOUND: 404;
49
- readonly REQUEST_TIMEOUT: 408;
50
- readonly GONE: 410;
51
- readonly TOO_MANY_REQUESTS: 429;
52
- readonly CLIENT_ERROR_RANGE_END: 499;
53
- readonly SERVER_ERROR: 500;
54
- readonly SERVER_ERROR_RANGE_START: 500;
55
- readonly SERVICE_UNAVAILABLE: 503;
56
- readonly GATEWAY_TIMEOUT: 504;
57
- readonly SERVER_ERROR_RANGE_END: 599;
58
- readonly MULTI_SIDED_ERROR: 600;
59
- };
60
- export type HttpStatus = (typeof HttpStatus)[keyof typeof HttpStatus];
61
- export declare const HttpMethod: {
62
- readonly GET: "GET";
63
- readonly POST: "POST";
64
- };
65
- export type HttpMethod = (typeof HttpMethod)[keyof typeof HttpMethod];
1
+ export declare const SKU = "msal.js.common";
2
+ export declare const DEFAULT_AUTHORITY = "https://login.microsoftonline.com/common/";
3
+ export declare const DEFAULT_AUTHORITY_HOST = "login.microsoftonline.com";
4
+ export declare const DEFAULT_COMMON_TENANT = "common";
5
+ export declare const ADFS = "adfs";
6
+ export declare const DSTS = "dstsv2";
7
+ export declare const AAD_INSTANCE_DISCOVERY_ENDPT: string;
8
+ export declare const CIAM_AUTH_URL = ".ciamlogin.com";
9
+ export declare const AAD_TENANT_DOMAIN_SUFFIX = ".onmicrosoft.com";
10
+ export declare const RESOURCE_DELIM = "|";
11
+ export declare const CONSUMER_UTID = "9188040d-6c67-4c5b-b112-36a304b66dad";
12
+ export declare const OPENID_SCOPE = "openid";
13
+ export declare const PROFILE_SCOPE = "profile";
14
+ export declare const OFFLINE_ACCESS_SCOPE = "offline_access";
15
+ export declare const EMAIL_SCOPE = "email";
16
+ export declare const CODE_GRANT_TYPE = "authorization_code";
17
+ export declare const S256_CODE_CHALLENGE_METHOD = "S256";
18
+ export declare const URL_FORM_CONTENT_TYPE = "application/x-www-form-urlencoded;charset=utf-8";
19
+ export declare const AUTHORIZATION_PENDING = "authorization_pending";
20
+ export declare const NOT_APPLICABLE = "N/A";
21
+ export declare const NOT_AVAILABLE = "Not Available";
22
+ export declare const FORWARD_SLASH = "/";
23
+ export declare const IMDS_ENDPOINT = "http://169.254.169.254/metadata/instance/compute/location";
24
+ export declare const IMDS_VERSION = "2020-06-01";
25
+ export declare const IMDS_TIMEOUT = 2000;
26
+ export declare const AZURE_REGION_AUTO_DISCOVER_FLAG = "TryAutoDetect";
27
+ export declare const REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX = "login.microsoft.com";
28
+ export declare const KNOWN_PUBLIC_CLOUDS: string[];
29
+ export declare const SHR_NONCE_VALIDITY = 240;
30
+ export declare const INVALID_INSTANCE = "invalid_instance";
31
+ export declare const HTTP_SUCCESS: number;
32
+ export declare const HTTP_SUCCESS_RANGE_START: number;
33
+ export declare const HTTP_SUCCESS_RANGE_END: number;
34
+ export declare const HTTP_REDIRECT: number;
35
+ export declare const HTTP_CLIENT_ERROR: number;
36
+ export declare const HTTP_CLIENT_ERROR_RANGE_START: number;
37
+ export declare const HTTP_BAD_REQUEST: number;
38
+ export declare const HTTP_UNAUTHORIZED: number;
39
+ export declare const HTTP_NOT_FOUND: number;
40
+ export declare const HTTP_REQUEST_TIMEOUT: number;
41
+ export declare const HTTP_GONE: number;
42
+ export declare const HTTP_TOO_MANY_REQUESTS: number;
43
+ export declare const HTTP_CLIENT_ERROR_RANGE_END: number;
44
+ export declare const HTTP_SERVER_ERROR: number;
45
+ export declare const HTTP_SERVER_ERROR_RANGE_START: number;
46
+ export declare const HTTP_SERVICE_UNAVAILABLE: number;
47
+ export declare const HTTP_GATEWAY_TIMEOUT: number;
48
+ export declare const HTTP_SERVER_ERROR_RANGE_END: number;
49
+ export declare const HTTP_MULTI_SIDED_ERROR: number;
66
50
  export declare const OIDC_DEFAULT_SCOPES: string[];
67
51
  export declare const OIDC_SCOPES: string[];
68
52
  /**
@@ -89,12 +73,12 @@ export type PersistentCacheKeys = (typeof PersistentCacheKeys)[keyof typeof Pers
89
73
  /**
90
74
  * String constants related to AAD Authority
91
75
  */
92
- export declare const AADAuthorityConstants: {
76
+ export declare const AADAuthority: {
93
77
  readonly COMMON: "common";
94
78
  readonly ORGANIZATIONS: "organizations";
95
79
  readonly CONSUMERS: "consumers";
96
80
  };
97
- export type AADAuthorityConstants = (typeof AADAuthorityConstants)[keyof typeof AADAuthorityConstants];
81
+ export type AADAuthority = (typeof AADAuthority)[keyof typeof AADAuthority];
98
82
  /**
99
83
  * Claims request keys
100
84
  */
@@ -132,15 +116,6 @@ export declare const OAuthResponseType: {
132
116
  readonly IDTOKEN_TOKEN_REFRESHTOKEN: "id_token token refresh_token";
133
117
  };
134
118
  export type OAuthResponseType = (typeof OAuthResponseType)[keyof typeof OAuthResponseType];
135
- /**
136
- * allowed values for server response type
137
- * @deprecated Use ResponseMode instead
138
- */
139
- export declare const ServerResponseType: {
140
- readonly QUERY: "query";
141
- readonly FRAGMENT: "fragment";
142
- };
143
- export type ServerResponseType = (typeof ServerResponseType)[keyof typeof ServerResponseType];
144
119
  /**
145
120
  * allowed values for response_mode
146
121
  */
@@ -166,21 +141,15 @@ export type GrantType = (typeof GrantType)[keyof typeof GrantType];
166
141
  /**
167
142
  * Account types in Cache
168
143
  */
169
- export declare const CacheAccountType: {
170
- readonly MSSTS_ACCOUNT_TYPE: "MSSTS";
171
- readonly ADFS_ACCOUNT_TYPE: "ADFS";
172
- readonly MSAV1_ACCOUNT_TYPE: "MSA";
173
- readonly GENERIC_ACCOUNT_TYPE: "Generic";
174
- };
175
- export type CacheAccountType = (typeof CacheAccountType)[keyof typeof CacheAccountType];
144
+ export declare const CACHE_ACCOUNT_TYPE_MSSTS: string;
145
+ export declare const CACHE_ACCOUNT_TYPE_ADFS: string;
146
+ export declare const CACHE_ACCOUNT_TYPE_MSAV1: string;
147
+ export declare const CACHE_ACCOUNT_TYPE_GENERIC: string;
176
148
  /**
177
149
  * Separators used in cache
178
150
  */
179
- export declare const Separators: {
180
- readonly CACHE_KEY_SEPARATOR: "-";
181
- readonly CLIENT_INFO_SEPARATOR: ".";
182
- };
183
- export type Separators = (typeof Separators)[keyof typeof Separators];
151
+ export declare const CACHE_KEY_SEPARATOR: string;
152
+ export declare const CLIENT_INFO_SEPARATOR: string;
184
153
  /**
185
154
  * Credential Type stored in the cache
186
155
  */
@@ -209,13 +178,11 @@ export type CacheType = (typeof CacheType)[keyof typeof CacheType];
209
178
  /**
210
179
  * More Cache related constants
211
180
  */
212
- export declare const APP_METADATA = "appmetadata";
213
- export declare const CLIENT_INFO = "client_info";
214
- export declare const THE_FAMILY_ID = "1";
215
- export declare const AUTHORITY_METADATA_CONSTANTS: {
216
- CACHE_KEY: string;
217
- REFRESH_TIME_SECONDS: number;
218
- };
181
+ export declare const APP_METADATA: string;
182
+ export declare const CLIENT_INFO: string;
183
+ export declare const THE_FAMILY_ID: string;
184
+ export declare const AUTHORITY_METADATA_CACHE_KEY: string;
185
+ export declare const AUTHORITY_METADATA_REFRESH_TIME_SECONDS: number;
219
186
  export declare const AuthorityMetadataSource: {
220
187
  readonly CONFIG: "config";
221
188
  readonly CACHE: "cache";
@@ -223,18 +190,16 @@ export declare const AuthorityMetadataSource: {
223
190
  readonly HARDCODED_VALUES: "hardcoded_values";
224
191
  };
225
192
  export type AuthorityMetadataSource = (typeof AuthorityMetadataSource)[keyof typeof AuthorityMetadataSource];
226
- export declare const SERVER_TELEM_CONSTANTS: {
227
- SCHEMA_VERSION: number;
228
- MAX_CUR_HEADER_BYTES: number;
229
- MAX_LAST_HEADER_BYTES: number;
230
- MAX_CACHED_ERRORS: number;
231
- CACHE_KEY: string;
232
- CATEGORY_SEPARATOR: string;
233
- VALUE_SEPARATOR: string;
234
- OVERFLOW_TRUE: string;
235
- OVERFLOW_FALSE: string;
236
- UNKNOWN_ERROR: string;
237
- };
193
+ export declare const SERVER_TELEM_SCHEMA_VERSION: number;
194
+ export declare const SERVER_TELEM_MAX_CUR_HEADER_BYTES: number;
195
+ export declare const SERVER_TELEM_MAX_LAST_HEADER_BYTES: number;
196
+ export declare const SERVER_TELEM_MAX_CACHED_ERRORS: number;
197
+ export declare const SERVER_TELEM_CACHE_KEY: string;
198
+ export declare const SERVER_TELEM_CATEGORY_SEPARATOR: string;
199
+ export declare const SERVER_TELEM_VALUE_SEPARATOR: string;
200
+ export declare const SERVER_TELEM_OVERFLOW_TRUE: string;
201
+ export declare const SERVER_TELEM_OVERFLOW_FALSE: string;
202
+ export declare const SERVER_TELEM_UNKNOWN_ERROR: string;
238
203
  /**
239
204
  * Type of the authentication request
240
205
  */
@@ -247,16 +212,15 @@ export type AuthenticationScheme = (typeof AuthenticationScheme)[keyof typeof Au
247
212
  /**
248
213
  * Constants related to throttling
249
214
  */
250
- export declare const ThrottlingConstants: {
251
- DEFAULT_THROTTLE_TIME_SECONDS: number;
252
- DEFAULT_MAX_THROTTLE_TIME_SECONDS: number;
253
- THROTTLING_PREFIX: string;
254
- X_MS_LIB_CAPABILITY_VALUE: string;
255
- };
256
- export declare const Errors: {
257
- INVALID_GRANT_ERROR: string;
258
- CLIENT_MISMATCH_ERROR: string;
259
- };
215
+ export declare const DEFAULT_THROTTLE_TIME_SECONDS: number;
216
+ export declare const DEFAULT_MAX_THROTTLE_TIME_SECONDS: number;
217
+ export declare const THROTTLING_PREFIX: string;
218
+ export declare const X_MS_LIB_CAPABILITY_VALUE: string;
219
+ /**
220
+ * Errors
221
+ */
222
+ export declare const INVALID_GRANT_ERROR: string;
223
+ export declare const CLIENT_MISMATCH_ERROR: string;
260
224
  /**
261
225
  * Password grant parameters
262
226
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../../src/utils/Constants.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDrB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;CAoBb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEtE,eAAO,MAAM,UAAU;;;CAGb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEtE,eAAO,MAAM,mBAAmB,UAI/B,CAAC;AAEF,eAAO,MAAM,WAAW,UAAkD,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;CASd,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,mBAAmB;;CAEtB,CAAC;AACX,MAAM,MAAM,mBAAmB,GAC3B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;CAIxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAC7B,CAAC,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AM1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAC/B,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;CAWf,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE5E,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GACzB,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE/D,eAAO,MAAM,aAAa,WAAW,CAAC;AAGtC,eAAO,MAAM,gCAAgC,MAAM,CAAC;AAEpD,eAAO,MAAM,aAAa;;;;CAIhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC"}
@@ -11,7 +11,7 @@ import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.
11
11
  * @returns
12
12
  * @internal
13
13
  */
14
- export declare const invoke: <T extends any[], U>(callback: (...args: T) => U, eventName: string, logger: Logger, telemetryClient?: IPerformanceClient, correlationId?: string) => (...args: T) => U;
14
+ export declare const invoke: <T extends any[], U>(callback: (...args: T) => U, eventName: string, logger: Logger, telemetryClient: IPerformanceClient, correlationId: string) => (...args: T) => U;
15
15
  /**
16
16
  * Wraps an async function with a performance measurement.
17
17
  * Usage: invokeAsync(functionToCall, performanceClient, "EventName", "correlationId")(...argsToPassToFunction)
@@ -24,5 +24,5 @@ export declare const invoke: <T extends any[], U>(callback: (...args: T) => U, e
24
24
  * @internal
25
25
  *
26
26
  */
27
- export declare const invokeAsync: <T extends any[], U>(callback: (...args: T) => Promise<U>, eventName: string, logger: Logger, telemetryClient?: IPerformanceClient, correlationId?: string) => (...args: T) => Promise<U>;
27
+ export declare const invokeAsync: <T extends any[], U>(callback: (...args: T) => Promise<U>, eventName: string, logger: Logger, telemetryClient: IPerformanceClient, correlationId: string) => (...args: T) => Promise<U>;
28
28
  //# sourceMappingURL=FunctionWrappers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionWrappers.d.ts","sourceRoot":"","sources":["../../../src/utils/FunctionWrappers.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAEpF;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,MAAM,+DAEJ,MAAM,UACT,MAAM,oBACI,kBAAkB,kBACpB,MAAM,sBAuCzB,CAAC;AAEF;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,WAAW,wEAET,MAAM,UACT,MAAM,oBACI,kBAAkB,kBACpB,MAAM,+BAyCzB,CAAC"}
1
+ {"version":3,"file":"FunctionWrappers.d.ts","sourceRoot":"","sources":["../../../src/utils/FunctionWrappers.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAEpF;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,MAAM,+DAEJ,MAAM,UACT,MAAM,mBACG,kBAAkB,iBACpB,MAAM,sBAoCxB,CAAC;AAEF;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,WAAW,wEAET,MAAM,UACT,MAAM,mBACG,kBAAkB,iBACpB,MAAM,+BA2CxB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { AuthorizeResponse } from "../response/AuthorizeResponse.js";
2
- import { StringDict } from "./MsalTypes.js";
3
2
  /**
4
3
  * Parses hash string from given string. Returns empty string if no hash symbol is found.
5
4
  * @param hashString
@@ -12,7 +11,7 @@ export declare function getDeserializedResponse(responseString: string): Authori
12
11
  /**
13
12
  * Utility to create a URL from the params map
14
13
  */
15
- export declare function mapToQueryString(parameters: Map<string, string>, encodeExtraParams?: boolean, extraQueryParameters?: StringDict): string;
14
+ export declare function mapToQueryString(parameters: Map<string, string>): string;
16
15
  /**
17
16
  * Normalizes URLs for comparison by removing hash, canonicalizing,
18
17
  * and ensuring consistent URL encoding in query parameters.
@@ -1 +1 @@
1
- {"version":3,"file":"UrlUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/UrlUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAKrE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AA6B5C;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAWtE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACnC,cAAc,EAAE,MAAM,GACvB,iBAAiB,GAAG,IAAI,CA4B1B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC5B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,iBAAiB,GAAE,OAAc,EACjC,oBAAoB,CAAC,EAAE,UAAU,GAClC,MAAM,CAgBR;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAwB7D"}
1
+ {"version":3,"file":"UrlUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/UrlUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAiCrE;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAWtE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACnC,cAAc,EAAE,MAAM,GACvB,iBAAiB,GAAG,IAAI,CA4B1B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAQxE;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAwB7D"}
package/package.json CHANGED
@@ -1,127 +1,125 @@
1
1
  {
2
- "name": "@azure/msal-common",
3
- "author": {
4
- "name": "Microsoft",
5
- "email": "nugetaad@microsoft.com",
6
- "url": "https://www.microsoft.com"
7
- },
8
- "license": "MIT",
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
12
- },
13
- "version": "15.13.0",
14
- "description": "Microsoft Authentication Library for js",
15
- "keywords": [
16
- "implicit",
17
- "authorization code",
18
- "PKCE",
19
- "js",
20
- "AAD",
21
- "msal",
22
- "oauth"
23
- ],
24
- "sideEffects": false,
25
- "type": "module",
26
- "main": "./lib/index.cjs",
27
- "module": "./dist/index.mjs",
28
- "types": "./dist/index.d.ts",
29
- "exports": {
30
- "./browser": {
31
- "import": {
32
- "types": "./dist/index-browser.d.ts",
33
- "default": "./dist/index-browser.mjs"
34
- },
35
- "require": {
36
- "types": "./lib/types/index-browser.d.ts",
37
- "default": "./lib/index-browser.cjs"
38
- }
2
+ "name": "@azure/msal-common",
3
+ "author": {
4
+ "name": "Microsoft",
5
+ "email": "nugetaad@microsoft.com",
6
+ "url": "https://www.microsoft.com"
39
7
  },
40
- "./node": {
41
- "import": {
42
- "types": "./dist/index-node.d.ts",
43
- "default": "./dist/index-node.mjs"
44
- },
45
- "require": {
46
- "types": "./lib/types/index-node.d.ts",
47
- "default": "./lib/index-node.cjs"
48
- }
8
+ "license": "MIT",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
49
12
  },
50
- ".": {
51
- "import": {
52
- "types": "./dist/index.d.ts",
53
- "default": "./dist/index.mjs"
54
- },
55
- "require": {
56
- "types": "./lib/types/index.d.ts",
57
- "default": "./lib/index.cjs"
58
- }
13
+ "version": "16.0.0-alpha.0",
14
+ "description": "Microsoft Authentication Library for js",
15
+ "keywords": [
16
+ "implicit",
17
+ "authorization code",
18
+ "PKCE",
19
+ "js",
20
+ "AAD",
21
+ "msal",
22
+ "oauth"
23
+ ],
24
+ "sideEffects": false,
25
+ "type": "module",
26
+ "main": "./lib/index.cjs",
27
+ "module": "./dist/index.mjs",
28
+ "types": "./dist/index.d.ts",
29
+ "exports": {
30
+ "./browser": {
31
+ "import": {
32
+ "types": "./dist/index-browser.d.ts",
33
+ "default": "./dist/index-browser.mjs"
34
+ },
35
+ "require": {
36
+ "types": "./lib/types/index-browser.d.ts",
37
+ "default": "./lib/index-browser.cjs"
38
+ }
39
+ },
40
+ "./node": {
41
+ "import": {
42
+ "types": "./dist/index-node.d.ts",
43
+ "default": "./dist/index-node.mjs"
44
+ },
45
+ "require": {
46
+ "types": "./lib/types/index-node.d.ts",
47
+ "default": "./lib/index-node.cjs"
48
+ }
49
+ },
50
+ ".": {
51
+ "import": {
52
+ "types": "./dist/index.d.ts",
53
+ "default": "./dist/index.mjs"
54
+ },
55
+ "require": {
56
+ "types": "./lib/types/index.d.ts",
57
+ "default": "./lib/index.cjs"
58
+ }
59
+ },
60
+ "./package.json": "./package.json"
59
61
  },
60
- "./package.json": "./package.json"
61
- },
62
- "engines": {
63
- "node": ">=0.8.0"
64
- },
65
- "directories": {
66
- "test": "test"
67
- },
68
- "files": [
69
- "dist",
70
- "lib",
71
- "src",
72
- "node",
73
- "browser"
74
- ],
75
- "scripts": {
76
- "clean": "shx rm -rf dist lib",
77
- "clean:coverage": "rimraf ../../.nyc_output/*",
78
- "lint": "eslint src --ext .ts",
79
- "lint:fix": "npm run lint -- --fix",
80
- "test": "jest",
81
- "test:coverage": "jest --coverage",
82
- "test:coverage:only": "npm run clean:coverage && npm run test:coverage",
83
- "build:modules": "rollup -c --strictDeprecations --bundleConfigAsCjs",
84
- "build:modules:watch": "rollup -cw --bundleConfigAsCjs",
85
- "build": "npm run clean && npm run build:modules",
86
- "build:all": "npm run build",
87
- "prepack": "npm run build",
88
- "metadata:check": "ts-node scripts/metadata.ts",
89
- "format:check": "prettier --ignore-path .gitignore --check src test",
90
- "format:fix": "prettier --ignore-path .gitignore --write src test",
91
- "apiExtractor": "api-extractor run"
92
- },
93
- "beachball": {
94
- "disallowedChangeTypes": [
95
- "major"
96
- ]
97
- },
98
- "devDependencies": {
99
- "@babel/core": "^7.7.2",
100
- "@babel/plugin-proposal-class-properties": "^7.7.0",
101
- "@babel/plugin-proposal-object-rest-spread": "^7.6.2",
102
- "@babel/preset-env": "^7.7.1",
103
- "@babel/preset-typescript": "^7.7.2",
104
- "@microsoft/api-extractor": "^7.43.4",
105
- "@rollup/plugin-typescript": "^11.0.0",
106
- "@types/debug": "^4.1.5",
107
- "@types/jest": "^29.5.0",
108
- "@types/lodash": "^4.14.182",
109
- "@types/node": "^20.3.1",
110
- "eslint-config-msal": "file:../../shared-configs/eslint-config-msal",
111
- "jest": "^29.5.0",
112
- "jest-junit": "^16.0.0",
113
- "lodash": "^4.17.21",
114
- "msal-test-utils": "file:../../shared-test-utils",
115
- "prettier": "2.8.7",
116
- "rimraf": "^3.0.2",
117
- "rollup": "^4.22.4",
118
- "rollup-msal": "file:../../shared-configs/rollup-msal",
119
- "shx": "^0.3.2",
120
- "ts-jest": "^29.1.0",
121
- "ts-jest-resolver": "^2.0.1",
122
- "ts-node": "^10.9.1",
123
- "tslib": "^1.10.0",
124
- "typescript": "^4.9.5",
125
- "yargs": "^17.5.1"
126
- }
62
+ "engines": {
63
+ "node": ">=0.8.0"
64
+ },
65
+ "directories": {
66
+ "test": "test"
67
+ },
68
+ "files": [
69
+ "dist",
70
+ "lib",
71
+ "src",
72
+ "node",
73
+ "browser"
74
+ ],
75
+ "scripts": {
76
+ "clean": "shx rm -rf dist lib",
77
+ "clean:coverage": "rimraf ../../.nyc_output/*",
78
+ "lint": "eslint src --ext .ts",
79
+ "lint:fix": "npm run lint -- --fix",
80
+ "test": "jest",
81
+ "test:coverage": "jest --coverage",
82
+ "test:coverage:only": "npm run clean:coverage && npm run test:coverage",
83
+ "build:modules": "rollup -c --strictDeprecations --bundleConfigAsCjs",
84
+ "build:modules:watch": "rollup -cw --bundleConfigAsCjs",
85
+ "build": "npm run clean && npm run build:modules",
86
+ "build:all": "npm run build",
87
+ "prepack": "npm run build",
88
+ "metadata:check": "ts-node scripts/metadata.ts",
89
+ "format:check": "prettier --ignore-path .gitignore --check src test",
90
+ "format:fix": "prettier --ignore-path .gitignore --write src test",
91
+ "apiExtractor": "api-extractor run"
92
+ },
93
+ "beachball": {
94
+ "disallowedChangeTypes": []
95
+ },
96
+ "devDependencies": {
97
+ "@babel/core": "^7.7.2",
98
+ "@babel/plugin-proposal-class-properties": "^7.7.0",
99
+ "@babel/plugin-proposal-object-rest-spread": "^7.6.2",
100
+ "@babel/preset-env": "^7.7.1",
101
+ "@babel/preset-typescript": "^7.7.2",
102
+ "@microsoft/api-extractor": "^7.43.4",
103
+ "@rollup/plugin-typescript": "^11.0.0",
104
+ "@types/debug": "^4.1.5",
105
+ "@types/jest": "^29.5.0",
106
+ "@types/lodash": "^4.14.182",
107
+ "@types/node": "^20.3.1",
108
+ "eslint-config-msal": "file:../../shared-configs/eslint-config-msal",
109
+ "jest": "^29.5.0",
110
+ "jest-junit": "^16.0.0",
111
+ "lodash": "^4.17.21",
112
+ "msal-test-utils": "file:../../shared-test-utils",
113
+ "prettier": "2.8.7",
114
+ "rimraf": "^3.0.2",
115
+ "rollup": "^4.22.4",
116
+ "rollup-msal": "file:../../shared-configs/rollup-msal",
117
+ "shx": "^0.3.2",
118
+ "ts-jest": "^29.1.0",
119
+ "ts-jest-resolver": "^2.0.1",
120
+ "ts-node": "^10.9.1",
121
+ "tslib": "^1.10.0",
122
+ "typescript": "^4.9.5",
123
+ "yargs": "^17.5.1"
124
+ }
127
125
  }
@@ -4,9 +4,6 @@
4
4
  */
5
5
 
6
6
  import { TokenClaims } from "./TokenClaims.js";
7
-
8
- export type DataBoundary = "EU" | "None";
9
-
10
7
  /**
11
8
  * Account object with the following signature:
12
9
  * - homeAccountId - Home account identifier for this account object
@@ -19,7 +16,6 @@ export type DataBoundary = "EU" | "None";
19
16
  * - idTokenClaims - Object contains claims from ID token
20
17
  * - nativeAccountId - The user's native account ID
21
18
  * - tenantProfiles - Map of tenant profile objects for each tenant that the account has authenticated with in the browser
22
- * - dataBoundary - Data boundary extracted from clientInfo
23
19
  */
24
20
  export type AccountInfo = {
25
21
  homeAccountId: string;
@@ -42,7 +38,6 @@ export type AccountInfo = {
42
38
  nativeAccountId?: string;
43
39
  authorityType?: string;
44
40
  tenantProfiles?: Map<string, TenantProfile>;
45
- dataBoundary?: DataBoundary;
46
41
  };
47
42
 
48
43
  /**
@@ -62,7 +57,6 @@ export type ActiveAccountFilters = {
62
57
  homeAccountId: string;
63
58
  localAccountId: string;
64
59
  tenantId?: string;
65
- lastUpdatedAt?: string;
66
60
  };
67
61
 
68
62
  /**