@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,9 +1,6 @@
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
  import { AuthError } from './AuthError.mjs';
4
- import { platformBrokerError, nestedAppAuthBridgeDisabled, missingTenantIdError, userCanceled, noNetworkConnectivity, keyIdMissing, endSessionEndpointNotSupported, bindingKeyNotRemoved, authorizationCodeMissingFromServerResponse, tokenClaimsCnfRequiredForSignedJwt, userTimeoutReached, tokenRefreshRequired, invalidClientCredential, invalidAssertion, unexpectedCredentialType, noCryptoObject, noAccountFound, invalidCacheEnvironment, invalidCacheRecord, noAccountInSilentRequest, deviceCodeUnknownError, deviceCodeExpired, deviceCodePollingCancelled, emptyInputScopeSet, cannotAppendScopeSet, cannotRemoveEmptyScope, requestCannotBeMade, multipleMatchingAppMetadata, multipleMatchingAccounts, multipleMatchingTokens, maxAgeTranspired, authTimeNotFound, nonceMismatch, stateNotFound, stateMismatch, invalidState, hashNotDeserialized, openIdConfigError, networkError, endpointResolutionError, nullOrEmptyToken, tokenParsingError, clientInfoEmptyError, clientInfoDecodingError, methodNotImplemented } from './ClientAuthErrorCodes.mjs';
5
- import * as ClientAuthErrorCodes from './ClientAuthErrorCodes.mjs';
6
- export { ClientAuthErrorCodes };
7
4
 
8
5
  /*
9
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -12,246 +9,12 @@ export { ClientAuthErrorCodes };
12
9
  /**
13
10
  * ClientAuthErrorMessage class containing string constants used by error codes and messages.
14
11
  */
