@azure/msal-common 15.13.3 → 16.0.0-beta.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 (453) hide show
  1. package/dist/account/AccountInfo.d.ts +0 -1
  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.d.ts.map +1 -1
  6. package/dist/account/AuthToken.mjs +2 -3
  7. package/dist/account/AuthToken.mjs.map +1 -1
  8. package/dist/account/CcsCredential.mjs +1 -1
  9. package/dist/account/ClientInfo.d.ts.map +1 -1
  10. package/dist/account/ClientInfo.mjs +4 -6
  11. package/dist/account/ClientInfo.mjs.map +1 -1
  12. package/dist/account/TokenClaims.mjs +1 -1
  13. package/dist/authority/Authority.d.ts +2 -2
  14. package/dist/authority/Authority.d.ts.map +1 -1
  15. package/dist/authority/Authority.mjs +89 -105
  16. package/dist/authority/Authority.mjs.map +1 -1
  17. package/dist/authority/AuthorityFactory.d.ts +6 -2
  18. package/dist/authority/AuthorityFactory.d.ts.map +1 -1
  19. package/dist/authority/AuthorityFactory.mjs +8 -5
  20. package/dist/authority/AuthorityFactory.mjs.map +1 -1
  21. package/dist/authority/AuthorityMetadata.d.ts +2 -2
  22. package/dist/authority/AuthorityMetadata.d.ts.map +1 -1
  23. package/dist/authority/AuthorityMetadata.mjs +34 -31
  24. package/dist/authority/AuthorityMetadata.mjs.map +1 -1
  25. package/dist/authority/AuthorityOptions.d.ts +0 -1
  26. package/dist/authority/AuthorityOptions.d.ts.map +1 -1
  27. package/dist/authority/AuthorityOptions.mjs +1 -1
  28. package/dist/authority/AuthorityOptions.mjs.map +1 -1
  29. package/dist/authority/AuthorityType.mjs +1 -1
  30. package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
  31. package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
  32. package/dist/authority/OIDCOptions.d.ts +2 -2
  33. package/dist/authority/OIDCOptions.d.ts.map +1 -1
  34. package/dist/authority/OpenIdConfigResponse.mjs +1 -1
  35. package/dist/authority/ProtocolMode.mjs +1 -1
  36. package/dist/authority/RegionDiscovery.d.ts +3 -3
  37. package/dist/authority/RegionDiscovery.d.ts.map +1 -1
  38. package/dist/authority/RegionDiscovery.mjs +14 -15
  39. package/dist/authority/RegionDiscovery.mjs.map +1 -1
  40. package/dist/cache/CacheManager.d.ts +26 -19
  41. package/dist/cache/CacheManager.d.ts.map +1 -1
  42. package/dist/cache/CacheManager.mjs +70 -83
  43. package/dist/cache/CacheManager.mjs.map +1 -1
  44. package/dist/cache/entities/AccessTokenEntity.d.ts +0 -4
  45. package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
  46. package/dist/cache/entities/AccountEntity.d.ts +4 -56
  47. package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
  48. package/dist/cache/entities/CredentialEntity.d.ts +0 -2
  49. package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
  50. package/dist/cache/interface/ICacheManager.d.ts +35 -17
  51. package/dist/cache/interface/ICacheManager.d.ts.map +1 -1
  52. package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
  53. package/dist/cache/utils/AccountEntityUtils.d.ts +53 -0
  54. package/dist/cache/utils/AccountEntityUtils.d.ts.map +1 -0
  55. package/dist/cache/utils/AccountEntityUtils.mjs +192 -0
  56. package/dist/cache/utils/AccountEntityUtils.mjs.map +1 -0
  57. package/dist/cache/utils/CacheHelpers.d.ts +2 -2
  58. package/dist/cache/utils/CacheHelpers.d.ts.map +1 -1
  59. package/dist/cache/utils/CacheHelpers.mjs +10 -13
  60. package/dist/cache/utils/CacheHelpers.mjs.map +1 -1
  61. package/dist/cache/utils/CacheTypes.d.ts +0 -1
  62. package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
  63. package/dist/client/AuthorizationCodeClient.d.ts +23 -4
  64. package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
  65. package/dist/client/AuthorizationCodeClient.mjs +63 -35
  66. package/dist/client/AuthorizationCodeClient.mjs.map +1 -1
  67. package/dist/client/RefreshTokenClient.d.ts +17 -4
  68. package/dist/client/RefreshTokenClient.d.ts.map +1 -1
  69. package/dist/client/RefreshTokenClient.mjs +51 -37
  70. package/dist/client/RefreshTokenClient.mjs.map +1 -1
  71. package/dist/client/SilentFlowClient.d.ts +17 -4
  72. package/dist/client/SilentFlowClient.d.ts.map +1 -1
  73. package/dist/client/SilentFlowClient.mjs +28 -15
  74. package/dist/client/SilentFlowClient.mjs.map +1 -1
  75. package/dist/config/ClientConfiguration.d.ts +2 -22
  76. package/dist/config/ClientConfiguration.d.ts.map +1 -1
  77. package/dist/config/ClientConfiguration.mjs +9 -15
  78. package/dist/config/ClientConfiguration.mjs.map +1 -1
  79. package/dist/constants/AADServerParamKeys.mjs +1 -1
  80. package/dist/crypto/ICrypto.d.ts +5 -3
  81. package/dist/crypto/ICrypto.d.ts.map +1 -1
  82. package/dist/crypto/ICrypto.mjs +1 -1
  83. package/dist/crypto/ICrypto.mjs.map +1 -1
  84. package/dist/crypto/JoseHeader.mjs +1 -1
  85. package/dist/crypto/PopTokenGenerator.d.ts +2 -2
  86. package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
  87. package/dist/crypto/PopTokenGenerator.mjs +3 -5
  88. package/dist/crypto/PopTokenGenerator.mjs.map +1 -1
  89. package/dist/error/AuthError.d.ts +1 -18
  90. package/dist/error/AuthError.d.ts.map +1 -1
  91. package/dist/error/AuthError.mjs +12 -34
  92. package/dist/error/AuthError.mjs.map +1 -1
  93. package/dist/error/AuthErrorCodes.mjs +1 -1
  94. package/dist/error/CacheError.d.ts +1 -6
  95. package/dist/error/CacheError.d.ts.map +1 -1
  96. package/dist/error/CacheError.mjs +6 -13
  97. package/dist/error/CacheError.mjs.map +1 -1
  98. package/dist/error/CacheErrorCodes.mjs +1 -1
  99. package/dist/error/ClientAuthError.d.ts +0 -229
  100. package/dist/error/ClientAuthError.d.ts.map +1 -1
  101. package/dist/error/ClientAuthError.mjs +3 -240
  102. package/dist/error/ClientAuthError.mjs.map +1 -1
  103. package/dist/error/ClientAuthErrorCodes.d.ts +0 -8
  104. package/dist/error/ClientAuthErrorCodes.d.ts.map +1 -1
  105. package/dist/error/ClientAuthErrorCodes.mjs +2 -10
  106. package/dist/error/ClientAuthErrorCodes.mjs.map +1 -1
  107. package/dist/error/ClientConfigurationError.d.ts +0 -128
  108. package/dist/error/ClientConfigurationError.d.ts.map +1 -1
  109. package/dist/error/ClientConfigurationError.mjs +3 -134
  110. package/dist/error/ClientConfigurationError.mjs.map +1 -1
  111. package/dist/error/ClientConfigurationErrorCodes.d.ts +0 -2
  112. package/dist/error/ClientConfigurationErrorCodes.d.ts.map +1 -1
  113. package/dist/error/ClientConfigurationErrorCodes.mjs +3 -5
  114. package/dist/error/ClientConfigurationErrorCodes.mjs.map +1 -1
  115. package/dist/error/InteractionRequiredAuthError.d.ts +1 -19
  116. package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
  117. package/dist/error/InteractionRequiredAuthError.mjs +10 -35
  118. package/dist/error/InteractionRequiredAuthError.mjs.map +1 -1
  119. package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
  120. package/dist/error/JoseHeaderError.d.ts +0 -4
  121. package/dist/error/JoseHeaderError.d.ts.map +1 -1
  122. package/dist/error/JoseHeaderError.mjs +3 -8
  123. package/dist/error/JoseHeaderError.mjs.map +1 -1
  124. package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
  125. package/dist/error/NetworkError.mjs +1 -1
  126. package/dist/error/PlatformBrokerError.d.ts.map +1 -1
  127. package/dist/error/PlatformBrokerError.mjs +3 -2
  128. package/dist/error/PlatformBrokerError.mjs.map +1 -1
  129. package/dist/error/ServerError.mjs +1 -1
  130. package/dist/exports-browser-only.d.ts +4 -3
  131. package/dist/exports-browser-only.d.ts.map +1 -1
  132. package/dist/exports-common.d.ts +11 -8
  133. package/dist/exports-common.d.ts.map +1 -1
  134. package/dist/exports-node-only.d.ts +2 -4
  135. package/dist/exports-node-only.d.ts.map +1 -1
  136. package/dist/index-node.mjs +15 -10
  137. package/dist/index-node.mjs.map +1 -1
  138. package/dist/index.mjs +17 -11
  139. package/dist/index.mjs.map +1 -1
  140. package/dist/logger/Logger.d.ts +36 -13
  141. package/dist/logger/Logger.d.ts.map +1 -1
  142. package/dist/logger/Logger.mjs +105 -22
  143. package/dist/logger/Logger.mjs.map +1 -1
  144. package/dist/network/INetworkModule.mjs +1 -1
  145. package/dist/network/RequestThumbprint.mjs +2 -2
  146. package/dist/network/RequestThumbprint.mjs.map +1 -1
  147. package/dist/network/ThrottlingUtils.d.ts.map +1 -1
  148. package/dist/network/ThrottlingUtils.mjs +6 -7
  149. package/dist/network/ThrottlingUtils.mjs.map +1 -1
  150. package/dist/packageMetadata.d.ts +1 -1
  151. package/dist/packageMetadata.d.ts.map +1 -1
  152. package/dist/packageMetadata.mjs +2 -2
  153. package/dist/protocol/Authorize.d.ts +1 -2
  154. package/dist/protocol/Authorize.d.ts.map +1 -1
  155. package/dist/protocol/Authorize.mjs +14 -14
  156. package/dist/protocol/Authorize.mjs.map +1 -1
  157. package/dist/protocol/Token.d.ts +40 -0
  158. package/dist/protocol/Token.d.ts.map +1 -0
  159. package/dist/protocol/Token.mjs +129 -0
  160. package/dist/protocol/Token.mjs.map +1 -0
  161. package/dist/request/AuthenticationHeaderParser.d.ts.map +1 -1
  162. package/dist/request/AuthenticationHeaderParser.mjs +3 -3
  163. package/dist/request/AuthenticationHeaderParser.mjs.map +1 -1
  164. package/dist/request/BaseAuthRequest.d.ts +4 -8
  165. package/dist/request/BaseAuthRequest.d.ts.map +1 -1
  166. package/dist/request/CommonAuthorizationCodeRequest.d.ts +2 -1
  167. package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -1
  168. package/dist/request/CommonAuthorizationUrlRequest.d.ts +2 -4
  169. package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -1
  170. package/dist/request/CommonRefreshTokenRequest.d.ts +2 -1
  171. package/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -1
  172. package/dist/request/CommonSilentFlowRequest.d.ts +2 -1
  173. package/dist/request/CommonSilentFlowRequest.d.ts.map +1 -1
  174. package/dist/request/RequestParameterBuilder.d.ts +6 -12
  175. package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
  176. package/dist/request/RequestParameterBuilder.mjs +11 -24
  177. package/dist/request/RequestParameterBuilder.mjs.map +1 -1
  178. package/dist/request/ScopeSet.mjs +5 -5
  179. package/dist/request/ScopeSet.mjs.map +1 -1
  180. package/dist/response/AuthenticationResult.d.ts +1 -1
  181. package/dist/response/AuthenticationResult.d.ts.map +1 -1
  182. package/dist/response/ResponseHandler.d.ts +7 -6
  183. package/dist/response/ResponseHandler.d.ts.map +1 -1
  184. package/dist/response/ResponseHandler.mjs +41 -43
  185. package/dist/response/ResponseHandler.mjs.map +1 -1
  186. package/dist/telemetry/performance/IPerformanceClient.d.ts +0 -29
  187. package/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
  188. package/dist/telemetry/performance/PerformanceClient.d.ts +5 -81
  189. package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
  190. package/dist/telemetry/performance/PerformanceClient.mjs +24 -170
  191. package/dist/telemetry/performance/PerformanceClient.mjs.map +1 -1
  192. package/dist/telemetry/performance/PerformanceEvent.d.ts +1 -280
  193. package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
  194. package/dist/telemetry/performance/PerformanceEvent.mjs +2 -483
  195. package/dist/telemetry/performance/PerformanceEvent.mjs.map +1 -1
  196. package/dist/telemetry/performance/PerformanceEvents.d.ts +66 -0
  197. package/dist/telemetry/performance/PerformanceEvents.d.ts.map +1 -0
  198. package/dist/telemetry/performance/PerformanceEvents.mjs +74 -0
  199. package/dist/telemetry/performance/PerformanceEvents.mjs.map +1 -0
  200. package/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -4
  201. package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
  202. package/dist/telemetry/performance/StubPerformanceClient.mjs +2 -26
  203. package/dist/telemetry/performance/StubPerformanceClient.mjs.map +1 -1
  204. package/dist/telemetry/server/ServerTelemetryManager.d.ts +2 -2
  205. package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
  206. package/dist/telemetry/server/ServerTelemetryManager.mjs +28 -30
  207. package/dist/telemetry/server/ServerTelemetryManager.mjs.map +1 -1
  208. package/dist/url/UrlString.d.ts +0 -5
  209. package/dist/url/UrlString.d.ts.map +1 -1
  210. package/dist/url/UrlString.mjs +5 -13
  211. package/dist/url/UrlString.mjs.map +1 -1
  212. package/dist/utils/ClientAssertionUtils.mjs +1 -1
  213. package/dist/utils/Constants.d.ts +81 -112
  214. package/dist/utils/Constants.d.ts.map +1 -1
  215. package/dist/utils/Constants.mjs +100 -127
  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.d.ts +14 -35
  222. package/dist/utils/ProtocolUtils.d.ts.map +1 -1
  223. package/dist/utils/ProtocolUtils.mjs +57 -61
  224. package/dist/utils/ProtocolUtils.mjs.map +1 -1
  225. package/dist/utils/StateTypes.d.ts +15 -0
  226. package/dist/utils/StateTypes.d.ts.map +1 -0
  227. package/dist/utils/StringUtils.mjs +1 -1
  228. package/dist/utils/TimeUtils.mjs +1 -1
  229. package/dist/utils/UrlUtils.d.ts +1 -2
  230. package/dist/utils/UrlUtils.d.ts.map +1 -1
  231. package/dist/utils/UrlUtils.mjs +3 -10
  232. package/dist/utils/UrlUtils.mjs.map +1 -1
  233. package/lib/index-browser.cjs +26 -206
  234. package/lib/index-browser.cjs.map +1 -1
  235. package/lib/{index-node-4Jss3kYh.js → index-node-B7mR4APO.js} +3494 -4270
  236. package/lib/index-node-B7mR4APO.js.map +1 -0
  237. package/lib/index-node.cjs +6 -34
  238. package/lib/index-node.cjs.map +1 -1
  239. package/lib/index.cjs +5 -34
  240. package/lib/index.cjs.map +1 -1
  241. package/lib/types/account/AccountInfo.d.ts +0 -1
  242. package/lib/types/account/AccountInfo.d.ts.map +1 -1
  243. package/lib/types/account/AuthToken.d.ts.map +1 -1
  244. package/lib/types/account/ClientInfo.d.ts.map +1 -1
  245. package/lib/types/authority/Authority.d.ts +2 -2
  246. package/lib/types/authority/Authority.d.ts.map +1 -1
  247. package/lib/types/authority/AuthorityFactory.d.ts +6 -2
  248. package/lib/types/authority/AuthorityFactory.d.ts.map +1 -1
  249. package/lib/types/authority/AuthorityMetadata.d.ts +2 -2
  250. package/lib/types/authority/AuthorityMetadata.d.ts.map +1 -1
  251. package/lib/types/authority/AuthorityOptions.d.ts +0 -1
  252. package/lib/types/authority/AuthorityOptions.d.ts.map +1 -1
  253. package/lib/types/authority/OIDCOptions.d.ts +2 -2
  254. package/lib/types/authority/OIDCOptions.d.ts.map +1 -1
  255. package/lib/types/authority/RegionDiscovery.d.ts +3 -3
  256. package/lib/types/authority/RegionDiscovery.d.ts.map +1 -1
  257. package/lib/types/cache/CacheManager.d.ts +26 -19
  258. package/lib/types/cache/CacheManager.d.ts.map +1 -1
  259. package/lib/types/cache/entities/AccessTokenEntity.d.ts +0 -4
  260. package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +1 -1
  261. package/lib/types/cache/entities/AccountEntity.d.ts +4 -56
  262. package/lib/types/cache/entities/AccountEntity.d.ts.map +1 -1
  263. package/lib/types/cache/entities/CredentialEntity.d.ts +0 -2
  264. package/lib/types/cache/entities/CredentialEntity.d.ts.map +1 -1
  265. package/lib/types/cache/interface/ICacheManager.d.ts +35 -17
  266. package/lib/types/cache/interface/ICacheManager.d.ts.map +1 -1
  267. package/lib/types/cache/utils/AccountEntityUtils.d.ts +53 -0
  268. package/lib/types/cache/utils/AccountEntityUtils.d.ts.map +1 -0
  269. package/lib/types/cache/utils/CacheHelpers.d.ts +2 -2
  270. package/lib/types/cache/utils/CacheHelpers.d.ts.map +1 -1
  271. package/lib/types/cache/utils/CacheTypes.d.ts +0 -1
  272. package/lib/types/cache/utils/CacheTypes.d.ts.map +1 -1
  273. package/lib/types/client/AuthorizationCodeClient.d.ts +23 -4
  274. package/lib/types/client/AuthorizationCodeClient.d.ts.map +1 -1
  275. package/lib/types/client/RefreshTokenClient.d.ts +17 -4
  276. package/lib/types/client/RefreshTokenClient.d.ts.map +1 -1
  277. package/lib/types/client/SilentFlowClient.d.ts +17 -4
  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 -229
  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 -128
  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/error/PlatformBrokerError.d.ts.map +1 -1
  302. package/lib/types/exports-browser-only.d.ts +4 -3
  303. package/lib/types/exports-browser-only.d.ts.map +1 -1
  304. package/lib/types/exports-common.d.ts +11 -8
  305. package/lib/types/exports-common.d.ts.map +1 -1
  306. package/lib/types/exports-node-only.d.ts +2 -4
  307. package/lib/types/exports-node-only.d.ts.map +1 -1
  308. package/lib/types/logger/Logger.d.ts +36 -13
  309. package/lib/types/logger/Logger.d.ts.map +1 -1
  310. package/lib/types/network/ThrottlingUtils.d.ts.map +1 -1
  311. package/lib/types/packageMetadata.d.ts +1 -1
  312. package/lib/types/packageMetadata.d.ts.map +1 -1
  313. package/lib/types/protocol/Authorize.d.ts +1 -2
  314. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  315. package/lib/types/protocol/Token.d.ts +40 -0
  316. package/lib/types/protocol/Token.d.ts.map +1 -0
  317. package/lib/types/request/AuthenticationHeaderParser.d.ts.map +1 -1
  318. package/lib/types/request/BaseAuthRequest.d.ts +4 -8
  319. package/lib/types/request/BaseAuthRequest.d.ts.map +1 -1
  320. package/lib/types/request/CommonAuthorizationCodeRequest.d.ts +2 -1
  321. package/lib/types/request/CommonAuthorizationCodeRequest.d.ts.map +1 -1
  322. package/lib/types/request/CommonAuthorizationUrlRequest.d.ts +2 -4
  323. package/lib/types/request/CommonAuthorizationUrlRequest.d.ts.map +1 -1
  324. package/lib/types/request/CommonRefreshTokenRequest.d.ts +2 -1
  325. package/lib/types/request/CommonRefreshTokenRequest.d.ts.map +1 -1
  326. package/lib/types/request/CommonSilentFlowRequest.d.ts +2 -1
  327. package/lib/types/request/CommonSilentFlowRequest.d.ts.map +1 -1
  328. package/lib/types/request/RequestParameterBuilder.d.ts +6 -12
  329. package/lib/types/request/RequestParameterBuilder.d.ts.map +1 -1
  330. package/lib/types/response/AuthenticationResult.d.ts +1 -1
  331. package/lib/types/response/AuthenticationResult.d.ts.map +1 -1
  332. package/lib/types/response/ResponseHandler.d.ts +7 -6
  333. package/lib/types/response/ResponseHandler.d.ts.map +1 -1
  334. package/lib/types/telemetry/performance/IPerformanceClient.d.ts +0 -29
  335. package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
  336. package/lib/types/telemetry/performance/PerformanceClient.d.ts +5 -81
  337. package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +1 -1
  338. package/lib/types/telemetry/performance/PerformanceEvent.d.ts +1 -280
  339. package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
  340. package/lib/types/telemetry/performance/PerformanceEvents.d.ts +66 -0
  341. package/lib/types/telemetry/performance/PerformanceEvents.d.ts.map +1 -0
  342. package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +0 -4
  343. package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
  344. package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +2 -2
  345. package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
  346. package/lib/types/url/UrlString.d.ts +0 -5
  347. package/lib/types/url/UrlString.d.ts.map +1 -1
  348. package/lib/types/utils/Constants.d.ts +81 -112
  349. package/lib/types/utils/Constants.d.ts.map +1 -1
  350. package/lib/types/utils/FunctionWrappers.d.ts +2 -2
  351. package/lib/types/utils/FunctionWrappers.d.ts.map +1 -1
  352. package/lib/types/utils/ProtocolUtils.d.ts +14 -35
  353. package/lib/types/utils/ProtocolUtils.d.ts.map +1 -1
  354. package/lib/types/utils/StateTypes.d.ts +15 -0
  355. package/lib/types/utils/StateTypes.d.ts.map +1 -0
  356. package/lib/types/utils/UrlUtils.d.ts +1 -2
  357. package/lib/types/utils/UrlUtils.d.ts.map +1 -1
  358. package/package.json +7 -7
  359. package/src/account/AccountInfo.ts +0 -1
  360. package/src/account/AuthToken.ts +1 -2
  361. package/src/account/ClientInfo.ts +3 -6
  362. package/src/authority/Authority.ts +145 -146
  363. package/src/authority/AuthorityFactory.ts +7 -7
  364. package/src/authority/AuthorityMetadata.ts +54 -47
  365. package/src/authority/AuthorityOptions.ts +0 -1
  366. package/src/authority/OIDCOptions.ts +2 -2
  367. package/src/authority/RegionDiscovery.ts +20 -33
  368. package/src/cache/CacheManager.ts +177 -128
  369. package/src/cache/entities/AccessTokenEntity.ts +0 -4
  370. package/src/cache/entities/AccountEntity.ts +4 -292
  371. package/src/cache/entities/CredentialEntity.ts +0 -2
  372. package/src/cache/interface/ICacheManager.ts +55 -20
  373. package/src/cache/utils/AccountEntityUtils.ts +258 -0
  374. package/src/cache/utils/CacheHelpers.ts +23 -37
  375. package/src/cache/utils/CacheTypes.ts +0 -1
  376. package/src/client/AuthorizationCodeClient.ts +146 -58
  377. package/src/client/RefreshTokenClient.ts +108 -65
  378. package/src/client/SilentFlowClient.ts +74 -25
  379. package/src/config/ClientConfiguration.ts +9 -37
  380. package/src/crypto/ICrypto.ts +5 -3
  381. package/src/crypto/PopTokenGenerator.ts +3 -13
  382. package/src/error/AuthError.ts +11 -30
  383. package/src/error/CacheError.ts +4 -15
  384. package/src/error/ClientAuthError.ts +1 -317
  385. package/src/error/ClientAuthErrorCodes.ts +0 -8
  386. package/src/error/ClientConfigurationError.ts +1 -202
  387. package/src/error/ClientConfigurationErrorCodes.ts +0 -4
  388. package/src/error/InteractionRequiredAuthError.ts +8 -48
  389. package/src/error/JoseHeaderError.ts +1 -8
  390. package/src/error/PlatformBrokerError.ts +2 -1
  391. package/src/exports-browser-only.ts +2 -6
  392. package/src/exports-common.ts +8 -40
  393. package/src/exports-node-only.ts +5 -4
  394. package/src/logger/Logger.ts +174 -39
  395. package/src/network/RequestThumbprint.ts +1 -1
  396. package/src/network/ThrottlingUtils.ts +12 -15
  397. package/src/packageMetadata.ts +1 -1
  398. package/src/protocol/Authorize.ts +24 -20
  399. package/src/protocol/Token.ts +230 -0
  400. package/src/request/AuthenticationHeaderParser.ts +2 -4
  401. package/src/request/BaseAuthRequest.ts +4 -8
  402. package/src/request/CommonAuthorizationCodeRequest.ts +2 -1
  403. package/src/request/CommonAuthorizationUrlRequest.ts +2 -4
  404. package/src/request/CommonRefreshTokenRequest.ts +2 -1
  405. package/src/request/CommonSilentFlowRequest.ts +2 -1
  406. package/src/request/RequestParameterBuilder.ts +35 -50
  407. package/src/request/ScopeSet.ts +4 -4
  408. package/src/response/AuthenticationResult.ts +1 -1
  409. package/src/response/ResponseHandler.ts +56 -60
  410. package/src/telemetry/performance/IPerformanceClient.ts +0 -40
  411. package/src/telemetry/performance/PerformanceClient.ts +26 -295
  412. package/src/telemetry/performance/PerformanceEvent.ts +3 -582
  413. package/src/telemetry/performance/PerformanceEvents.ts +98 -0
  414. package/src/telemetry/performance/StubPerformanceClient.ts +0 -16
  415. package/src/telemetry/server/ServerTelemetryManager.ts +33 -44
  416. package/src/url/UrlString.ts +3 -12
  417. package/src/utils/Constants.ts +103 -140
  418. package/src/utils/FunctionWrappers.ts +28 -29
  419. package/src/utils/ProtocolUtils.ts +67 -93
  420. package/src/utils/StateTypes.ts +20 -0
  421. package/src/utils/UrlUtils.ts +2 -15
  422. package/dist/cache/entities/AccountEntity.mjs +0 -232
  423. package/dist/cache/entities/AccountEntity.mjs.map +0 -1
  424. package/dist/client/BaseClient.d.ts +0 -59
  425. package/dist/client/BaseClient.d.ts.map +0 -1
  426. package/dist/client/BaseClient.mjs +0 -167
  427. package/dist/client/BaseClient.mjs.map +0 -1
  428. package/dist/index-browser.mjs +0 -72
  429. package/dist/index-browser.mjs.map +0 -1
  430. package/dist/request/CommonClientCredentialRequest.d.ts +0 -18
  431. package/dist/request/CommonClientCredentialRequest.d.ts.map +0 -1
  432. package/dist/request/CommonDeviceCodeRequest.d.ts +0 -22
  433. package/dist/request/CommonDeviceCodeRequest.d.ts.map +0 -1
  434. package/dist/request/CommonOnBehalfOfRequest.d.ts +0 -14
  435. package/dist/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
  436. package/dist/request/CommonUsernamePasswordRequest.d.ts +0 -18
  437. package/dist/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
  438. package/lib/index-node-4Jss3kYh.js.map +0 -1
  439. package/lib/types/client/BaseClient.d.ts +0 -59
  440. package/lib/types/client/BaseClient.d.ts.map +0 -1
  441. package/lib/types/request/CommonClientCredentialRequest.d.ts +0 -18
  442. package/lib/types/request/CommonClientCredentialRequest.d.ts.map +0 -1
  443. package/lib/types/request/CommonDeviceCodeRequest.d.ts +0 -22
  444. package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +0 -1
  445. package/lib/types/request/CommonOnBehalfOfRequest.d.ts +0 -14
  446. package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
  447. package/lib/types/request/CommonUsernamePasswordRequest.d.ts +0 -18
  448. package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
  449. package/src/client/BaseClient.ts +0 -320
  450. package/src/request/CommonClientCredentialRequest.ts +0 -23
  451. package/src/request/CommonDeviceCodeRequest.ts +0 -31
  452. package/src/request/CommonOnBehalfOfRequest.ts +0 -19
  453. package/src/request/CommonUsernamePasswordRequest.ts +0 -23
@@ -1,489 +1,9 @@
1
- /*! @azure/msal-common v15.13.3 2025-12-04 */
1
+ /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
5
  * Licensed under the MIT License.
6
6
  */
7
- /**
8
- * Enumeration of operations that are instrumented by have their performance measured by the PerformanceClient.
9
- *
10
- * @export
11
- * @enum {number}
12
- */
13
- const PerformanceEvents = {
14
- /**
15
- * acquireTokenByCode API (msal-browser and msal-node).
16
- * Used to acquire tokens by trading an authorization code against the token endpoint.
17
- */
18
- AcquireTokenByCode: "acquireTokenByCode",
19
- /**
20
- * acquireTokenByRefreshToken API (msal-browser and msal-node).
21
- * Used to renew an access token using a refresh token against the token endpoint.
22
- */
23
- AcquireTokenByRefreshToken: "acquireTokenByRefreshToken",
24
- /**
25
- * acquireTokenSilent API (msal-browser and msal-node).
26
- * Used to silently acquire a new access token (from the cache or the network).
27
- */
28
- AcquireTokenSilent: "acquireTokenSilent",
29
- /**
30
- * acquireTokenSilentAsync (msal-browser).
31
- * Internal API for acquireTokenSilent.
32
- */
33
- AcquireTokenSilentAsync: "acquireTokenSilentAsync",
34
- /**
35
- * acquireTokenPopup (msal-browser).
36
- * Used to acquire a new access token interactively through pop ups
37
- */
38
- AcquireTokenPopup: "acquireTokenPopup",
39
- /**
40
- * acquireTokenPreRedirect (msal-browser).
41
- * First part of the redirect flow.
42
- * Used to acquire a new access token interactively through redirects.
43
- */
44
- AcquireTokenPreRedirect: "acquireTokenPreRedirect",
45
- /**
46
- * acquireTokenRedirect (msal-browser).
47
- * Second part of the redirect flow.
48
- * Used to acquire a new access token interactively through redirects.
49
- */
50
- AcquireTokenRedirect: "acquireTokenRedirect",
51
- /**
52
- * getPublicKeyThumbprint API in CryptoOpts class (msal-browser).
53
- * Used to generate a public/private keypair and generate a public key thumbprint for pop requests.
54
- */
55
- CryptoOptsGetPublicKeyThumbprint: "cryptoOptsGetPublicKeyThumbprint",
56
- /**
57
- * signJwt API in CryptoOpts class (msal-browser).
58
- * Used to signed a pop token.
59
- */
60
- CryptoOptsSignJwt: "cryptoOptsSignJwt",
61
- /**
62
- * acquireToken API in the SilentCacheClient class (msal-browser).
63
- * Used to read access tokens from the cache.
64
- */
65
- SilentCacheClientAcquireToken: "silentCacheClientAcquireToken",
66
- /**
67
- * acquireToken API in the SilentIframeClient class (msal-browser).
68
- * Used to acquire a new set of tokens from the authorize endpoint in a hidden iframe.
69
- */
70
- SilentIframeClientAcquireToken: "silentIframeClientAcquireToken",
71
- AwaitConcurrentIframe: "awaitConcurrentIframe",
72
- /**
73
- * acquireToken API in SilentRereshClient (msal-browser).
74
- * Used to acquire a new set of tokens from the token endpoint using a refresh token.
75
- */
76
- SilentRefreshClientAcquireToken: "silentRefreshClientAcquireToken",
77
- /**
78
- * ssoSilent API (msal-browser).
79
- * Used to silently acquire an authorization code and set of tokens using a hidden iframe.
80
- */
81
- SsoSilent: "ssoSilent",
82
- /**
83
- * getDiscoveredAuthority API in StandardInteractionClient class (msal-browser).
84
- * Used to load authority metadata for a request.
85
- */
86
- StandardInteractionClientGetDiscoveredAuthority: "standardInteractionClientGetDiscoveredAuthority",
87
- /**
88
- * acquireToken APIs in msal-browser.
89
- * Used to make an /authorize endpoint call with native brokering enabled.
90
- */
91
- FetchAccountIdWithNativeBroker: "fetchAccountIdWithNativeBroker",
92
- /**
93
- * acquireToken API in NativeInteractionClient class (msal-browser).
94
- * Used to acquire a token from Native component when native brokering is enabled.
95
- */
96
- NativeInteractionClientAcquireToken: "nativeInteractionClientAcquireToken",
97
- /**
98
- * Time spent creating default headers for requests to token endpoint
99
- */
100
- BaseClientCreateTokenRequestHeaders: "baseClientCreateTokenRequestHeaders",
101
- /**
102
- * Time spent sending/waiting for the response of a request to the token endpoint
103
- */
104
- NetworkClientSendPostRequestAsync: "networkClientSendPostRequestAsync",
105
- RefreshTokenClientExecutePostToTokenEndpoint: "refreshTokenClientExecutePostToTokenEndpoint",
106
- AuthorizationCodeClientExecutePostToTokenEndpoint: "authorizationCodeClientExecutePostToTokenEndpoint",
107
- /**
108
- * Used to measure the time taken for completing embedded-broker handshake (PW-Broker).
109
- */
110
- BrokerHandhshake: "brokerHandshake",
111
- /**
112
- * acquireTokenByRefreshToken API in BrokerClientApplication (PW-Broker) .
113
- */
114
- AcquireTokenByRefreshTokenInBroker: "acquireTokenByRefreshTokenInBroker",
115
- /**
116
- * Time taken for token acquisition by broker
117
- */
118
- AcquireTokenByBroker: "acquireTokenByBroker",
119
- /**
120
- * Time spent on the network for refresh token acquisition
121
- */
122
- RefreshTokenClientExecuteTokenRequest: "refreshTokenClientExecuteTokenRequest",
123
- /**
124
- * Time taken for acquiring refresh token , records RT size
125
- */
126
- RefreshTokenClientAcquireToken: "refreshTokenClientAcquireToken",
127
- /**
128
- * Time taken for acquiring cached refresh token
129
- */
130
- RefreshTokenClientAcquireTokenWithCachedRefreshToken: "refreshTokenClientAcquireTokenWithCachedRefreshToken",
131
- /**
132
- * acquireTokenByRefreshToken API in RefreshTokenClient (msal-common).
133
- */
134
- RefreshTokenClientAcquireTokenByRefreshToken: "refreshTokenClientAcquireTokenByRefreshToken",
135
- /**
136
- * Helper function to create token request body in RefreshTokenClient (msal-common).
137
- */
138
- RefreshTokenClientCreateTokenRequestBody: "refreshTokenClientCreateTokenRequestBody",
139
- /**
140
- * acquireTokenFromCache (msal-browser).
141
- * Internal API for acquiring token from cache
142
- */
143
- AcquireTokenFromCache: "acquireTokenFromCache",
144
- SilentFlowClientAcquireCachedToken: "silentFlowClientAcquireCachedToken",
145
- SilentFlowClientGenerateResultFromCacheRecord: "silentFlowClientGenerateResultFromCacheRecord",
146
- /**
147
- * acquireTokenBySilentIframe (msal-browser).
148
- * Internal API for acquiring token by silent Iframe
149
- */
150
- AcquireTokenBySilentIframe: "acquireTokenBySilentIframe",
151
- /**
152
- * Internal API for initializing base request in BaseInteractionClient (msal-browser)
153
- */
154
- InitializeBaseRequest: "initializeBaseRequest",
155
- /**
156
- * Internal API for initializing silent request in SilentCacheClient (msal-browser)
157
- */
158
- InitializeSilentRequest: "initializeSilentRequest",
159
- InitializeClientApplication: "initializeClientApplication",
160
- InitializeCache: "initializeCache",
161
- /**
162
- * Helper function in SilentIframeClient class (msal-browser).
163
- */
164
- SilentIframeClientTokenHelper: "silentIframeClientTokenHelper",
165
- /**
166
- * SilentHandler
167
- */
168
- SilentHandlerInitiateAuthRequest: "silentHandlerInitiateAuthRequest",
169
- SilentHandlerMonitorIframeForHash: "silentHandlerMonitorIframeForHash",
170
- SilentHandlerLoadFrame: "silentHandlerLoadFrame",
171
- SilentHandlerLoadFrameSync: "silentHandlerLoadFrameSync",
172
- /**
173
- * Helper functions in StandardInteractionClient class (msal-browser)
174
- */
175
- StandardInteractionClientCreateAuthCodeClient: "standardInteractionClientCreateAuthCodeClient",
176
- StandardInteractionClientGetClientConfiguration: "standardInteractionClientGetClientConfiguration",
177
- StandardInteractionClientInitializeAuthorizationRequest: "standardInteractionClientInitializeAuthorizationRequest",
178
- /**
179
- * getAuthCodeUrl API (msal-browser and msal-node).
180
- */
181
- GetAuthCodeUrl: "getAuthCodeUrl",
182
- GetStandardParams: "getStandardParams",
183
- /**
184
- * Functions from InteractionHandler (msal-browser)
185
- */
186
- HandleCodeResponseFromServer: "handleCodeResponseFromServer",
187
- HandleCodeResponse: "handleCodeResponse",
188
- HandleResponseEar: "handleResponseEar",
189
- HandleResponsePlatformBroker: "handleResponsePlatformBroker",
190
- HandleResponseCode: "handleResponseCode",
191
- UpdateTokenEndpointAuthority: "updateTokenEndpointAuthority",
192
- /**
193
- * APIs in Authorization Code Client (msal-common)
194
- */
195
- AuthClientAcquireToken: "authClientAcquireToken",
196
- AuthClientExecuteTokenRequest: "authClientExecuteTokenRequest",
197
- AuthClientCreateTokenRequestBody: "authClientCreateTokenRequestBody",
198
- /**
199
- * Generate functions in PopTokenGenerator (msal-common)
200
- */
201
- PopTokenGenerateCnf: "popTokenGenerateCnf",
202
- PopTokenGenerateKid: "popTokenGenerateKid",
203
- /**
204
- * handleServerTokenResponse API in ResponseHandler (msal-common)
205
- */
206
- HandleServerTokenResponse: "handleServerTokenResponse",
207
- DeserializeResponse: "deserializeResponse",
208
- /**
209
- * Authority functions
210
- */
211
- AuthorityFactoryCreateDiscoveredInstance: "authorityFactoryCreateDiscoveredInstance",
212
- AuthorityResolveEndpointsAsync: "authorityResolveEndpointsAsync",
213
- AuthorityResolveEndpointsFromLocalSources: "authorityResolveEndpointsFromLocalSources",
214
- AuthorityGetCloudDiscoveryMetadataFromNetwork: "authorityGetCloudDiscoveryMetadataFromNetwork",
215
- AuthorityUpdateCloudDiscoveryMetadata: "authorityUpdateCloudDiscoveryMetadata",
216
- AuthorityGetEndpointMetadataFromNetwork: "authorityGetEndpointMetadataFromNetwork",
217
- AuthorityUpdateEndpointMetadata: "authorityUpdateEndpointMetadata",
218
- AuthorityUpdateMetadataWithRegionalInformation: "authorityUpdateMetadataWithRegionalInformation",
219
- /**
220
- * Region Discovery functions
221
- */
222
- RegionDiscoveryDetectRegion: "regionDiscoveryDetectRegion",
223
- RegionDiscoveryGetRegionFromIMDS: "regionDiscoveryGetRegionFromIMDS",
224
- RegionDiscoveryGetCurrentVersion: "regionDiscoveryGetCurrentVersion",
225
- AcquireTokenByCodeAsync: "acquireTokenByCodeAsync",
226
- GetEndpointMetadataFromNetwork: "getEndpointMetadataFromNetwork",
227
- GetCloudDiscoveryMetadataFromNetworkMeasurement: "getCloudDiscoveryMetadataFromNetworkMeasurement",
228
- HandleRedirectPromiseMeasurement: "handleRedirectPromise",
229
- HandleNativeRedirectPromiseMeasurement: "handleNativeRedirectPromise",
230
- UpdateCloudDiscoveryMetadataMeasurement: "updateCloudDiscoveryMetadataMeasurement",
231
- UsernamePasswordClientAcquireToken: "usernamePasswordClientAcquireToken",
232
- NativeMessageHandlerHandshake: "nativeMessageHandlerHandshake",
233
- NativeGenerateAuthResult: "nativeGenerateAuthResult",
234
- RemoveHiddenIframe: "removeHiddenIframe",
235
- /**
236
- * Cache operations
237
- */
238
- ClearTokensAndKeysWithClaims: "clearTokensAndKeysWithClaims",
239
- CacheManagerGetRefreshToken: "cacheManagerGetRefreshToken",
240
- ImportExistingCache: "importExistingCache",
241
- SetUserData: "setUserData",
242
- LocalStorageUpdated: "localStorageUpdated",
243
- /**
244
- * Crypto Operations
245
- */
246
- GeneratePkceCodes: "generatePkceCodes",
247
- GenerateCodeVerifier: "generateCodeVerifier",
248
- GenerateCodeChallengeFromVerifier: "generateCodeChallengeFromVerifier",
249
- Sha256Digest: "sha256Digest",
250
- GetRandomValues: "getRandomValues",
251
- GenerateHKDF: "generateHKDF",
252
- GenerateBaseKey: "generateBaseKey",
253
- Base64Decode: "base64Decode",
254
- UrlEncodeArr: "urlEncodeArr",
255
- Encrypt: "encrypt",
256
- Decrypt: "decrypt",
257
- GenerateEarKey: "generateEarKey",
258
- DecryptEarResponse: "decryptEarResponse",
259
- };
260
- const PerformanceEventAbbreviations = new Map([
261
- [PerformanceEvents.AcquireTokenByCode, "ATByCode"],
262
- [PerformanceEvents.AcquireTokenByRefreshToken, "ATByRT"],
263
- [PerformanceEvents.AcquireTokenSilent, "ATS"],
264
- [PerformanceEvents.AcquireTokenSilentAsync, "ATSAsync"],
265
- [PerformanceEvents.AcquireTokenPopup, "ATPopup"],
266
- [PerformanceEvents.AcquireTokenRedirect, "ATRedirect"],
267
- [
268
- PerformanceEvents.CryptoOptsGetPublicKeyThumbprint,
269
- "CryptoGetPKThumb",
270
- ],
271
- [PerformanceEvents.CryptoOptsSignJwt, "CryptoSignJwt"],
272
- [PerformanceEvents.SilentCacheClientAcquireToken, "SltCacheClientAT"],
273
- [PerformanceEvents.SilentIframeClientAcquireToken, "SltIframeClientAT"],
274
- [PerformanceEvents.SilentRefreshClientAcquireToken, "SltRClientAT"],
275
- [PerformanceEvents.SsoSilent, "SsoSlt"],
276
- [
277
- PerformanceEvents.StandardInteractionClientGetDiscoveredAuthority,
278
- "StdIntClientGetDiscAuth",
279
- ],
280
- [
281
- PerformanceEvents.FetchAccountIdWithNativeBroker,
282
- "FetchAccIdWithNtvBroker",
283
- ],
284
- [
285
- PerformanceEvents.NativeInteractionClientAcquireToken,
286
- "NtvIntClientAT",
287
- ],
288
- [
289
- PerformanceEvents.BaseClientCreateTokenRequestHeaders,
290
- "BaseClientCreateTReqHead",
291
- ],
292
- [
293
- PerformanceEvents.NetworkClientSendPostRequestAsync,
294
- "NetClientSendPost",
295
- ],
296
- [
297
- PerformanceEvents.RefreshTokenClientExecutePostToTokenEndpoint,
298
- "RTClientExecPost",
299
- ],
300
- [
301
- PerformanceEvents.AuthorizationCodeClientExecutePostToTokenEndpoint,
302
- "AuthCodeClientExecPost",
303
- ],
304
- [PerformanceEvents.BrokerHandhshake, "BrokerHandshake"],
305
- [
306
- PerformanceEvents.AcquireTokenByRefreshTokenInBroker,
307
- "ATByRTInBroker",
308
- ],
309
- [PerformanceEvents.AcquireTokenByBroker, "ATByBroker"],
310
- [
311
- PerformanceEvents.RefreshTokenClientExecuteTokenRequest,
312
- "RTClientExecTReq",
313
- ],
314
- [PerformanceEvents.RefreshTokenClientAcquireToken, "RTClientAT"],
315
- [
316
- PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken,
317
- "RTClientATWithCachedRT",
318
- ],
319
- [
320
- PerformanceEvents.RefreshTokenClientAcquireTokenByRefreshToken,
321
- "RTClientATByRT",
322
- ],
323
- [
324
- PerformanceEvents.RefreshTokenClientCreateTokenRequestBody,
325
- "RTClientCreateTReqBody",
326
- ],
327
- [PerformanceEvents.AcquireTokenFromCache, "ATFromCache"],
328
- [
329
- PerformanceEvents.SilentFlowClientAcquireCachedToken,
330
- "SltFlowClientATCached",
331
- ],
332
- [
333
- PerformanceEvents.SilentFlowClientGenerateResultFromCacheRecord,
334
- "SltFlowClientGenResFromCache",
335
- ],
336
- [PerformanceEvents.AcquireTokenBySilentIframe, "ATBySltIframe"],
337
- [PerformanceEvents.InitializeBaseRequest, "InitBaseReq"],
338
- [PerformanceEvents.InitializeSilentRequest, "InitSltReq"],
339
- [
340
- PerformanceEvents.InitializeClientApplication,
341
- "InitClientApplication",
342
- ],
343
- [PerformanceEvents.InitializeCache, "InitCache"],
344
- [PerformanceEvents.ImportExistingCache, "importCache"],
345
- [PerformanceEvents.SetUserData, "setUserData"],
346
- [PerformanceEvents.LocalStorageUpdated, "localStorageUpdated"],
347
- [PerformanceEvents.SilentIframeClientTokenHelper, "SIClientTHelper"],
348
- [
349
- PerformanceEvents.SilentHandlerInitiateAuthRequest,
350
- "SHandlerInitAuthReq",
351
- ],
352
- [
353
- PerformanceEvents.SilentHandlerMonitorIframeForHash,
354
- "SltHandlerMonitorIframeForHash",
355
- ],
356
- [PerformanceEvents.SilentHandlerLoadFrame, "SHandlerLoadFrame"],
357
- [PerformanceEvents.SilentHandlerLoadFrameSync, "SHandlerLoadFrameSync"],
358
- [
359
- PerformanceEvents.StandardInteractionClientCreateAuthCodeClient,
360
- "StdIntClientCreateAuthCodeClient",
361
- ],
362
- [
363
- PerformanceEvents.StandardInteractionClientGetClientConfiguration,
364
- "StdIntClientGetClientConf",
365
- ],
366
- [
367
- PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest,
368
- "StdIntClientInitAuthReq",
369
- ],
370
- [PerformanceEvents.GetAuthCodeUrl, "GetAuthCodeUrl"],
371
- [
372
- PerformanceEvents.HandleCodeResponseFromServer,
373
- "HandleCodeResFromServer",
374
- ],
375
- [PerformanceEvents.HandleCodeResponse, "HandleCodeResp"],
376
- [PerformanceEvents.HandleResponseEar, "HandleRespEar"],
377
- [PerformanceEvents.HandleResponseCode, "HandleRespCode"],
378
- [
379
- PerformanceEvents.HandleResponsePlatformBroker,
380
- "HandleRespPlatBroker",
381
- ],
382
- [PerformanceEvents.UpdateTokenEndpointAuthority, "UpdTEndpointAuth"],
383
- [PerformanceEvents.AuthClientAcquireToken, "AuthClientAT"],
384
- [PerformanceEvents.AuthClientExecuteTokenRequest, "AuthClientExecTReq"],
385
- [
386
- PerformanceEvents.AuthClientCreateTokenRequestBody,
387
- "AuthClientCreateTReqBody",
388
- ],
389
- [PerformanceEvents.PopTokenGenerateCnf, "PopTGenCnf"],
390
- [PerformanceEvents.PopTokenGenerateKid, "PopTGenKid"],
391
- [PerformanceEvents.HandleServerTokenResponse, "HandleServerTRes"],
392
- [PerformanceEvents.DeserializeResponse, "DeserializeRes"],
393
- [
394
- PerformanceEvents.AuthorityFactoryCreateDiscoveredInstance,
395
- "AuthFactCreateDiscInst",
396
- ],
397
- [
398
- PerformanceEvents.AuthorityResolveEndpointsAsync,
399
- "AuthResolveEndpointsAsync",
400
- ],
401
- [
402
- PerformanceEvents.AuthorityResolveEndpointsFromLocalSources,
403
- "AuthResolveEndpointsFromLocal",
404
- ],
405
- [
406
- PerformanceEvents.AuthorityGetCloudDiscoveryMetadataFromNetwork,
407
- "AuthGetCDMetaFromNet",
408
- ],
409
- [
410
- PerformanceEvents.AuthorityUpdateCloudDiscoveryMetadata,
411
- "AuthUpdCDMeta",
412
- ],
413
- [
414
- PerformanceEvents.AuthorityGetEndpointMetadataFromNetwork,
415
- "AuthUpdCDMetaFromNet",
416
- ],
417
- [
418
- PerformanceEvents.AuthorityUpdateEndpointMetadata,
419
- "AuthUpdEndpointMeta",
420
- ],
421
- [
422
- PerformanceEvents.AuthorityUpdateMetadataWithRegionalInformation,
423
- "AuthUpdMetaWithRegInfo",
424
- ],
425
- [PerformanceEvents.RegionDiscoveryDetectRegion, "RegDiscDetectReg"],
426
- [
427
- PerformanceEvents.RegionDiscoveryGetRegionFromIMDS,
428
- "RegDiscGetRegFromIMDS",
429
- ],
430
- [
431
- PerformanceEvents.RegionDiscoveryGetCurrentVersion,
432
- "RegDiscGetCurrentVer",
433
- ],
434
- [PerformanceEvents.AcquireTokenByCodeAsync, "ATByCodeAsync"],
435
- [
436
- PerformanceEvents.GetEndpointMetadataFromNetwork,
437
- "GetEndpointMetaFromNet",
438
- ],
439
- [
440
- PerformanceEvents.GetCloudDiscoveryMetadataFromNetworkMeasurement,
441
- "GetCDMetaFromNet",
442
- ],
443
- [
444
- PerformanceEvents.HandleRedirectPromiseMeasurement,
445
- "HandleRedirectPromise",
446
- ],
447
- [
448
- PerformanceEvents.HandleNativeRedirectPromiseMeasurement,
449
- "HandleNtvRedirectPromise",
450
- ],
451
- [
452
- PerformanceEvents.UpdateCloudDiscoveryMetadataMeasurement,
453
- "UpdateCDMeta",
454
- ],
455
- [
456
- PerformanceEvents.UsernamePasswordClientAcquireToken,
457
- "UserPassClientAT",
458
- ],
459
- [
460
- PerformanceEvents.NativeMessageHandlerHandshake,
461
- "NtvMsgHandlerHandshake",
462
- ],
463
- [PerformanceEvents.NativeGenerateAuthResult, "NtvGenAuthRes"],
464
- [PerformanceEvents.RemoveHiddenIframe, "RemoveHiddenIframe"],
465
- [
466
- PerformanceEvents.ClearTokensAndKeysWithClaims,
467
- "ClearTAndKeysWithClaims",
468
- ],
469
- [PerformanceEvents.CacheManagerGetRefreshToken, "CacheManagerGetRT"],
470
- [PerformanceEvents.GeneratePkceCodes, "GenPkceCodes"],
471
- [PerformanceEvents.GenerateCodeVerifier, "GenCodeVerifier"],
472
- [
473
- PerformanceEvents.GenerateCodeChallengeFromVerifier,
474
- "GenCodeChallengeFromVerifier",
475
- ],
476
- [PerformanceEvents.Sha256Digest, "Sha256Digest"],
477
- [PerformanceEvents.GetRandomValues, "GetRandomValues"],
478
- [PerformanceEvents.GenerateHKDF, "genHKDF"],
479
- [PerformanceEvents.GenerateBaseKey, "genBaseKey"],
480
- [PerformanceEvents.Base64Decode, "b64Decode"],
481
- [PerformanceEvents.UrlEncodeArr, "urlEncArr"],
482
- [PerformanceEvents.Encrypt, "encrypt"],
483
- [PerformanceEvents.Decrypt, "decrypt"],
484
- [PerformanceEvents.GenerateEarKey, "genEarKey"],
485
- [PerformanceEvents.DecryptEarResponse, "decryptEarResp"],
486
- ]);
487
7
  /**
488
8
  * State of the performance event.
489
9
  *
@@ -502,7 +22,6 @@ const IntFields = new Set([
502
22
  "matsSilentStatus",
503
23
  "matsHttpStatus",
504
24
  "refreshTokenSize",
505
- "queuedTimeMs",
506
25
  "startTimeMs",
507
26
  "status",
508
27
  "multiMatchedAT",
@@ -522,5 +41,5 @@ const IntFields = new Set([
522
41
  "upgradedCacheCount",
523
42
  ]);
524
43
 
525
- export { IntFields, PerformanceEventAbbreviations, PerformanceEventStatus, PerformanceEvents };
44
+ export { IntFields, PerformanceEventStatus };
526
45
  //# sourceMappingURL=PerformanceEvent.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"PerformanceEvent.mjs","sources":["../../../src/telemetry/performance/PerformanceEvent.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAIH;;;;;AAKG;AACU,MAAA,iBAAiB,GAAG;AAC7B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AAiB,CAAC,YAAY,EAAE,SAAS,CAAC;AAC3C,IAAA,CAAC,iBAAiB,CAAC,eAAe,EAAE,YAAY,CAAC;AACjD,IAAA,CAAC,iBAAiB,CAAC,YAAY,EAAE,WAAW,CAAC;AAC7C,IAAA,CAAC,iBAAiB,CAAC,YAAY,EAAE,WAAW,CAAC;AAC7C,IAAA,CAAC,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC;AACtC,IAAA,CAAC,iBAAiB,CAAC,OAAO,EAAE,SAAS,CAAC;AACtC,IAAA,CAAC,iBAAiB,CAAC,cAAc,EAAE,WAAW,CAAC;AAC/C,IAAA,CAAC,iBAAiB,CAAC,kBAAkB,EAAE,gBAAgB,CAAC;AAC3D,CAAA,EAAE;AAEP;;;;;AAKG;AACU,MAAA,sBAAsB,GAAG;AAClC,IAAA,UAAU,EAAE,CAAC;AACb,IAAA,UAAU,EAAE,CAAC;AACb,IAAA,SAAS,EAAE,CAAC;EACL;AAyWE,MAAA,SAAS,GAAwB,IAAI,GAAG,CAAC;IAClD,iBAAiB;IACjB,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,kBAAkB;IAClB,cAAc;IACd,aAAa;IACb,QAAQ;IACR,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,uBAAuB;IACvB,4BAA4B;IAC5B,iBAAiB;IACjB,gBAAgB;IAChB,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,aAAa;IACb,kBAAkB;IAClB,0BAA0B;IAC1B,oBAAoB;AACvB,CAAA;;;;"}
1
+ {"version":3,"file":"PerformanceEvent.mjs","sources":["../../../src/telemetry/performance/PerformanceEvent.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAIH;;;;;AAKG;AACU,MAAA,sBAAsB,GAAG;AAClC,IAAA,UAAU,EAAE,CAAC;AACb,IAAA,UAAU,EAAE,CAAC;AACb,IAAA,SAAS,EAAE,CAAC;EACL;AAiVE,MAAA,SAAS,GAAwB,IAAI,GAAG,CAAC;IAClD,iBAAiB;IACjB,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,kBAAkB;IAClB,aAAa;IACb,QAAQ;IACR,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,uBAAuB;IACvB,4BAA4B;IAC5B,iBAAiB;IACjB,gBAAgB;IAChB,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,aAAa;IACb,kBAAkB;IAClB,0BAA0B;IAC1B,oBAAoB;AACvB,CAAA;;;;"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Time spent sending/waiting for the response of a request to the token endpoint
3
+ */
4
+ export declare const NetworkClientSendPostRequestAsync = "networkClientSendPostRequestAsync";
5
+ export declare const RefreshTokenClientExecutePostToTokenEndpoint = "refreshTokenClientExecutePostToTokenEndpoint";
6
+ export declare const AuthorizationCodeClientExecutePostToTokenEndpoint = "authorizationCodeClientExecutePostToTokenEndpoint";
7
+ /**
8
+ * Time spent on the network for refresh token acquisition
9
+ */
10
+ export declare const RefreshTokenClientExecuteTokenRequest = "refreshTokenClientExecuteTokenRequest";
11
+ /**
12
+ * Time taken for acquiring refresh token , records RT size
13
+ */
14
+ export declare const RefreshTokenClientAcquireToken = "refreshTokenClientAcquireToken";
15
+ /**
16
+ * Time taken for acquiring cached refresh token
17
+ */
18
+ export declare const RefreshTokenClientAcquireTokenWithCachedRefreshToken = "refreshTokenClientAcquireTokenWithCachedRefreshToken";
19
+ /**
20
+ * Helper function to create token request body in RefreshTokenClient (msal-common).
21
+ */
22
+ export declare const RefreshTokenClientCreateTokenRequestBody = "refreshTokenClientCreateTokenRequestBody";
23
+ export declare const SilentFlowClientGenerateResultFromCacheRecord = "silentFlowClientGenerateResultFromCacheRecord";
24
+ /**
25
+ * getAuthCodeUrl API (msal-browser and msal-node).
26
+ */
27
+ export declare const GetAuthCodeUrl = "getAuthCodeUrl";
28
+ /**
29
+ * Functions from InteractionHandler (msal-browser)
30
+ */
31
+ export declare const HandleCodeResponseFromServer = "handleCodeResponseFromServer";
32
+ /**
33
+ * APIs in Authorization Code Client (msal-common)
34
+ */
35
+ export declare const AuthClientExecuteTokenRequest = "authClientExecuteTokenRequest";
36
+ export declare const AuthClientCreateTokenRequestBody = "authClientCreateTokenRequestBody";
37
+ export declare const UpdateTokenEndpointAuthority = "updateTokenEndpointAuthority";
38
+ /**
39
+ * Generate functions in PopTokenGenerator (msal-common)
40
+ */
41
+ export declare const PopTokenGenerateCnf = "popTokenGenerateCnf";
42
+ /**
43
+ * handleServerTokenResponse API in ResponseHandler (msal-common)
44
+ */
45
+ export declare const HandleServerTokenResponse = "handleServerTokenResponse";
46
+ /**
47
+ * Authority functions
48
+ */
49
+ export declare const AuthorityResolveEndpointsAsync = "authorityResolveEndpointsAsync";
50
+ export declare const AuthorityGetCloudDiscoveryMetadataFromNetwork = "authorityGetCloudDiscoveryMetadataFromNetwork";
51
+ export declare const AuthorityUpdateCloudDiscoveryMetadata = "authorityUpdateCloudDiscoveryMetadata";
52
+ export declare const AuthorityGetEndpointMetadataFromNetwork = "authorityGetEndpointMetadataFromNetwork";
53
+ export declare const AuthorityUpdateEndpointMetadata = "authorityUpdateEndpointMetadata";
54
+ export declare const AuthorityUpdateMetadataWithRegionalInformation = "authorityUpdateMetadataWithRegionalInformation";
55
+ /**
56
+ * Region Discovery functions
57
+ */
58
+ export declare const RegionDiscoveryDetectRegion = "regionDiscoveryDetectRegion";
59
+ export declare const RegionDiscoveryGetRegionFromIMDS = "regionDiscoveryGetRegionFromIMDS";
60
+ export declare const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
61
+ /**
62
+ * Cache operations
63
+ */
64
+ export declare const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
65
+ export declare const SetUserData = "setUserData";
66
+ //# sourceMappingURL=PerformanceEvents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PerformanceEvents.d.ts","sourceRoot":"","sources":["../../../src/telemetry/performance/PerformanceEvents.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,iCAAiC,sCACP,CAAC;AACxC,eAAO,MAAM,4CAA4C,iDACP,CAAC;AACnD,eAAO,MAAM,iDAAiD,sDACP,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,qCAAqC,0CACP,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAE/E;;GAEG;AACH,eAAO,MAAM,oDAAoD,yDACP,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,wCAAwC,6CACP,CAAC;AAE/C,eAAO,MAAM,6CAA6C,kDACP,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,gCAAgC,qCACP,CAAC;AACvC,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAC/E,eAAO,MAAM,6CAA6C,kDACP,CAAC;AACpD,eAAO,MAAM,qCAAqC,0CACP,CAAC;AAC5C,eAAO,MAAM,uCAAuC,4CACP,CAAC;AAC9C,eAAO,MAAM,+BAA+B,oCACP,CAAC;AACtC,eAAO,MAAM,8CAA8C,mDACP,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,gCAAgC,qCACP,CAAC;AACvC,eAAO,MAAM,gCAAgC,qCACP,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,WAAW,gBAAgB,CAAC"}
@@ -0,0 +1,74 @@
1
+ /*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
2
+ 'use strict';
3
+ /*
4
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5
+ * Licensed under the MIT License.
6
+ */
7
+ /**
8
+ * Time spent sending/waiting for the response of a request to the token endpoint
9
+ */
10
+ const NetworkClientSendPostRequestAsync = "networkClientSendPostRequestAsync";
11
+ const RefreshTokenClientExecutePostToTokenEndpoint = "refreshTokenClientExecutePostToTokenEndpoint";
12
+ const AuthorizationCodeClientExecutePostToTokenEndpoint = "authorizationCodeClientExecutePostToTokenEndpoint";
13
+ /**
14
+ * Time spent on the network for refresh token acquisition
15
+ */
16
+ const RefreshTokenClientExecuteTokenRequest = "refreshTokenClientExecuteTokenRequest";
17
+ /**
18
+ * Time taken for acquiring refresh token , records RT size
19
+ */
20
+ const RefreshTokenClientAcquireToken = "refreshTokenClientAcquireToken";
21
+ /**
22
+ * Time taken for acquiring cached refresh token
23
+ */
24
+ const RefreshTokenClientAcquireTokenWithCachedRefreshToken = "refreshTokenClientAcquireTokenWithCachedRefreshToken";
25
+ /**
26
+ * Helper function to create token request body in RefreshTokenClient (msal-common).
27
+ */
28
+ const RefreshTokenClientCreateTokenRequestBody = "refreshTokenClientCreateTokenRequestBody";
29
+ const SilentFlowClientGenerateResultFromCacheRecord = "silentFlowClientGenerateResultFromCacheRecord";
30
+ /**
31
+ * getAuthCodeUrl API (msal-browser and msal-node).
32
+ */
33
+ const GetAuthCodeUrl = "getAuthCodeUrl";
34
+ /**
35
+ * Functions from InteractionHandler (msal-browser)
36
+ */
37
+ const HandleCodeResponseFromServer = "handleCodeResponseFromServer";
38
+ /**
39
+ * APIs in Authorization Code Client (msal-common)
40
+ */
41
+ const AuthClientExecuteTokenRequest = "authClientExecuteTokenRequest";
42
+ const AuthClientCreateTokenRequestBody = "authClientCreateTokenRequestBody";
43
+ const UpdateTokenEndpointAuthority = "updateTokenEndpointAuthority";
44
+ /**
45
+ * Generate functions in PopTokenGenerator (msal-common)
46
+ */
47
+ const PopTokenGenerateCnf = "popTokenGenerateCnf";
48
+ /**
49
+ * handleServerTokenResponse API in ResponseHandler (msal-common)
50
+ */
51
+ const HandleServerTokenResponse = "handleServerTokenResponse";
52
+ /**
53
+ * Authority functions
54
+ */
55
+ const AuthorityResolveEndpointsAsync = "authorityResolveEndpointsAsync";
56
+ const AuthorityGetCloudDiscoveryMetadataFromNetwork = "authorityGetCloudDiscoveryMetadataFromNetwork";
57
+ const AuthorityUpdateCloudDiscoveryMetadata = "authorityUpdateCloudDiscoveryMetadata";
58
+ const AuthorityGetEndpointMetadataFromNetwork = "authorityGetEndpointMetadataFromNetwork";
59
+ const AuthorityUpdateEndpointMetadata = "authorityUpdateEndpointMetadata";
60
+ const AuthorityUpdateMetadataWithRegionalInformation = "authorityUpdateMetadataWithRegionalInformation";
61
+ /**
62
+ * Region Discovery functions
63
+ */
64
+ const RegionDiscoveryDetectRegion = "regionDiscoveryDetectRegion";
65
+ const RegionDiscoveryGetRegionFromIMDS = "regionDiscoveryGetRegionFromIMDS";
66
+ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
67
+ /**
68
+ * Cache operations
69
+ */
70
+ const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
71
+ const SetUserData = "setUserData";
72
+
73
+ export { AuthClientCreateTokenRequestBody, AuthClientExecuteTokenRequest, AuthorityGetCloudDiscoveryMetadataFromNetwork, AuthorityGetEndpointMetadataFromNetwork, AuthorityResolveEndpointsAsync, AuthorityUpdateCloudDiscoveryMetadata, AuthorityUpdateEndpointMetadata, AuthorityUpdateMetadataWithRegionalInformation, AuthorizationCodeClientExecutePostToTokenEndpoint, CacheManagerGetRefreshToken, GetAuthCodeUrl, HandleCodeResponseFromServer, HandleServerTokenResponse, NetworkClientSendPostRequestAsync, PopTokenGenerateCnf, RefreshTokenClientAcquireToken, RefreshTokenClientAcquireTokenWithCachedRefreshToken, RefreshTokenClientCreateTokenRequestBody, RefreshTokenClientExecutePostToTokenEndpoint, RefreshTokenClientExecuteTokenRequest, RegionDiscoveryDetectRegion, RegionDiscoveryGetCurrentVersion, RegionDiscoveryGetRegionFromIMDS, SetUserData, SilentFlowClientGenerateResultFromCacheRecord, UpdateTokenEndpointAuthority };
74
+ //# sourceMappingURL=PerformanceEvents.mjs.map