15
- const ClientAuthErrorMessages = {
16
- [clientInfoDecodingError]: "The client info could not be parsed/decoded correctly",
17
- [clientInfoEmptyError]: "The client info was empty",
18
- [tokenParsingError]: "Token cannot be parsed",
19
- [nullOrEmptyToken]: "The token is null or empty",
20
- [endpointResolutionError]: "Endpoints cannot be resolved",
21
- [networkError]: "Network request failed",
22
- [openIdConfigError]: "Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",
23
- [hashNotDeserialized]: "The hash parameters could not be deserialized",
24
- [invalidState]: "State was not the expected format",
25
- [stateMismatch]: "State mismatch error",
26
- [stateNotFound]: "State not found",
27
- [nonceMismatch]: "Nonce mismatch error",
28
- [authTimeNotFound]: "Max Age was requested and the ID token is missing the auth_time variable." +
29
- " auth_time is an optional claim and is not enabled by default - it must be enabled." +
30
- " See https://aka.ms/msaljs/optional-claims for more information.",
31
- [maxAgeTranspired]: "Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",
32
- [multipleMatchingTokens]: "The cache contains multiple tokens satisfying the requirements. " +
33
- "Call AcquireToken again providing more requirements such as authority or account.",
34
- [multipleMatchingAccounts]: "The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",
35
- [multipleMatchingAppMetadata]: "The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",
36
- [requestCannotBeMade]: "Token request cannot be made without authorization code or refresh token.",
37
- [cannotRemoveEmptyScope]: "Cannot remove null or empty scope from ScopeSet",
38
- [cannotAppendScopeSet]: "Cannot append ScopeSet",
39
- [emptyInputScopeSet]: "Empty input ScopeSet cannot be processed",
40
- [deviceCodePollingCancelled]: "Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",
41
- [deviceCodeExpired]: "Device code is expired.",
42
- [deviceCodeUnknownError]: "Device code stopped polling for unknown reasons.",
43
- [noAccountInSilentRequest]: "Please pass an account object, silent flow is not supported without account information",
44
- [invalidCacheRecord]: "Cache record object was null or undefined.",
45
- [invalidCacheEnvironment]: "Invalid environment when attempting to create cache entry",
46
- [noAccountFound]: "No account found in cache for given key.",
47
- [noCryptoObject]: "No crypto object detected.",
48
- [unexpectedCredentialType]: "Unexpected credential type.",
49
- [invalidAssertion]: "Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",
50
- [invalidClientCredential]: "Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",
51
- [tokenRefreshRequired]: "Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.",
52
- [userTimeoutReached]: "User defined timeout for device code polling reached",
53
- [tokenClaimsCnfRequiredForSignedJwt]: "Cannot generate a POP jwt if the token_claims are not populated",
54
- [authorizationCodeMissingFromServerResponse]: "Server response does not contain an authorization code to proceed",
55
- [bindingKeyNotRemoved]: "Could not remove the credential's binding key from storage.",
56
- [endSessionEndpointNotSupported]: "The provided authority does not support logout",
57
- [keyIdMissing]: "A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key.",
58
- [noNetworkConnectivity]: "No network connectivity. Check your internet connection.",
59
- [userCanceled]: "User cancelled the flow.",
60
- [missingTenantIdError]: "A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",
61
- [methodNotImplemented]: "This method has not been implemented",
62
- [nestedAppAuthBridgeDisabled]: "The nested app auth bridge is disabled",
63
- [platformBrokerError]: "An error occurred in the native broker. See the platformBrokerError property for details.",
64
- };
65
- /**
66
- * String constants used by error codes and messages.
67
- * @deprecated Use ClientAuthErrorCodes instead
68
- */
69
- const ClientAuthErrorMessage = {
70
- clientInfoDecodingError: {
71
- code: clientInfoDecodingError,
72
- desc: ClientAuthErrorMessages[clientInfoDecodingError],
73
- },
74
- clientInfoEmptyError: {
75
- code: clientInfoEmptyError,
76
- desc: ClientAuthErrorMessages[clientInfoEmptyError],
77
- },
78
- tokenParsingError: {
79
- code: tokenParsingError,
80
- desc: ClientAuthErrorMessages[tokenParsingError],
81
- },
82
- nullOrEmptyToken: {
83
- code: nullOrEmptyToken,
84
- desc: ClientAuthErrorMessages[nullOrEmptyToken],
85
- },
86
- endpointResolutionError: {
87
- code: endpointResolutionError,
88
- desc: ClientAuthErrorMessages[endpointResolutionError],
89
- },
90
- networkError: {
91
- code: networkError,
92
- desc: ClientAuthErrorMessages[networkError],
93
- },
94
- unableToGetOpenidConfigError: {
95
- code: openIdConfigError,
96
- desc: ClientAuthErrorMessages[openIdConfigError],
97
- },
98
- hashNotDeserialized: {
99
- code: hashNotDeserialized,
100
- desc: ClientAuthErrorMessages[hashNotDeserialized],
101
- },
102
- invalidStateError: {
103
- code: invalidState,
104
- desc: ClientAuthErrorMessages[invalidState],
105
- },
106
- stateMismatchError: {
107
- code: stateMismatch,
108
- desc: ClientAuthErrorMessages[stateMismatch],
109
- },
110
- stateNotFoundError: {
111
- code: stateNotFound,
112
- desc: ClientAuthErrorMessages[stateNotFound],
113
- },
114
- nonceMismatchError: {
115
- code: nonceMismatch,
116
- desc: ClientAuthErrorMessages[nonceMismatch],
117
- },
118
- authTimeNotFoundError: {
119
- code: authTimeNotFound,
120
- desc: ClientAuthErrorMessages[authTimeNotFound],
121
- },
122
- maxAgeTranspired: {
123
- code: maxAgeTranspired,
124
- desc: ClientAuthErrorMessages[maxAgeTranspired],
125
- },
126
- multipleMatchingTokens: {
127
- code: multipleMatchingTokens,
128
- desc: ClientAuthErrorMessages[multipleMatchingTokens],
129
- },
130
- multipleMatchingAccounts: {
131
- code: multipleMatchingAccounts,
132
- desc: ClientAuthErrorMessages[multipleMatchingAccounts],
133
- },
134
- multipleMatchingAppMetadata: {
135
- code: multipleMatchingAppMetadata,
136
- desc: ClientAuthErrorMessages[multipleMatchingAppMetadata],
137
- },
138
- tokenRequestCannotBeMade: {
139
- code: requestCannotBeMade,
140
- desc: ClientAuthErrorMessages[requestCannotBeMade],
141
- },
142
- removeEmptyScopeError: {
143
- code: cannotRemoveEmptyScope,
144
- desc: ClientAuthErrorMessages[cannotRemoveEmptyScope],
145
- },
146
- appendScopeSetError: {
147
- code: cannotAppendScopeSet,
148
- desc: ClientAuthErrorMessages[cannotAppendScopeSet],
149
- },
150
- emptyInputScopeSetError: {
151
- code: emptyInputScopeSet,
152
- desc: ClientAuthErrorMessages[emptyInputScopeSet],
153
- },
154
- DeviceCodePollingCancelled: {
155
- code: deviceCodePollingCancelled,
156
- desc: ClientAuthErrorMessages[deviceCodePollingCancelled],
157
- },
158
- DeviceCodeExpired: {
159
- code: deviceCodeExpired,
160
- desc: ClientAuthErrorMessages[deviceCodeExpired],
161
- },
162
- DeviceCodeUnknownError: {
163
- code: deviceCodeUnknownError,
164
- desc: ClientAuthErrorMessages[deviceCodeUnknownError],
165
- },
166
- NoAccountInSilentRequest: {
167
- code: noAccountInSilentRequest,
168
- desc: ClientAuthErrorMessages[noAccountInSilentRequest],
169
- },
170
- invalidCacheRecord: {
171
- code: invalidCacheRecord,
172
- desc: ClientAuthErrorMessages[invalidCacheRecord],
173
- },
174
- invalidCacheEnvironment: {
175
- code: invalidCacheEnvironment,
176
- desc: ClientAuthErrorMessages[invalidCacheEnvironment],
177
- },
178
- noAccountFound: {
179
- code: noAccountFound,
180
- desc: ClientAuthErrorMessages[noAccountFound],
181
- },
182
- noCryptoObj: {
183
- code: noCryptoObject,
184
- desc: ClientAuthErrorMessages[noCryptoObject],
185
- },
186
- unexpectedCredentialType: {
187
- code: unexpectedCredentialType,
188
- desc: ClientAuthErrorMessages[unexpectedCredentialType],
189
- },
190
- invalidAssertion: {
191
- code: invalidAssertion,
192
- desc: ClientAuthErrorMessages[invalidAssertion],
193
- },
194
- invalidClientCredential: {
195
- code: invalidClientCredential,
196
- desc: ClientAuthErrorMessages[invalidClientCredential],
197
- },
198
- tokenRefreshRequired: {
199
- code: tokenRefreshRequired,
200
- desc: ClientAuthErrorMessages[tokenRefreshRequired],
201
- },
202
- userTimeoutReached: {
203
- code: userTimeoutReached,
204
- desc: ClientAuthErrorMessages[userTimeoutReached],
205
- },
206
- tokenClaimsRequired: {
207
- code: tokenClaimsCnfRequiredForSignedJwt,
208
- desc: ClientAuthErrorMessages[tokenClaimsCnfRequiredForSignedJwt],
209
- },
210
- noAuthorizationCodeFromServer: {
211
- code: authorizationCodeMissingFromServerResponse,
212
- desc: ClientAuthErrorMessages[authorizationCodeMissingFromServerResponse],
213
- },
214
- bindingKeyNotRemovedError: {
215
- code: bindingKeyNotRemoved,
216
- desc: ClientAuthErrorMessages[bindingKeyNotRemoved],
217
- },
218
- logoutNotSupported: {
219
- code: endSessionEndpointNotSupported,
220
- desc: ClientAuthErrorMessages[endSessionEndpointNotSupported],
221
- },
222
- keyIdMissing: {
223
- code: keyIdMissing,
224
- desc: ClientAuthErrorMessages[keyIdMissing],
225
- },
226
- noNetworkConnectivity: {
227
- code: noNetworkConnectivity,
228
- desc: ClientAuthErrorMessages[noNetworkConnectivity],
229
- },
230
- userCanceledError: {
231
- code: userCanceled,
232
- desc: ClientAuthErrorMessages[userCanceled],
233
- },
234
- missingTenantIdError: {
235
- code: missingTenantIdError,
236
- desc: ClientAuthErrorMessages[missingTenantIdError],
237
- },
238
- nestedAppAuthBridgeDisabled: {
239
- code: nestedAppAuthBridgeDisabled,
240
- desc: ClientAuthErrorMessages[nestedAppAuthBridgeDisabled],
241
- },
242
- platformBrokerError: {
243
- code: platformBrokerError,
244
- desc: ClientAuthErrorMessages[platformBrokerError],
245
- },
246
- };
247
12
  /**
248
13
  * Error thrown when there is an error in the client code running on the browser.
249
14
  */
250
15
  class ClientAuthError extends AuthError {
251
16
  constructor(errorCode, additionalMessage) {
252
- super(errorCode, additionalMessage
253
- ? `${ClientAuthErrorMessages[errorCode]}: ${additionalMessage}`
254
- : ClientAuthErrorMessages[errorCode]);
17
+ super(errorCode, additionalMessage);
255
18
  this.name = "ClientAuthError";
256
19
  Object.setPrototypeOf(this, ClientAuthError.prototype);
257
20
  }
@@ -260,5 +23,5 @@ function createClientAuthError(errorCode, additionalMessage) {
260
23
  return new ClientAuthError(errorCode, additionalMessage);
261
24
  }
262
25
 
263
- export { ClientAuthError, ClientAuthErrorMessage, ClientAuthErrorMessages, createClientAuthError };
26
+ export { ClientAuthError, createClientAuthError };
264
27
  //# sourceMappingURL=ClientAuthError.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClientAuthError.mjs","sources":["../../src/error/ClientAuthError.ts"],"sourcesContent":[null],"names":["ClientAuthErrorCodes.clientInfoDecodingError","ClientAuthErrorCodes.clientInfoEmptyError","ClientAuthErrorCodes.tokenParsingError","ClientAuthErrorCodes.nullOrEmptyToken","ClientAuthErrorCodes.endpointResolutionError","ClientAuthErrorCodes.networkError","ClientAuthErrorCodes.openIdConfigError","ClientAuthErrorCodes.hashNotDeserialized","ClientAuthErrorCodes.invalidState","ClientAuthErrorCodes.stateMismatch","ClientAuthErrorCodes.stateNotFound","ClientAuthErrorCodes.nonceMismatch","ClientAuthErrorCodes.authTimeNotFound","ClientAuthErrorCodes.maxAgeTranspired","ClientAuthErrorCodes.multipleMatchingTokens","ClientAuthErrorCodes.multipleMatchingAccounts","ClientAuthErrorCodes.multipleMatchingAppMetadata","ClientAuthErrorCodes.requestCannotBeMade","ClientAuthErrorCodes.cannotRemoveEmptyScope","ClientAuthErrorCodes.cannotAppendScopeSet","ClientAuthErrorCodes.emptyInputScopeSet","ClientAuthErrorCodes.deviceCodePollingCancelled","ClientAuthErrorCodes.deviceCodeExpired","ClientAuthErrorCodes.deviceCodeUnknownError","ClientAuthErrorCodes.noAccountInSilentRequest","ClientAuthErrorCodes.invalidCacheRecord","ClientAuthErrorCodes.invalidCacheEnvironment","ClientAuthErrorCodes.noAccountFound","ClientAuthErrorCodes.noCryptoObject","ClientAuthErrorCodes.unexpectedCredentialType","ClientAuthErrorCodes.invalidAssertion","ClientAuthErrorCodes.invalidClientCredential","ClientAuthErrorCodes.tokenRefreshRequired","ClientAuthErrorCodes.userTimeoutReached","ClientAuthErrorCodes.tokenClaimsCnfRequiredForSignedJwt","ClientAuthErrorCodes.authorizationCodeMissingFromServerResponse","ClientAuthErrorCodes.bindingKeyNotRemoved","ClientAuthErrorCodes.endSessionEndpointNotSupported","ClientAuthErrorCodes.keyIdMissing","ClientAuthErrorCodes.noNetworkConnectivity","ClientAuthErrorCodes.userCanceled","ClientAuthErrorCodes.missingTenantIdError","ClientAuthErrorCodes.methodNotImplemented","ClientAuthErrorCodes.nestedAppAuthBridgeDisabled","ClientAuthErrorCodes.platformBrokerError"],"mappings":";;;;;;;AAAA;;;AAGG;AAMH;;AAEG;AAEU,MAAA,uBAAuB,GAAG;AACnC,IAAA,CAACA,uBAA4C,GACzC,uDAAuD;AAC3D,IAAA,CAACC,oBAAyC,GAAG,2BAA2B;AACxE,IAAA,CAACC,iBAAsC,GAAG,wBAAwB;AAClE,IAAA,CAACC,gBAAqC,GAAG,4BAA4B;AACrE,IAAA,CAACC,uBAA4C,GACzC,8BAA8B;AAClC,IAAA,CAACC,YAAiC,GAAG,wBAAwB;AAC7D,IAAA,CAACC,iBAAsC,GACnC,6IAA6I;AACjJ,IAAA,CAACC,mBAAwC,GACrC,+CAA+C;AACnD,IAAA,CAACC,YAAiC,GAAG,mCAAmC;AACxE,IAAA,CAACC,aAAkC,GAAG,sBAAsB;AAC5D,IAAA,CAACC,aAA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MH;;AAEG;AAEH;;AAEG;AACG,MAAO,eAAgB,SAAQ,SAAS,CAAA;IAC1C,WAAY,CAAA,SAAiB,EAAE,iBAA0B,EAAA;AACrD,QAAA,KAAK,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;AACpC,QAAA,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;QAE9B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;KAC1D;AACJ,CAAA;AAEe,SAAA,qBAAqB,CACjC,SAAiB,EACjB,iBAA0B,EAAA;AAE1B,IAAA,OAAO,IAAI,eAAe,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;AAC7D;;;;"}
@@ -13,25 +13,18 @@ export declare const nonceMismatch = "nonce_mismatch";
13
13
  export declare const authTimeNotFound = "auth_time_not_found";
14
14
  export declare const maxAgeTranspired = "max_age_transpired";
15
15
  export declare const multipleMatchingTokens = "multiple_matching_tokens";
16
- export declare const multipleMatchingAccounts = "multiple_matching_accounts";
17
16
  export declare const multipleMatchingAppMetadata = "multiple_matching_appMetadata";
18
17
  export declare const requestCannotBeMade = "request_cannot_be_made";
19
18
  export declare const cannotRemoveEmptyScope = "cannot_remove_empty_scope";
20
19
  export declare const cannotAppendScopeSet = "cannot_append_scopeset";
21
20
  export declare const emptyInputScopeSet = "empty_input_scopeset";
22
- export declare const deviceCodePollingCancelled = "device_code_polling_cancelled";
23
- export declare const deviceCodeExpired = "device_code_expired";
24
- export declare const deviceCodeUnknownError = "device_code_unknown_error";
25
21
  export declare const noAccountInSilentRequest = "no_account_in_silent_request";
26
22
  export declare const invalidCacheRecord = "invalid_cache_record";
27
23
  export declare const invalidCacheEnvironment = "invalid_cache_environment";
28
24
  export declare const noAccountFound = "no_account_found";
29
25
  export declare const noCryptoObject = "no_crypto_object";
30
26
  export declare const unexpectedCredentialType = "unexpected_credential_type";
31
- export declare const invalidAssertion = "invalid_assertion";
32
- export declare const invalidClientCredential = "invalid_client_credential";
33
27
  export declare const tokenRefreshRequired = "token_refresh_required";
34
- export declare const userTimeoutReached = "user_timeout_reached";
35
28
  export declare const tokenClaimsCnfRequiredForSignedJwt = "token_claims_cnf_required_for_signedjwt";
36
29
  export declare const authorizationCodeMissingFromServerResponse = "authorization_code_missing_from_server_response";
37
30
  export declare const bindingKeyNotRemoved = "binding_key_not_removed";
@@ -39,7 +32,6 @@ export declare const endSessionEndpointNotSupported = "end_session_endpoint_not_
39
32
  export declare const keyIdMissing = "key_id_missing";
40
33
  export declare const noNetworkConnectivity = "no_network_connectivity";
41
34
  export declare const userCanceled = "user_canceled";
42
- export declare const missingTenantIdError = "missing_tenant_id_error";
43
35
  export declare const methodNotImplemented = "method_not_implemented";
44
36
  export declare const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
45
37
  export declare const platformBrokerError = "platform_broker_error";
@@ -1 +1 @@
1
- {"version":3,"file":"ClientAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/ClientAuthErrorCodes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AACtD,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE,eAAO,MAAM,YAAY,kBAAkB,CAAC;AAC5C,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,mBAAmB,0BAA0B,CAAC;AAC3D,eAAO,MAAM,YAAY,kBAAkB,CAAC;AAC5C,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AACtD,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM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M,kCAAkC,4CACF,CAAC;AAC9C,eAAO,MAAM,0CAA0C,oDACF,CAAC;AACtD,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,8BAA8B,uCACH,CAAC;AACzC,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAC7C,eAAO,MAAM,qBAAqB,4BAA4B,CAAC;AAC/D,eAAO,MAAM,YAAY,kBAAkB,CAAC;AAC5C,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,2BAA2B,oCAAoC,CAAC;AAC7E,eAAO,MAAM,mBAAmB,0BAA0B,CAAC"}
@@ -1,4 +1,4 @@
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.
@@ -19,25 +19,18 @@ const nonceMismatch = "nonce_mismatch";
19
19
  const authTimeNotFound = "auth_time_not_found";
20
20
  const maxAgeTranspired = "max_age_transpired";
21
21
  const multipleMatchingTokens = "multiple_matching_tokens";
22
- const multipleMatchingAccounts = "multiple_matching_accounts";
23
22
  const multipleMatchingAppMetadata = "multiple_matching_appMetadata";
24
23
  const requestCannotBeMade = "request_cannot_be_made";
25
24
  const cannotRemoveEmptyScope = "cannot_remove_empty_scope";
26
25
  const cannotAppendScopeSet = "cannot_append_scopeset";
27
26
  const emptyInputScopeSet = "empty_input_scopeset";
28
- const deviceCodePollingCancelled = "device_code_polling_cancelled";
29
- const deviceCodeExpired = "device_code_expired";
30
- const deviceCodeUnknownError = "device_code_unknown_error";
31
27
  const noAccountInSilentRequest = "no_account_in_silent_request";
32
28
  const invalidCacheRecord = "invalid_cache_record";
33
29
  const invalidCacheEnvironment = "invalid_cache_environment";
34
30
  const noAccountFound = "no_account_found";
35
31
  const noCryptoObject = "no_crypto_object";
36
32
  const unexpectedCredentialType = "unexpected_credential_type";
37
- const invalidAssertion = "invalid_assertion";
38
- const invalidClientCredential = "invalid_client_credential";
39
33
  const tokenRefreshRequired = "token_refresh_required";
40
- const userTimeoutReached = "user_timeout_reached";
41
34
  const tokenClaimsCnfRequiredForSignedJwt = "token_claims_cnf_required_for_signedjwt";
42
35
  const authorizationCodeMissingFromServerResponse = "authorization_code_missing_from_server_response";
43
36
  const bindingKeyNotRemoved = "binding_key_not_removed";
@@ -45,10 +38,9 @@ const endSessionEndpointNotSupported = "end_session_endpoint_not_supported";
45
38
  const keyIdMissing = "key_id_missing";
46
39
  const noNetworkConnectivity = "no_network_connectivity";
47
40
  const userCanceled = "user_canceled";
48
- const missingTenantIdError = "missing_tenant_id_error";
49
41
  const methodNotImplemented = "method_not_implemented";
50
42
  const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
51
43
  const platformBrokerError = "platform_broker_error";
52
44
 
53
- export { authTimeNotFound, authorizationCodeMissingFromServerResponse, bindingKeyNotRemoved, cannotAppendScopeSet, cannotRemoveEmptyScope, clientInfoDecodingError, clientInfoEmptyError, deviceCodeExpired, deviceCodePollingCancelled, deviceCodeUnknownError, emptyInputScopeSet, endSessionEndpointNotSupported, endpointResolutionError, hashNotDeserialized, invalidAssertion, invalidCacheEnvironment, invalidCacheRecord, invalidClientCredential, invalidState, keyIdMissing, maxAgeTranspired, methodNotImplemented, missingTenantIdError, multipleMatchingAccounts, multipleMatchingAppMetadata, multipleMatchingTokens, nestedAppAuthBridgeDisabled, networkError, noAccountFound, noAccountInSilentRequest, noCryptoObject, noNetworkConnectivity, nonceMismatch, nullOrEmptyToken, openIdConfigError, platformBrokerError, requestCannotBeMade, stateMismatch, stateNotFound, tokenClaimsCnfRequiredForSignedJwt, tokenParsingError, tokenRefreshRequired, unexpectedCredentialType, userCanceled, userTimeoutReached };
45
+ export { authTimeNotFound, authorizationCodeMissingFromServerResponse, bindingKeyNotRemoved, cannotAppendScopeSet, cannotRemoveEmptyScope, clientInfoDecodingError, clientInfoEmptyError, emptyInputScopeSet, endSessionEndpointNotSupported, endpointResolutionError, hashNotDeserialized, invalidCacheEnvironment, invalidCacheRecord, invalidState, keyIdMissing, maxAgeTranspired, methodNotImplemented, multipleMatchingAppMetadata, multipleMatchingTokens, nestedAppAuthBridgeDisabled, networkError, noAccountFound, noAccountInSilentRequest, noCryptoObject, noNetworkConnectivity, nonceMismatch, nullOrEmptyToken, openIdConfigError, platformBrokerError, requestCannotBeMade, stateMismatch, stateNotFound, tokenClaimsCnfRequiredForSignedJwt, tokenParsingError, tokenRefreshRequired, unexpectedCredentialType, userCanceled };
54
46
  //# sourceMappingURL=ClientAuthErrorCodes.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClientAuthErrorCodes.mjs","sources":["../../src/error/ClientAuthErrorCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEI,MAAM,uBAAuB,GAAG,6BAA6B;AAC7D,MAAM,oBAAoB,GAAG,0BAA0B;AACvD,MAAM,iBAAiB,GAAG,sBAAsB;AAChD,MAAM,gBAAgB,GAAG,sBAAsB;AAC/C,MAAM,uBAAuB,GAAG,6BAA6B;AAC7D,MAAM,YAAY,GAAG,gBAAgB;AACrC,MAAM,iBAAiB,GAAG,sBAAsB;AAChD,MAAM,mBAAmB,GAAG,wBAAwB;AACpD,MAAM,YAAY,GAAG,gBAAgB;AACrC,MAAM,aAAa,GAAG,iBAAiB;AACvC,MAAM,aAAa,GAAG,kBAAkB;AACxC,MAAM,aAAa,GAAG,iBAAiB;AACvC,MAAM,gBAAgB,GAAG,sBAAsB;AAC/C,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,sBAAsB,GAAG,2BAA2B;AAC1D,MAAM,wBAAwB,GAAG,6BAA6B;AAC9D,MAAM,2BAA2B,GAAG,gCAAgC;AACpE,MAAM,mBAAmB,GAAG,yBAAyB;AACrD,MAAM,sBAAsB,GAAG,4BAA4B;AAC3D,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,kBAAkB,GAAG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BAAwB;AACpD,MAAM,YAAY,GAAG,gBAAgB;AACrC,MAAM,aAAa,GAAG,iBAAiB;AACvC,MAAM,aAAa,GAAG,kBAAkB;AACxC,MAAM,aAAa,GAAG,iBAAiB;AACvC,MAAM,gBAAgB,GAAG,sBAAsB;AAC/C,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,sBAAsB,GAAG,2BAA2B;AAC1D,MAAM,2BAA2B,GAAG,gCAAgC;AACpE,MAAM,mBAAmB,GAAG,yBAAyB;AACrD,MAAM,sBAAsB,GAAG,4BAA4B;AAC3D,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,kBAAkB,GAAG,uBAAuB;AAClD,MAAM,wBAAwB,GAAG,+BAA+B;AAChE,MAAM,kBAAkB,GAAG,uBAAuB;AAClD,MAAM,uBAAuB,GAAG,4BAA4B;AAC5D,MAAM,cAAc,GAAG,mBAAmB;AAC1C,MAAM,cAAc,GAAG,mBAAmB;AAC1C,MAAM,wBAAwB,GAAG,6BAA6B;AAC9D,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,kCAAkC,GAC3C,0CAA0C;AACvC,MAAM,0CAA0C,GACnD,kDAAkD;AAC/C,MAAM,oBAAoB,GAAG,0BAA0B;AACvD,MAAM,8BAA8B,GACvC,qCAAqC;AAClC,MAAM,YAAY,GAAG,iBAAiB;AACtC,MAAM,qBAAqB,GAAG,0BAA0B;AACxD,MAAM,YAAY,GAAG,gBAAgB;AACrC,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,2BAA2B,GAAG,kCAAkC;AACtE,MAAM,mBAAmB,GAAG;;;;"}
@@ -1,134 +1,6 @@
1
1
  import { AuthError } from "./AuthError.js";
2
2
  import * as ClientConfigurationErrorCodes from "./ClientConfigurationErrorCodes.js";
3
3
  export { ClientConfigurationErrorCodes };
4
- export declare const ClientConfigurationErrorMessages: {
5
- redirect_uri_empty: string;
6
- claims_request_parsing_error: string;
7
- authority_uri_insecure: string;
8
- url_parse_error: string;
9
- empty_url_error: string;
10
- empty_input_scopes_error: string;
11
- invalid_claims: string;
12
- token_request_empty: string;
13
- logout_request_empty: string;
14
- invalid_code_challenge_method: string;
15
- pkce_params_missing: string;
16
- invalid_cloud_discovery_metadata: string;
17
- invalid_authority_metadata: string;
18
- untrusted_authority: string;
19
- missing_ssh_jwk: string;
20
- missing_ssh_kid: string;
21
- missing_nonce_authentication_header: string;
22
- invalid_authentication_header: string;
23
- cannot_set_OIDCOptions: string;
24
- cannot_allow_platform_broker: string;
25
- authority_mismatch: string;
26
- invalid_authorize_post_body_parameters: string;
27
- invalid_request_method_for_EAR: string;
28
- invalid_platform_broker_configuration: string;
29
- };
30
- /**
31
- * ClientConfigurationErrorMessage class containing string constants used by error codes and messages.
32
- * @deprecated Use ClientConfigurationErrorCodes instead
33
- */
34
- export declare const ClientConfigurationErrorMessage: {
35
- redirectUriNotSet: {
36
- code: string;
37
- desc: string;
38
- };
39
- claimsRequestParsingError: {
40
- code: string;
41
- desc: string;
42
- };
43
- authorityUriInsecure: {
44
- code: string;
45
- desc: string;
46
- };
47
- urlParseError: {
48
- code: string;
49
- desc: string;
50
- };
51
- urlEmptyError: {
52
- code: string;
53
- desc: string;
54
- };
55
- emptyScopesError: {
56
- code: string;
57
- desc: string;
58
- };
59
- invalidClaimsRequest: {
60
- code: string;
61
- desc: string;
62
- };
63
- tokenRequestEmptyError: {
64
- code: string;
65
- desc: string;
66
- };
67
- logoutRequestEmptyError: {
68
- code: string;
69
- desc: string;
70
- };
71
- invalidCodeChallengeMethod: {
72
- code: string;
73
- desc: string;
74
- };
75
- invalidCodeChallengeParams: {
76
- code: string;
77
- desc: string;
78
- };
79
- invalidCloudDiscoveryMetadata: {
80
- code: string;
81
- desc: string;
82
- };
83
- invalidAuthorityMetadata: {
84
- code: string;
85
- desc: string;
86
- };
87
- untrustedAuthority: {
88
- code: string;
89
- desc: string;
90
- };
91
- missingSshJwk: {
92
- code: string;
93
- desc: string;
94
- };
95
- missingSshKid: {
96
- code: string;
97
- desc: string;
98
- };
99
- missingNonceAuthenticationHeader: {
100
- code: string;
101
- desc: string;
102
- };
103
- invalidAuthenticationHeader: {
104
- code: string;
105
- desc: string;
106
- };
107
- cannotSetOIDCOptions: {
108
- code: string;
109
- desc: string;
110
- };
111
- cannotAllowPlatformBroker: {
112
- code: string;
113
- desc: string;
114
- };
115
- authorityMismatch: {
116
- code: string;
117
- desc: string;
118
- };
119
- invalidAuthorizePostBodyParameters: {
120
- code: string;
121
- desc: string;
122
- };
123
- invalidRequestMethodForEAR: {
124
- code: string;
125
- desc: string;
126
- };
127
- invalidPlatformBrokerConfiguration: {
128
- code: string;
129
- desc: string;
130
- };
131
- };
132
4
  /**
133
5
  * Error thrown when there is an error in configuration of the MSAL.js library.
134
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ClientConfigurationError.d.ts","sourceRoot":"","sources":["../../src/error/ClientConfigurationError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,6BAA6B,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAE,6BAA6B,EAAE,CAAC;AAEzC,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;CAgD5C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiJ3C,CAAC;AAEF;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,SAAS;gBACvC,SAAS,EAAE,MAAM;CAKhC;AAED,wBAAgB,8BAA8B,CAC1C,SAAS,EAAE,MAAM,GAClB,wBAAwB,CAE1B"}
1
+ {"version":3,"file":"ClientConfigurationError.d.ts","sourceRoot":"","sources":["../../src/error/ClientConfigurationError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,6BAA6B,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAE,6BAA6B,EAAE,CAAC;AAEzC;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,SAAS;gBACvC,SAAS,EAAE,MAAM;CAKhC;AAED,wBAAgB,8BAA8B,CAC1C,SAAS,EAAE,MAAM,GAClB,wBAAwB,CAE1B"}