@azure/msal-common 14.14.2 → 14.16.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 (586) hide show
  1. package/browser/README.md +1 -0
  2. package/browser/package.json +5 -0
  3. package/dist/account/AccountInfo.d.ts +1 -1
  4. package/dist/account/AccountInfo.d.ts.map +1 -1
  5. package/dist/account/AccountInfo.mjs +1 -1
  6. package/dist/account/AuthToken.d.ts +1 -1
  7. package/dist/account/AuthToken.d.ts.map +1 -1
  8. package/dist/account/AuthToken.mjs +1 -1
  9. package/dist/account/CcsCredential.mjs +1 -1
  10. package/dist/account/ClientInfo.mjs +1 -1
  11. package/dist/account/TokenClaims.mjs +1 -1
  12. package/dist/authority/Authority.d.ts +12 -12
  13. package/dist/authority/Authority.d.ts.map +1 -1
  14. package/dist/authority/Authority.mjs +1 -1
  15. package/dist/authority/AuthorityFactory.d.ts +6 -6
  16. package/dist/authority/AuthorityFactory.d.ts.map +1 -1
  17. package/dist/authority/AuthorityFactory.mjs +1 -1
  18. package/dist/authority/AuthorityMetadata.d.ts +6 -6
  19. package/dist/authority/AuthorityMetadata.d.ts.map +1 -1
  20. package/dist/authority/AuthorityMetadata.mjs +1 -1
  21. package/dist/authority/AuthorityOptions.d.ts +4 -4
  22. package/dist/authority/AuthorityOptions.d.ts.map +1 -1
  23. package/dist/authority/AuthorityOptions.mjs +1 -1
  24. package/dist/authority/AuthorityType.mjs +1 -1
  25. package/dist/authority/AzureRegionConfiguration.d.ts +1 -1
  26. package/dist/authority/AzureRegionConfiguration.d.ts.map +1 -1
  27. package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
  28. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +1 -1
  29. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -1
  30. package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
  31. package/dist/authority/OIDCOptions.d.ts +1 -1
  32. package/dist/authority/OIDCOptions.d.ts.map +1 -1
  33. package/dist/authority/OpenIdConfigResponse.mjs +1 -1
  34. package/dist/authority/ProtocolMode.mjs +1 -1
  35. package/dist/authority/RegionDiscovery.d.ts +5 -5
  36. package/dist/authority/RegionDiscovery.d.ts.map +1 -1
  37. package/dist/authority/RegionDiscovery.mjs +1 -1
  38. package/dist/authority/RegionDiscoveryMetadata.d.ts +1 -1
  39. package/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -1
  40. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +6 -6
  41. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -1
  42. package/dist/cache/CacheManager.d.ts +18 -23
  43. package/dist/cache/CacheManager.d.ts.map +1 -1
  44. package/dist/cache/CacheManager.mjs +1 -4
  45. package/dist/cache/CacheManager.mjs.map +1 -1
  46. package/dist/cache/entities/AccessTokenEntity.d.ts +2 -2
  47. package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
  48. package/dist/cache/entities/AccountEntity.d.ts +6 -6
  49. package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
  50. package/dist/cache/entities/AccountEntity.mjs +1 -1
  51. package/dist/cache/entities/CacheRecord.d.ts +5 -5
  52. package/dist/cache/entities/CacheRecord.d.ts.map +1 -1
  53. package/dist/cache/entities/CredentialEntity.d.ts +1 -1
  54. package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
  55. package/dist/cache/entities/IdTokenEntity.d.ts +1 -1
  56. package/dist/cache/entities/IdTokenEntity.d.ts.map +1 -1
  57. package/dist/cache/entities/RefreshTokenEntity.d.ts +1 -1
  58. package/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -1
  59. package/dist/cache/interface/ICacheManager.d.ts +12 -12
  60. package/dist/cache/interface/ICacheManager.d.ts.map +1 -1
  61. package/dist/cache/interface/ICachePlugin.d.ts +1 -1
  62. package/dist/cache/interface/ICachePlugin.d.ts.map +1 -1
  63. package/dist/cache/persistence/TokenCacheContext.d.ts +1 -1
  64. package/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -1
  65. package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
  66. package/dist/cache/utils/CacheHelpers.d.ts +9 -9
  67. package/dist/cache/utils/CacheHelpers.d.ts.map +1 -1
  68. package/dist/cache/utils/CacheHelpers.mjs +1 -1
  69. package/dist/cache/utils/CacheTypes.d.ts +11 -11
  70. package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
  71. package/dist/client/AuthorizationCodeClient.d.ts +10 -9
  72. package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
  73. package/dist/client/AuthorizationCodeClient.mjs +35 -16
  74. package/dist/client/AuthorizationCodeClient.mjs.map +1 -1
  75. package/dist/client/BaseClient.d.ts +21 -14
  76. package/dist/client/BaseClient.d.ts.map +1 -1
  77. package/dist/client/BaseClient.mjs +62 -10
  78. package/dist/client/BaseClient.mjs.map +1 -1
  79. package/dist/client/RefreshTokenClient.d.ts +6 -6
  80. package/dist/client/RefreshTokenClient.d.ts.map +1 -1
  81. package/dist/client/RefreshTokenClient.mjs +10 -4
  82. package/dist/client/RefreshTokenClient.mjs.map +1 -1
  83. package/dist/client/SilentFlowClient.d.ts +6 -6
  84. package/dist/client/SilentFlowClient.d.ts.map +1 -1
  85. package/dist/client/SilentFlowClient.mjs +1 -1
  86. package/dist/config/ClientConfiguration.d.ts +15 -11
  87. package/dist/config/ClientConfiguration.d.ts.map +1 -1
  88. package/dist/config/ClientConfiguration.mjs +2 -1
  89. package/dist/config/ClientConfiguration.mjs.map +1 -1
  90. package/dist/constants/AADServerParamKeys.d.ts +2 -0
  91. package/dist/constants/AADServerParamKeys.d.ts.map +1 -1
  92. package/dist/constants/AADServerParamKeys.mjs +5 -3
  93. package/dist/constants/AADServerParamKeys.mjs.map +1 -1
  94. package/dist/crypto/ICrypto.d.ts +2 -2
  95. package/dist/crypto/ICrypto.d.ts.map +1 -1
  96. package/dist/crypto/ICrypto.mjs +1 -1
  97. package/dist/crypto/JoseHeader.d.ts +1 -1
  98. package/dist/crypto/JoseHeader.d.ts.map +1 -1
  99. package/dist/crypto/JoseHeader.mjs +1 -1
  100. package/dist/crypto/PopTokenGenerator.d.ts +3 -3
  101. package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
  102. package/dist/crypto/PopTokenGenerator.mjs +1 -1
  103. package/dist/crypto/SignedHttpRequest.d.ts +1 -1
  104. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  105. package/dist/error/AuthError.d.ts +1 -1
  106. package/dist/error/AuthError.d.ts.map +1 -1
  107. package/dist/error/AuthError.mjs +1 -1
  108. package/dist/error/AuthErrorCodes.mjs +1 -1
  109. package/dist/error/CacheError.d.ts +1 -1
  110. package/dist/error/CacheError.d.ts.map +1 -1
  111. package/dist/error/CacheError.mjs +1 -1
  112. package/dist/error/CacheErrorCodes.mjs +1 -1
  113. package/dist/error/ClientAuthError.d.ts +2 -2
  114. package/dist/error/ClientAuthError.d.ts.map +1 -1
  115. package/dist/error/ClientAuthError.mjs +1 -1
  116. package/dist/error/ClientAuthErrorCodes.mjs +1 -1
  117. package/dist/error/ClientConfigurationError.d.ts +2 -2
  118. package/dist/error/ClientConfigurationError.d.ts.map +1 -1
  119. package/dist/error/ClientConfigurationError.mjs +1 -1
  120. package/dist/error/ClientConfigurationErrorCodes.mjs +1 -1
  121. package/dist/error/InteractionRequiredAuthError.d.ts +2 -2
  122. package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
  123. package/dist/error/InteractionRequiredAuthError.mjs +1 -1
  124. package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
  125. package/dist/error/JoseHeaderError.d.ts +2 -2
  126. package/dist/error/JoseHeaderError.d.ts.map +1 -1
  127. package/dist/error/JoseHeaderError.mjs +1 -1
  128. package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
  129. package/dist/error/NetworkError.d.ts +19 -0
  130. package/dist/error/NetworkError.d.ts.map +1 -0
  131. package/dist/error/NetworkError.mjs +34 -0
  132. package/dist/error/NetworkError.mjs.map +1 -0
  133. package/dist/error/ServerError.d.ts +1 -1
  134. package/dist/error/ServerError.d.ts.map +1 -1
  135. package/dist/error/ServerError.mjs +1 -1
  136. package/dist/exports-browser-only.d.ts +10 -0
  137. package/dist/exports-browser-only.d.ts.map +1 -0
  138. package/dist/exports-common.d.ts +81 -0
  139. package/dist/exports-common.d.ts.map +1 -0
  140. package/dist/exports-node-only.d.ts +18 -0
  141. package/dist/exports-node-only.d.ts.map +1 -0
  142. package/dist/index-browser.d.ts +7 -0
  143. package/dist/index-browser.d.ts.map +1 -0
  144. package/dist/index-browser.mjs +67 -0
  145. package/dist/index-browser.mjs.map +1 -0
  146. package/dist/index-node.d.ts +7 -0
  147. package/dist/index-node.d.ts.map +1 -0
  148. package/dist/index-node.mjs +66 -0
  149. package/dist/index-node.mjs.map +1 -0
  150. package/dist/index.d.ts +7 -103
  151. package/dist/index.d.ts.map +1 -1
  152. package/dist/index.mjs +31 -31
  153. package/dist/logger/Logger.d.ts +1 -1
  154. package/dist/logger/Logger.d.ts.map +1 -1
  155. package/dist/logger/Logger.mjs +1 -1
  156. package/dist/network/INetworkModule.d.ts +1 -1
  157. package/dist/network/INetworkModule.d.ts.map +1 -1
  158. package/dist/network/INetworkModule.mjs +1 -1
  159. package/dist/network/NetworkResponse.d.ts +6 -0
  160. package/dist/network/NetworkResponse.d.ts.map +1 -0
  161. package/dist/network/RequestThumbprint.d.ts +2 -2
  162. package/dist/network/RequestThumbprint.d.ts.map +1 -1
  163. package/dist/network/ThrottlingUtils.d.ts +5 -5
  164. package/dist/network/ThrottlingUtils.d.ts.map +1 -1
  165. package/dist/network/ThrottlingUtils.mjs +1 -1
  166. package/dist/packageMetadata.d.ts +1 -1
  167. package/dist/packageMetadata.mjs +2 -2
  168. package/dist/request/AuthenticationHeaderParser.mjs +1 -1
  169. package/dist/request/BaseAuthRequest.d.ts +7 -5
  170. package/dist/request/BaseAuthRequest.d.ts.map +1 -1
  171. package/dist/request/CommonAuthorizationCodeRequest.d.ts +3 -3
  172. package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -1
  173. package/dist/request/CommonAuthorizationUrlRequest.d.ts +4 -4
  174. package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -1
  175. package/dist/request/CommonClientCredentialRequest.d.ts +3 -3
  176. package/dist/request/CommonClientCredentialRequest.d.ts.map +1 -1
  177. package/dist/request/CommonDeviceCodeRequest.d.ts +3 -3
  178. package/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -1
  179. package/dist/request/CommonEndSessionRequest.d.ts +2 -2
  180. package/dist/request/CommonEndSessionRequest.d.ts.map +1 -1
  181. package/dist/request/CommonOnBehalfOfRequest.d.ts +1 -1
  182. package/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -1
  183. package/dist/request/CommonRefreshTokenRequest.d.ts +3 -3
  184. package/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -1
  185. package/dist/request/CommonSilentFlowRequest.d.ts +3 -3
  186. package/dist/request/CommonSilentFlowRequest.d.ts.map +1 -1
  187. package/dist/request/CommonUsernamePasswordRequest.d.ts +1 -1
  188. package/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -1
  189. package/dist/request/NativeRequest.d.ts +1 -1
  190. package/dist/request/NativeRequest.d.ts.map +1 -1
  191. package/dist/request/RequestParameterBuilder.d.ts +13 -6
  192. package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
  193. package/dist/request/RequestParameterBuilder.mjs +26 -3
  194. package/dist/request/RequestParameterBuilder.mjs.map +1 -1
  195. package/dist/request/RequestValidator.mjs +1 -1
  196. package/dist/request/ScopeSet.mjs +1 -1
  197. package/dist/response/AuthenticationResult.d.ts +1 -1
  198. package/dist/response/AuthenticationResult.d.ts.map +1 -1
  199. package/dist/response/ExternalTokenResponse.d.ts +1 -1
  200. package/dist/response/ExternalTokenResponse.d.ts.map +1 -1
  201. package/dist/response/ResponseHandler.d.ts +16 -16
  202. package/dist/response/ResponseHandler.d.ts.map +1 -1
  203. package/dist/response/ResponseHandler.mjs +1 -1
  204. package/dist/response/ServerAuthorizationTokenResponse.d.ts +1 -1
  205. package/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -1
  206. package/dist/telemetry/performance/IPerformanceClient.d.ts +2 -2
  207. package/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
  208. package/dist/telemetry/performance/PerformanceClient.d.ts +5 -5
  209. package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
  210. package/dist/telemetry/performance/PerformanceClient.mjs +29 -10
  211. package/dist/telemetry/performance/PerformanceClient.mjs.map +1 -1
  212. package/dist/telemetry/performance/PerformanceEvent.d.ts +9 -0
  213. package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
  214. package/dist/telemetry/performance/PerformanceEvent.mjs +6 -1
  215. package/dist/telemetry/performance/PerformanceEvent.mjs.map +1 -1
  216. package/dist/telemetry/performance/StubPerformanceClient.d.ts +3 -3
  217. package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
  218. package/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
  219. package/dist/telemetry/performance/StubPerformanceClient.mjs.map +1 -1
  220. package/dist/telemetry/server/ServerTelemetryManager.d.ts +5 -5
  221. package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
  222. package/dist/telemetry/server/ServerTelemetryManager.mjs +1 -1
  223. package/dist/url/UrlString.d.ts +1 -1
  224. package/dist/url/UrlString.d.ts.map +1 -1
  225. package/dist/url/UrlString.mjs +1 -1
  226. package/dist/utils/ClientAssertionUtils.d.ts +1 -1
  227. package/dist/utils/ClientAssertionUtils.d.ts.map +1 -1
  228. package/dist/utils/ClientAssertionUtils.mjs +1 -1
  229. package/dist/utils/Constants.d.ts +1 -0
  230. package/dist/utils/Constants.d.ts.map +1 -1
  231. package/dist/utils/Constants.mjs +2 -1
  232. package/dist/utils/Constants.mjs.map +1 -1
  233. package/dist/utils/FunctionWrappers.d.ts +2 -2
  234. package/dist/utils/FunctionWrappers.d.ts.map +1 -1
  235. package/dist/utils/FunctionWrappers.mjs +1 -1
  236. package/dist/utils/ProtocolUtils.d.ts +1 -1
  237. package/dist/utils/ProtocolUtils.d.ts.map +1 -1
  238. package/dist/utils/ProtocolUtils.mjs +1 -1
  239. package/dist/utils/StringUtils.mjs +1 -1
  240. package/dist/utils/TimeUtils.mjs +1 -1
  241. package/dist/utils/UrlUtils.d.ts +1 -1
  242. package/dist/utils/UrlUtils.d.ts.map +1 -1
  243. package/dist/utils/UrlUtils.mjs +1 -1
  244. package/lib/index-browser.cjs +858 -0
  245. package/lib/index-browser.cjs.map +1 -0
  246. package/{dist/index.cjs → lib/index-node-C9XsExml.js} +352 -990
  247. package/lib/index-node-C9XsExml.js.map +1 -0
  248. package/lib/index-node.cjs +104 -0
  249. package/lib/index-node.cjs.map +1 -0
  250. package/lib/index.cjs +112 -0
  251. package/lib/index.cjs.map +1 -0
  252. package/lib/package.json +1 -0
  253. package/lib/types/account/AccountInfo.d.ts +67 -0
  254. package/lib/types/account/AccountInfo.d.ts.map +1 -0
  255. package/lib/types/account/AuthToken.d.ts +18 -0
  256. package/lib/types/account/AuthToken.d.ts.map +1 -0
  257. package/lib/types/account/CcsCredential.d.ts +10 -0
  258. package/lib/types/account/CcsCredential.d.ts.map +1 -0
  259. package/lib/types/account/ClientCredentials.d.ts +20 -0
  260. package/lib/types/account/ClientCredentials.d.ts.map +1 -0
  261. package/lib/types/account/ClientInfo.d.ts +19 -0
  262. package/lib/types/account/ClientInfo.d.ts.map +1 -0
  263. package/lib/types/account/TokenClaims.d.ts +84 -0
  264. package/lib/types/account/TokenClaims.d.ts.map +1 -0
  265. package/lib/types/authority/Authority.d.ts +255 -0
  266. package/lib/types/authority/Authority.d.ts.map +1 -0
  267. package/lib/types/authority/AuthorityFactory.d.ts +19 -0
  268. package/lib/types/authority/AuthorityFactory.d.ts.map +1 -0
  269. package/lib/types/authority/AuthorityMetadata.d.ts +44 -0
  270. package/lib/types/authority/AuthorityMetadata.d.ts.map +1 -0
  271. package/lib/types/authority/AuthorityOptions.d.ts +28 -0
  272. package/lib/types/authority/AuthorityOptions.d.ts.map +1 -0
  273. package/lib/types/authority/AuthorityType.d.ts +11 -0
  274. package/lib/types/authority/AuthorityType.d.ts.map +1 -0
  275. package/lib/types/authority/AzureRegion.d.ts +2 -0
  276. package/lib/types/authority/AzureRegion.d.ts.map +1 -0
  277. package/lib/types/authority/AzureRegionConfiguration.d.ts +6 -0
  278. package/lib/types/authority/AzureRegionConfiguration.d.ts.map +1 -0
  279. package/lib/types/authority/CloudDiscoveryMetadata.d.ts +6 -0
  280. package/lib/types/authority/CloudDiscoveryMetadata.d.ts.map +1 -0
  281. package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts +14 -0
  282. package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +1 -0
  283. package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts +10 -0
  284. package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -0
  285. package/lib/types/authority/ImdsOptions.d.ts +6 -0
  286. package/lib/types/authority/ImdsOptions.d.ts.map +1 -0
  287. package/lib/types/authority/OIDCOptions.d.ts +9 -0
  288. package/lib/types/authority/OIDCOptions.d.ts.map +1 -0
  289. package/lib/types/authority/OpenIdConfigResponse.d.ts +12 -0
  290. package/lib/types/authority/OpenIdConfigResponse.d.ts.map +1 -0
  291. package/lib/types/authority/ProtocolMode.d.ts +9 -0
  292. package/lib/types/authority/ProtocolMode.d.ts.map +1 -0
  293. package/lib/types/authority/RegionDiscovery.d.ts +33 -0
  294. package/lib/types/authority/RegionDiscovery.d.ts.map +1 -0
  295. package/lib/types/authority/RegionDiscoveryMetadata.d.ts +7 -0
  296. package/lib/types/authority/RegionDiscoveryMetadata.d.ts.map +1 -0
  297. package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts +16 -0
  298. package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -0
  299. package/lib/types/cache/CacheManager.d.ts +493 -0
  300. package/lib/types/cache/CacheManager.d.ts.map +1 -0
  301. package/lib/types/cache/entities/AccessTokenEntity.d.ts +26 -0
  302. package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +1 -0
  303. package/lib/types/cache/entities/AccountEntity.d.ts +107 -0
  304. package/lib/types/cache/entities/AccountEntity.d.ts.map +1 -0
  305. package/lib/types/cache/entities/AppMetadataEntity.d.ts +12 -0
  306. package/lib/types/cache/entities/AppMetadataEntity.d.ts.map +1 -0
  307. package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts +16 -0
  308. package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -0
  309. package/lib/types/cache/entities/CacheRecord.d.ts +14 -0
  310. package/lib/types/cache/entities/CacheRecord.d.ts.map +1 -0
  311. package/lib/types/cache/entities/CredentialEntity.d.ts +31 -0
  312. package/lib/types/cache/entities/CredentialEntity.d.ts.map +1 -0
  313. package/lib/types/cache/entities/IdTokenEntity.d.ts +9 -0
  314. package/lib/types/cache/entities/IdTokenEntity.d.ts.map +1 -0
  315. package/lib/types/cache/entities/RefreshTokenEntity.d.ts +8 -0
  316. package/lib/types/cache/entities/RefreshTokenEntity.d.ts.map +1 -0
  317. package/lib/types/cache/entities/ServerTelemetryEntity.d.ts +7 -0
  318. package/lib/types/cache/entities/ServerTelemetryEntity.d.ts.map +1 -0
  319. package/lib/types/cache/entities/ThrottlingEntity.d.ts +8 -0
  320. package/lib/types/cache/entities/ThrottlingEntity.d.ts.map +1 -0
  321. package/lib/types/cache/interface/ICacheManager.d.ts +167 -0
  322. package/lib/types/cache/interface/ICacheManager.d.ts.map +1 -0
  323. package/lib/types/cache/interface/ICachePlugin.d.ts +6 -0
  324. package/lib/types/cache/interface/ICachePlugin.d.ts.map +1 -0
  325. package/lib/types/cache/interface/ISerializableTokenCache.d.ts +5 -0
  326. package/lib/types/cache/interface/ISerializableTokenCache.d.ts.map +1 -0
  327. package/lib/types/cache/persistence/TokenCacheContext.d.ts +24 -0
  328. package/lib/types/cache/persistence/TokenCacheContext.d.ts.map +1 -0
  329. package/lib/types/cache/utils/CacheHelpers.d.ts +95 -0
  330. package/lib/types/cache/utils/CacheHelpers.d.ts.map +1 -0
  331. package/lib/types/cache/utils/CacheTypes.d.ts +70 -0
  332. package/lib/types/cache/utils/CacheTypes.d.ts.map +1 -0
  333. package/lib/types/client/AuthorizationCodeClient.d.ts +76 -0
  334. package/lib/types/client/AuthorizationCodeClient.d.ts.map +1 -0
  335. package/lib/types/client/BaseClient.d.ts +59 -0
  336. package/lib/types/client/BaseClient.d.ts.map +1 -0
  337. package/lib/types/client/RefreshTokenClient.d.ts +36 -0
  338. package/lib/types/client/RefreshTokenClient.d.ts.map +1 -0
  339. package/lib/types/client/SilentFlowClient.d.ts +28 -0
  340. package/lib/types/client/SilentFlowClient.d.ts.map +1 -0
  341. package/lib/types/config/AppTokenProvider.d.ts +39 -0
  342. package/lib/types/config/AppTokenProvider.d.ts.map +1 -0
  343. package/lib/types/config/ClientConfiguration.d.ts +155 -0
  344. package/lib/types/config/ClientConfiguration.d.ts.map +1 -0
  345. package/lib/types/constants/AADServerParamKeys.d.ts +56 -0
  346. package/lib/types/constants/AADServerParamKeys.d.ts.map +1 -0
  347. package/lib/types/crypto/ICrypto.d.ts +69 -0
  348. package/lib/types/crypto/ICrypto.d.ts.map +1 -0
  349. package/lib/types/crypto/IGuidGenerator.d.ts +5 -0
  350. package/lib/types/crypto/IGuidGenerator.d.ts.map +1 -0
  351. package/lib/types/crypto/JoseHeader.d.ts +23 -0
  352. package/lib/types/crypto/JoseHeader.d.ts.map +1 -0
  353. package/lib/types/crypto/PopTokenGenerator.d.ts +60 -0
  354. package/lib/types/crypto/PopTokenGenerator.d.ts.map +1 -0
  355. package/lib/types/crypto/SignedHttpRequest.d.ts +16 -0
  356. package/lib/types/crypto/SignedHttpRequest.d.ts.map +1 -0
  357. package/lib/types/error/AuthError.d.ts +45 -0
  358. package/lib/types/error/AuthError.d.ts.map +1 -0
  359. package/lib/types/error/AuthErrorCodes.d.ts +6 -0
  360. package/lib/types/error/AuthErrorCodes.d.ts.map +1 -0
  361. package/lib/types/error/CacheError.d.ts +21 -0
  362. package/lib/types/error/CacheError.d.ts.map +1 -0
  363. package/lib/types/error/CacheErrorCodes.d.ts +3 -0
  364. package/lib/types/error/CacheErrorCodes.d.ts.map +1 -0
  365. package/lib/types/error/ClientAuthError.d.ts +238 -0
  366. package/lib/types/error/ClientAuthError.d.ts.map +1 -0
  367. package/lib/types/error/ClientAuthErrorCodes.d.ts +45 -0
  368. package/lib/types/error/ClientAuthErrorCodes.d.ts.map +1 -0
  369. package/lib/types/error/ClientConfigurationError.d.ts +129 -0
  370. package/lib/types/error/ClientConfigurationError.d.ts.map +1 -0
  371. package/lib/types/error/ClientConfigurationErrorCodes.d.ts +23 -0
  372. package/lib/types/error/ClientConfigurationErrorCodes.d.ts.map +1 -0
  373. package/lib/types/error/InteractionRequiredAuthError.d.ts +66 -0
  374. package/lib/types/error/InteractionRequiredAuthError.d.ts.map +1 -0
  375. package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts +8 -0
  376. package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts.map +1 -0
  377. package/lib/types/error/JoseHeaderError.d.ts +16 -0
  378. package/lib/types/error/JoseHeaderError.d.ts.map +1 -0
  379. package/lib/types/error/JoseHeaderErrorCodes.d.ts +3 -0
  380. package/lib/types/error/JoseHeaderErrorCodes.d.ts.map +1 -0
  381. package/lib/types/error/NetworkError.d.ts +19 -0
  382. package/lib/types/error/NetworkError.d.ts.map +1 -0
  383. package/lib/types/error/ServerError.d.ts +16 -0
  384. package/lib/types/error/ServerError.d.ts.map +1 -0
  385. package/lib/types/exports-browser-only.d.ts +10 -0
  386. package/lib/types/exports-browser-only.d.ts.map +1 -0
  387. package/lib/types/exports-common.d.ts +81 -0
  388. package/lib/types/exports-common.d.ts.map +1 -0
  389. package/lib/types/exports-node-only.d.ts +18 -0
  390. package/lib/types/exports-node-only.d.ts.map +1 -0
  391. package/lib/types/index-browser.d.ts +7 -0
  392. package/lib/types/index-browser.d.ts.map +1 -0
  393. package/lib/types/index-node.d.ts +7 -0
  394. package/lib/types/index-node.d.ts.map +1 -0
  395. package/lib/types/index.d.ts +12 -0
  396. package/lib/types/index.d.ts.map +1 -0
  397. package/lib/types/logger/Logger.d.ts +96 -0
  398. package/lib/types/logger/Logger.d.ts.map +1 -0
  399. package/lib/types/network/INetworkModule.d.ts +30 -0
  400. package/lib/types/network/INetworkModule.d.ts.map +1 -0
  401. package/lib/types/network/NetworkResponse.d.ts +6 -0
  402. package/lib/types/network/NetworkResponse.d.ts.map +1 -0
  403. package/lib/types/network/RequestThumbprint.d.ts +19 -0
  404. package/lib/types/network/RequestThumbprint.d.ts.map +1 -0
  405. package/lib/types/network/ThrottlingUtils.d.ts +43 -0
  406. package/lib/types/network/ThrottlingUtils.d.ts.map +1 -0
  407. package/lib/types/packageMetadata.d.ts +3 -0
  408. package/lib/types/packageMetadata.d.ts.map +1 -0
  409. package/lib/types/request/AuthenticationHeaderParser.d.ts +20 -0
  410. package/lib/types/request/AuthenticationHeaderParser.d.ts.map +1 -0
  411. package/lib/types/request/BaseAuthRequest.d.ts +50 -0
  412. package/lib/types/request/BaseAuthRequest.d.ts.map +1 -0
  413. package/lib/types/request/CommonAuthorizationCodeRequest.d.ts +28 -0
  414. package/lib/types/request/CommonAuthorizationCodeRequest.d.ts.map +1 -0
  415. package/lib/types/request/CommonAuthorizationUrlRequest.d.ts +51 -0
  416. package/lib/types/request/CommonAuthorizationUrlRequest.d.ts.map +1 -0
  417. package/lib/types/request/CommonClientCredentialRequest.d.ts +18 -0
  418. package/lib/types/request/CommonClientCredentialRequest.d.ts.map +1 -0
  419. package/lib/types/request/CommonDeviceCodeRequest.d.ts +22 -0
  420. package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +1 -0
  421. package/lib/types/request/CommonEndSessionRequest.d.ts +22 -0
  422. package/lib/types/request/CommonEndSessionRequest.d.ts.map +1 -0
  423. package/lib/types/request/CommonOnBehalfOfRequest.d.ts +14 -0
  424. package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
  425. package/lib/types/request/CommonRefreshTokenRequest.d.ts +23 -0
  426. package/lib/types/request/CommonRefreshTokenRequest.d.ts.map +1 -0
  427. package/lib/types/request/CommonSilentFlowRequest.d.ts +28 -0
  428. package/lib/types/request/CommonSilentFlowRequest.d.ts.map +1 -0
  429. package/lib/types/request/CommonUsernamePasswordRequest.d.ts +18 -0
  430. package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
  431. package/lib/types/request/NativeRequest.d.ts +20 -0
  432. package/lib/types/request/NativeRequest.d.ts.map +1 -0
  433. package/lib/types/request/NativeSignOutRequest.d.ts +6 -0
  434. package/lib/types/request/NativeSignOutRequest.d.ts.map +1 -0
  435. package/lib/types/request/RequestParameterBuilder.d.ts +225 -0
  436. package/lib/types/request/RequestParameterBuilder.d.ts.map +1 -0
  437. package/lib/types/request/RequestValidator.d.ts +28 -0
  438. package/lib/types/request/RequestValidator.d.ts.map +1 -0
  439. package/lib/types/request/ScopeSet.d.ts +89 -0
  440. package/lib/types/request/ScopeSet.d.ts.map +1 -0
  441. package/lib/types/request/StoreInCache.d.ts +9 -0
  442. package/lib/types/request/StoreInCache.d.ts.map +1 -0
  443. package/lib/types/response/AuthenticationResult.d.ts +42 -0
  444. package/lib/types/response/AuthenticationResult.d.ts.map +1 -0
  445. package/lib/types/response/AuthorizationCodePayload.d.ts +14 -0
  446. package/lib/types/response/AuthorizationCodePayload.d.ts.map +1 -0
  447. package/lib/types/response/DeviceCodeResponse.d.ts +26 -0
  448. package/lib/types/response/DeviceCodeResponse.d.ts.map +1 -0
  449. package/lib/types/response/ExternalTokenResponse.d.ts +16 -0
  450. package/lib/types/response/ExternalTokenResponse.d.ts.map +1 -0
  451. package/lib/types/response/IMDSBadResponse.d.ts +5 -0
  452. package/lib/types/response/IMDSBadResponse.d.ts.map +1 -0
  453. package/lib/types/response/ResponseHandler.d.ts +70 -0
  454. package/lib/types/response/ResponseHandler.d.ts.map +1 -0
  455. package/lib/types/response/ServerAuthorizationCodeResponse.d.ts +27 -0
  456. package/lib/types/response/ServerAuthorizationCodeResponse.d.ts.map +1 -0
  457. package/lib/types/response/ServerAuthorizationTokenResponse.d.ts +48 -0
  458. package/lib/types/response/ServerAuthorizationTokenResponse.d.ts.map +1 -0
  459. package/lib/types/telemetry/performance/IPerformanceClient.d.ts +58 -0
  460. package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +1 -0
  461. package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts +6 -0
  462. package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts.map +1 -0
  463. package/lib/types/telemetry/performance/PerformanceClient.d.ts +243 -0
  464. package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +1 -0
  465. package/lib/types/telemetry/performance/PerformanceEvent.d.ts +521 -0
  466. package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +1 -0
  467. package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +25 -0
  468. package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +1 -0
  469. package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +79 -0
  470. package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +1 -0
  471. package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts +9 -0
  472. package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -0
  473. package/lib/types/url/IUri.d.ts +13 -0
  474. package/lib/types/url/IUri.d.ts.map +1 -0
  475. package/lib/types/url/UrlString.d.ts +49 -0
  476. package/lib/types/url/UrlString.d.ts.map +1 -0
  477. package/lib/types/utils/ClientAssertionUtils.d.ts +3 -0
  478. package/lib/types/utils/ClientAssertionUtils.d.ts.map +1 -0
  479. package/lib/types/utils/Constants.d.ts +311 -0
  480. package/lib/types/utils/Constants.d.ts.map +1 -0
  481. package/lib/types/utils/FunctionWrappers.d.ts +28 -0
  482. package/lib/types/utils/FunctionWrappers.d.ts.map +1 -0
  483. package/lib/types/utils/MsalTypes.d.ts +7 -0
  484. package/lib/types/utils/MsalTypes.d.ts.map +1 -0
  485. package/lib/types/utils/ProtocolUtils.d.ts +43 -0
  486. package/lib/types/utils/ProtocolUtils.d.ts.map +1 -0
  487. package/lib/types/utils/StringUtils.d.ts +41 -0
  488. package/lib/types/utils/StringUtils.d.ts.map +1 -0
  489. package/lib/types/utils/TimeUtils.d.ts +26 -0
  490. package/lib/types/utils/TimeUtils.d.ts.map +1 -0
  491. package/lib/types/utils/UrlUtils.d.ts +11 -0
  492. package/lib/types/utils/UrlUtils.d.ts.map +1 -0
  493. package/node/README.md +1 -0
  494. package/node/package.json +5 -0
  495. package/package.json +38 -11
  496. package/src/account/AccountInfo.ts +1 -1
  497. package/src/account/AuthToken.ts +2 -2
  498. package/src/account/ClientInfo.ts +2 -2
  499. package/src/authority/Authority.ts +26 -26
  500. package/src/authority/AuthorityFactory.ts +9 -9
  501. package/src/authority/AuthorityMetadata.ts +7 -7
  502. package/src/authority/AuthorityOptions.ts +4 -4
  503. package/src/authority/AzureRegionConfiguration.ts +1 -1
  504. package/src/authority/CloudInstanceDiscoveryResponse.ts +1 -1
  505. package/src/authority/OIDCOptions.ts +1 -1
  506. package/src/authority/RegionDiscovery.ts +10 -10
  507. package/src/authority/RegionDiscoveryMetadata.ts +1 -1
  508. package/src/broker/nativeBroker/INativeBrokerPlugin.ts +5 -5
  509. package/src/cache/CacheManager.ts +28 -36
  510. package/src/cache/entities/AccessTokenEntity.ts +2 -2
  511. package/src/cache/entities/AccountEntity.ts +10 -10
  512. package/src/cache/entities/CacheRecord.ts +5 -5
  513. package/src/cache/entities/CredentialEntity.ts +1 -1
  514. package/src/cache/entities/IdTokenEntity.ts +1 -1
  515. package/src/cache/entities/RefreshTokenEntity.ts +1 -1
  516. package/src/cache/interface/ICacheManager.ts +12 -12
  517. package/src/cache/interface/ICachePlugin.ts +1 -1
  518. package/src/cache/persistence/TokenCacheContext.ts +1 -1
  519. package/src/cache/utils/CacheHelpers.ts +13 -13
  520. package/src/cache/utils/CacheTypes.ts +11 -11
  521. package/src/client/AuthorizationCodeClient.ts +86 -52
  522. package/src/client/BaseClient.ts +121 -39
  523. package/src/client/RefreshTokenClient.ts +42 -33
  524. package/src/client/SilentFlowClient.ts +17 -17
  525. package/src/config/ClientConfiguration.ts +20 -15
  526. package/src/constants/AADServerParamKeys.ts +2 -0
  527. package/src/crypto/ICrypto.ts +3 -3
  528. package/src/crypto/JoseHeader.ts +2 -2
  529. package/src/crypto/PopTokenGenerator.ts +7 -7
  530. package/src/crypto/SignedHttpRequest.ts +1 -1
  531. package/src/error/AuthError.ts +2 -2
  532. package/src/error/CacheError.ts +1 -1
  533. package/src/error/ClientAuthError.ts +2 -2
  534. package/src/error/ClientConfigurationError.ts +2 -2
  535. package/src/error/InteractionRequiredAuthError.ts +3 -3
  536. package/src/error/JoseHeaderError.ts +2 -2
  537. package/src/error/NetworkError.ts +44 -0
  538. package/src/error/ServerError.ts +1 -1
  539. package/src/exports-browser-only.ts +29 -0
  540. package/src/exports-common.ts +189 -0
  541. package/src/exports-node-only.ts +35 -0
  542. package/src/index-browser.ts +11 -0
  543. package/src/index-node.ts +11 -0
  544. package/src/index.ts +7 -250
  545. package/src/logger/Logger.ts +2 -2
  546. package/src/network/INetworkModule.ts +2 -2
  547. package/src/network/NetworkResponse.ts +10 -0
  548. package/src/network/RequestThumbprint.ts +2 -2
  549. package/src/network/ThrottlingUtils.ts +8 -8
  550. package/src/packageMetadata.ts +1 -1
  551. package/src/request/AuthenticationHeaderParser.ts +2 -2
  552. package/src/request/BaseAuthRequest.ts +7 -5
  553. package/src/request/CommonAuthorizationCodeRequest.ts +3 -3
  554. package/src/request/CommonAuthorizationUrlRequest.ts +4 -4
  555. package/src/request/CommonClientCredentialRequest.ts +3 -3
  556. package/src/request/CommonDeviceCodeRequest.ts +3 -3
  557. package/src/request/CommonEndSessionRequest.ts +2 -2
  558. package/src/request/CommonOnBehalfOfRequest.ts +1 -1
  559. package/src/request/CommonRefreshTokenRequest.ts +3 -3
  560. package/src/request/CommonSilentFlowRequest.ts +3 -3
  561. package/src/request/CommonUsernamePasswordRequest.ts +1 -1
  562. package/src/request/NativeRequest.ts +1 -1
  563. package/src/request/RequestParameterBuilder.ts +60 -10
  564. package/src/request/RequestValidator.ts +2 -2
  565. package/src/request/ScopeSet.ts +4 -4
  566. package/src/response/AuthenticationResult.ts +1 -1
  567. package/src/response/ExternalTokenResponse.ts +1 -1
  568. package/src/response/ResponseHandler.ts +31 -31
  569. package/src/response/ServerAuthorizationTokenResponse.ts +1 -1
  570. package/src/telemetry/performance/IPerformanceClient.ts +2 -2
  571. package/src/telemetry/performance/PerformanceClient.ts +52 -22
  572. package/src/telemetry/performance/PerformanceEvent.ts +15 -0
  573. package/src/telemetry/performance/StubPerformanceClient.ts +6 -3
  574. package/src/telemetry/server/ServerTelemetryManager.ts +6 -6
  575. package/src/url/UrlString.ts +5 -5
  576. package/src/utils/ClientAssertionUtils.ts +1 -1
  577. package/src/utils/Constants.ts +1 -0
  578. package/src/utils/FunctionWrappers.ts +2 -2
  579. package/src/utils/ProtocolUtils.ts +3 -3
  580. package/src/utils/UrlUtils.ts +2 -2
  581. package/dist/index.cjs.map +0 -1
  582. package/dist/network/NetworkManager.d.ts +0 -34
  583. package/dist/network/NetworkManager.d.ts.map +0 -1
  584. package/dist/network/NetworkManager.mjs +0 -44
  585. package/dist/network/NetworkManager.mjs.map +0 -1
  586. package/src/network/NetworkManager.ts +0 -76
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { TokenClaims } from "./TokenClaims";
6
+ import { TokenClaims } from "./TokenClaims.js";
7
7
  /**
8
8
  * Account object with the following signature:
9
9
  * - homeAccountId - Home account identifier for this account object
@@ -3,11 +3,11 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { TokenClaims } from "./TokenClaims";
6
+ import { TokenClaims } from "./TokenClaims.js";
7
7
  import {
8
8
  createClientAuthError,
9
9
  ClientAuthErrorCodes,
10
- } from "../error/ClientAuthError";
10
+ } from "../error/ClientAuthError.js";
11
11
 
12
12
  /**
13
13
  * Extract token by decoding the rawToken
@@ -6,8 +6,8 @@
6
6
  import {
7
7
  createClientAuthError,
8
8
  ClientAuthErrorCodes,
9
- } from "../error/ClientAuthError";
10
- import { Separators, Constants } from "../utils/Constants";
9
+ } from "../error/ClientAuthError.js";
10
+ import { Separators, Constants } from "../utils/Constants.js";
11
11
 
12
12
  /**
13
13
  * Client info object which consists of two IDs. Need to add more info here.
@@ -3,61 +3,61 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { AuthorityType } from "./AuthorityType";
6
+ import { AuthorityType } from "./AuthorityType.js";
7
7
  import {
8
8
  isOpenIdConfigResponse,
9
9
  OpenIdConfigResponse,
10
- } from "./OpenIdConfigResponse";
11
- import { UrlString } from "../url/UrlString";
12
- import { IUri } from "../url/IUri";
10
+ } from "./OpenIdConfigResponse.js";
11
+ import { UrlString } from "../url/UrlString.js";
12
+ import { IUri } from "../url/IUri.js";
13
13
  import {
14
14
  createClientAuthError,
15
15
  ClientAuthErrorCodes,
16
- } from "../error/ClientAuthError";
17
- import { INetworkModule } from "../network/INetworkModule";
16
+ } from "../error/ClientAuthError.js";
17
+ import { INetworkModule } from "../network/INetworkModule.js";
18
18
  import {
19
19
  AADAuthorityConstants,
20
20
  AuthorityMetadataSource,
21
21
  Constants,
22
22
  RegionDiscoveryOutcomes,
23
- } from "../utils/Constants";
23
+ } from "../utils/Constants.js";
24
24
  import {
25
25
  EndpointMetadata,
26
26
  getCloudDiscoveryMetadataFromHardcodedValues,
27
27
  getCloudDiscoveryMetadataFromNetworkResponse,
28
28
  InstanceDiscoveryMetadataAliases,
29
- } from "./AuthorityMetadata";
29
+ } from "./AuthorityMetadata.js";
30
30
  import {
31
31
  createClientConfigurationError,
32
32
  ClientConfigurationErrorCodes,
33
- } from "../error/ClientConfigurationError";
34
- import { ProtocolMode } from "./ProtocolMode";
35
- import { ICacheManager } from "../cache/interface/ICacheManager";
36
- import { AuthorityMetadataEntity } from "../cache/entities/AuthorityMetadataEntity";
33
+ } from "../error/ClientConfigurationError.js";
34
+ import { ProtocolMode } from "./ProtocolMode.js";
35
+ import { ICacheManager } from "../cache/interface/ICacheManager.js";
36
+ import { AuthorityMetadataEntity } from "../cache/entities/AuthorityMetadataEntity.js";
37
37
  import {
38
38
  AuthorityOptions,
39
39
  AzureCloudInstance,
40
40
  StaticAuthorityOptions,
41
- } from "./AuthorityOptions";
41
+ } from "./AuthorityOptions.js";
42
42
  import {
43
43
  CloudInstanceDiscoveryResponse,
44
44
  isCloudInstanceDiscoveryResponse,
45
- } from "./CloudInstanceDiscoveryResponse";
45
+ } from "./CloudInstanceDiscoveryResponse.js";
46
46
  import {
47
47
  CloudInstanceDiscoveryErrorResponse,
48
48
  isCloudInstanceDiscoveryErrorResponse,
49
- } from "./CloudInstanceDiscoveryErrorResponse";
50
- import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata";
51
- import { RegionDiscovery } from "./RegionDiscovery";
52
- import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata";
53
- import { ImdsOptions } from "./ImdsOptions";
54
- import { AzureCloudOptions } from "../config/ClientConfiguration";
55
- import { Logger } from "../logger/Logger";
56
- import { AuthError } from "../error/AuthError";
57
- import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
58
- import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
59
- import { invokeAsync } from "../utils/FunctionWrappers";
60
- import * as CacheHelpers from "../cache/utils/CacheHelpers";
49
+ } from "./CloudInstanceDiscoveryErrorResponse.js";
50
+ import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js";
51
+ import { RegionDiscovery } from "./RegionDiscovery.js";
52
+ import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata.js";
53
+ import { ImdsOptions } from "./ImdsOptions.js";
54
+ import { AzureCloudOptions } from "../config/ClientConfiguration.js";
55
+ import { Logger } from "../logger/Logger.js";
56
+ import { AuthError } from "../error/AuthError.js";
57
+ import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
58
+ import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
59
+ import { invokeAsync } from "../utils/FunctionWrappers.js";
60
+ import * as CacheHelpers from "../cache/utils/CacheHelpers.js";
61
61
 
62
62
  /**
63
63
  * The authority class validates the authority URIs used by the user, and retrieves the OpenID Configuration Data from the
@@ -3,18 +3,18 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { Authority, formatAuthorityUri } from "./Authority";
7
- import { INetworkModule } from "../network/INetworkModule";
6
+ import { Authority, formatAuthorityUri } from "./Authority.js";
7
+ import { INetworkModule } from "../network/INetworkModule.js";
8
8
  import {
9
9
  createClientAuthError,
10
10
  ClientAuthErrorCodes,
11
- } from "../error/ClientAuthError";
12
- import { ICacheManager } from "../cache/interface/ICacheManager";
13
- import { AuthorityOptions } from "./AuthorityOptions";
14
- import { Logger } from "../logger/Logger";
15
- import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
16
- import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
17
- import { invokeAsync } from "../utils/FunctionWrappers";
11
+ } from "../error/ClientAuthError.js";
12
+ import { ICacheManager } from "../cache/interface/ICacheManager.js";
13
+ import { AuthorityOptions } from "./AuthorityOptions.js";
14
+ import { Logger } from "../logger/Logger.js";
15
+ import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
16
+ import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
17
+ import { invokeAsync } from "../utils/FunctionWrappers.js";
18
18
 
19
19
  /**
20
20
  * Create an authority object of the correct type based on the url
@@ -3,13 +3,13 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { Logger } from "../logger/Logger";
7
- import { UrlString } from "../url/UrlString";
8
- import { AuthorityMetadataSource } from "../utils/Constants";
9
- import { StaticAuthorityOptions } from "./AuthorityOptions";
10
- import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata";
11
- import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse";
12
- import { OpenIdConfigResponse } from "./OpenIdConfigResponse";
6
+ import { Logger } from "../logger/Logger.js";
7
+ import { UrlString } from "../url/UrlString.js";
8
+ import { AuthorityMetadataSource } from "../utils/Constants.js";
9
+ import { StaticAuthorityOptions } from "./AuthorityOptions.js";
10
+ import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js";
11
+ import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse.js";
12
+ import { OpenIdConfigResponse } from "./OpenIdConfigResponse.js";
13
13
 
14
14
  type RawMetadata = {
15
15
  endpointMetadata: { [key: string]: OpenIdConfigResponse };
@@ -3,10 +3,10 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { ProtocolMode } from "./ProtocolMode";
7
- import { OIDCOptions } from "./OIDCOptions";
8
- import { AzureRegionConfiguration } from "./AzureRegionConfiguration";
9
- import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse";
6
+ import { ProtocolMode } from "./ProtocolMode.js";
7
+ import { OIDCOptions } from "./OIDCOptions.js";
8
+ import { AzureRegionConfiguration } from "./AzureRegionConfiguration.js";
9
+ import { CloudInstanceDiscoveryResponse } from "./CloudInstanceDiscoveryResponse.js";
10
10
 
11
11
  export type AuthorityOptions = {
12
12
  protocolMode: ProtocolMode;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { AzureRegion } from "./AzureRegion";
6
+ import { AzureRegion } from "./AzureRegion.js";
7
7
 
8
8
  /*
9
9
  * AzureRegionConfiguration
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata";
6
+ import { CloudDiscoveryMetadata } from "./CloudDiscoveryMetadata.js";
7
7
 
8
8
  /**
9
9
  * The OpenID Configuration Endpoint Response type. Used by the authority class to get relevant OAuth endpoints.
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { ServerResponseType } from "../utils/Constants";
6
+ import { ServerResponseType } from "../utils/Constants.js";
7
7
 
8
8
  /**
9
9
  * Options for the OIDC protocol mode.
@@ -3,20 +3,20 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { INetworkModule } from "../network/INetworkModule";
7
- import { NetworkResponse } from "../network/NetworkManager";
8
- import { IMDSBadResponse } from "../response/IMDSBadResponse";
6
+ import { INetworkModule } from "../network/INetworkModule.js";
7
+ import { NetworkResponse } from "../network/NetworkResponse.js";
8
+ import { IMDSBadResponse } from "../response/IMDSBadResponse.js";
9
9
  import {
10
10
  Constants,
11
11
  RegionDiscoverySources,
12
12
  ResponseCodes,
13
- } from "../utils/Constants";
14
- import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata";
15
- import { ImdsOptions } from "./ImdsOptions";
16
- import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
17
- import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
18
- import { invokeAsync } from "../utils/FunctionWrappers";
19
- import { Logger } from "../logger/Logger";
13
+ } from "../utils/Constants.js";
14
+ import { RegionDiscoveryMetadata } from "./RegionDiscoveryMetadata.js";
15
+ import { ImdsOptions } from "./ImdsOptions.js";
16
+ import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
17
+ import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
18
+ import { invokeAsync } from "../utils/FunctionWrappers.js";
19
+ import { Logger } from "../logger/Logger.js";
20
20
 
21
21
  export class RegionDiscovery {
22
22
  // Network interface to make requests with.
@@ -6,7 +6,7 @@
6
6
  import {
7
7
  RegionDiscoveryOutcomes,
8
8
  RegionDiscoverySources,
9
- } from "../utils/Constants";
9
+ } from "../utils/Constants.js";
10
10
 
11
11
  export type RegionDiscoveryMetadata = {
12
12
  region_used?: string;
@@ -3,11 +3,11 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { AccountInfo } from "../../account/AccountInfo";
7
- import { LoggerOptions } from "../../config/ClientConfiguration";
8
- import { NativeRequest } from "../../request/NativeRequest";
9
- import { NativeSignOutRequest } from "../../request/NativeSignOutRequest";
10
- import { AuthenticationResult } from "../../response/AuthenticationResult";
6
+ import { AccountInfo } from "../../account/AccountInfo.js";
7
+ import { LoggerOptions } from "../../config/ClientConfiguration.js";
8
+ import { NativeRequest } from "../../request/NativeRequest.js";
9
+ import { NativeSignOutRequest } from "../../request/NativeSignOutRequest.js";
10
+ import { AuthenticationResult } from "../../response/AuthenticationResult.js";
11
11
 
12
12
  export interface INativeBrokerPlugin {
13
13
  isBrokerAvailable: boolean;
@@ -11,8 +11,8 @@ import {
11
11
  AppMetadataCache,
12
12
  TokenKeys,
13
13
  TenantProfileFilter,
14
- } from "./utils/CacheTypes";
15
- import { CacheRecord } from "./entities/CacheRecord";
14
+ } from "./utils/CacheTypes.js";
15
+ import { CacheRecord } from "./entities/CacheRecord.js";
16
16
  import {
17
17
  CredentialType,
18
18
  APP_METADATA,
@@ -20,40 +20,40 @@ import {
20
20
  AUTHORITY_METADATA_CONSTANTS,
21
21
  AuthenticationScheme,
22
22
  Separators,
23
- } from "../utils/Constants";
24
- import { CredentialEntity } from "./entities/CredentialEntity";
25
- import { generateCredentialKey } from "./utils/CacheHelpers";
26
- import { ScopeSet } from "../request/ScopeSet";
27
- import { AccountEntity } from "./entities/AccountEntity";
28
- import { AccessTokenEntity } from "./entities/AccessTokenEntity";
29
- import { IdTokenEntity } from "./entities/IdTokenEntity";
30
- import { RefreshTokenEntity } from "./entities/RefreshTokenEntity";
31
- import { ICacheManager } from "./interface/ICacheManager";
23
+ } from "../utils/Constants.js";
24
+ import { CredentialEntity } from "./entities/CredentialEntity.js";
25
+ import { generateCredentialKey } from "./utils/CacheHelpers.js";
26
+ import { ScopeSet } from "../request/ScopeSet.js";
27
+ import { AccountEntity } from "./entities/AccountEntity.js";
28
+ import { AccessTokenEntity } from "./entities/AccessTokenEntity.js";
29
+ import { IdTokenEntity } from "./entities/IdTokenEntity.js";
30
+ import { RefreshTokenEntity } from "./entities/RefreshTokenEntity.js";
31
+ import { ICacheManager } from "./interface/ICacheManager.js";
32
32
  import {
33
33
  createClientAuthError,
34
34
  ClientAuthErrorCodes,
35
- } from "../error/ClientAuthError";
35
+ } from "../error/ClientAuthError.js";
36
36
  import {
37
37
  AccountInfo,
38
38
  TenantProfile,
39
39
  tenantIdMatchesHomeTenant,
40
40
  updateAccountTenantProfileData,
41
- } from "../account/AccountInfo";
42
- import { AppMetadataEntity } from "./entities/AppMetadataEntity";
43
- import { ServerTelemetryEntity } from "./entities/ServerTelemetryEntity";
44
- import { ThrottlingEntity } from "./entities/ThrottlingEntity";
45
- import { extractTokenClaims } from "../account/AuthToken";
46
- import { ICrypto } from "../crypto/ICrypto";
47
- import { AuthorityMetadataEntity } from "./entities/AuthorityMetadataEntity";
48
- import { BaseAuthRequest } from "../request/BaseAuthRequest";
49
- import { Logger } from "../logger/Logger";
50
- import { name, version } from "../packageMetadata";
51
- import { StoreInCache } from "../request/StoreInCache";
52
- import { getAliasesFromStaticSources } from "../authority/AuthorityMetadata";
53
- import { StaticAuthorityOptions } from "../authority/AuthorityOptions";
54
- import { TokenClaims } from "../account/TokenClaims";
55
- import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
56
- import { CacheError, CacheErrorCodes } from "../error/CacheError";
41
+ } from "../account/AccountInfo.js";
42
+ import { AppMetadataEntity } from "./entities/AppMetadataEntity.js";
43
+ import { ServerTelemetryEntity } from "./entities/ServerTelemetryEntity.js";
44
+ import { ThrottlingEntity } from "./entities/ThrottlingEntity.js";
45
+ import { extractTokenClaims } from "../account/AuthToken.js";
46
+ import { ICrypto } from "../crypto/ICrypto.js";
47
+ import { AuthorityMetadataEntity } from "./entities/AuthorityMetadataEntity.js";
48
+ import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
49
+ import { Logger } from "../logger/Logger.js";
50
+ import { name, version } from "../packageMetadata.js";
51
+ import { StoreInCache } from "../request/StoreInCache.js";
52
+ import { getAliasesFromStaticSources } from "../authority/AuthorityMetadata.js";
53
+ import { StaticAuthorityOptions } from "../authority/AuthorityOptions.js";
54
+ import { TokenClaims } from "../account/TokenClaims.js";
55
+ import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
56
+ import { CacheError, CacheErrorCodes } from "../error/CacheError.js";
57
57
 
58
58
  /**
59
59
  * Interface class which implement cache storage functions used by MSAL to perform validity checks, and store tokens.
@@ -233,11 +233,6 @@ export abstract class CacheManager implements ICacheManager {
233
233
  */
234
234
  abstract getTokenKeys(): TokenKeys;
235
235
 
236
- /**
237
- * Function which clears cache.
238
- */
239
- abstract clear(): Promise<void>;
240
-
241
236
  /**
242
237
  * Function which updates an outdated credential cache key
243
238
  */
@@ -2005,9 +2000,6 @@ export class DefaultStorageClass extends CacheManager {
2005
2000
  getTokenKeys(): TokenKeys {
2006
2001
  throw createClientAuthError(ClientAuthErrorCodes.methodNotImplemented);
2007
2002
  }
2008
- async clear(): Promise<void> {
2009
- throw createClientAuthError(ClientAuthErrorCodes.methodNotImplemented);
2010
- }
2011
2003
  updateCredentialCacheKey(): string {
2012
2004
  throw createClientAuthError(ClientAuthErrorCodes.methodNotImplemented);
2013
2005
  }
@@ -3,8 +3,8 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { CredentialEntity } from "./CredentialEntity";
7
- import { AuthenticationScheme } from "../../utils/Constants";
6
+ import { CredentialEntity } from "./CredentialEntity.js";
7
+ import { AuthenticationScheme } from "../../utils/Constants.js";
8
8
 
9
9
  /**
10
10
  * Access token cache type
@@ -3,26 +3,26 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { CacheAccountType, Separators } from "../../utils/Constants";
7
- import { Authority } from "../../authority/Authority";
8
- import { ICrypto } from "../../crypto/ICrypto";
9
- import { ClientInfo, buildClientInfo } from "../../account/ClientInfo";
6
+ import { CacheAccountType, Separators } from "../../utils/Constants.js";
7
+ import { Authority } from "../../authority/Authority.js";
8
+ import { ICrypto } from "../../crypto/ICrypto.js";
9
+ import { ClientInfo, buildClientInfo } from "../../account/ClientInfo.js";
10
10
  import {
11
11
  AccountInfo,
12
12
  TenantProfile,
13
13
  buildTenantProfile,
14
- } from "../../account/AccountInfo";
14
+ } from "../../account/AccountInfo.js";
15
15
  import {
16
16
  createClientAuthError,
17
17
  ClientAuthErrorCodes,
18
- } from "../../error/ClientAuthError";
19
- import { AuthorityType } from "../../authority/AuthorityType";
20
- import { Logger } from "../../logger/Logger";
18
+ } from "../../error/ClientAuthError.js";
19
+ import { AuthorityType } from "../../authority/AuthorityType.js";
20
+ import { Logger } from "../../logger/Logger.js";
21
21
  import {
22
22
  TokenClaims,
23
23
  getTenantIdFromIdTokenClaims,
24
- } from "../../account/TokenClaims";
25
- import { ProtocolMode } from "../../authority/ProtocolMode";
24
+ } from "../../account/TokenClaims.js";
25
+ import { ProtocolMode } from "../../authority/ProtocolMode.js";
26
26
 
27
27
  /**
28
28
  * Type that defines required and optional parameters for an Account field (based on universal cache schema implemented by all MSALs).
@@ -3,11 +3,11 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { IdTokenEntity } from "./IdTokenEntity";
7
- import { AccessTokenEntity } from "./AccessTokenEntity";
8
- import { RefreshTokenEntity } from "./RefreshTokenEntity";
9
- import { AccountEntity } from "./AccountEntity";
10
- import { AppMetadataEntity } from "./AppMetadataEntity";
6
+ import { IdTokenEntity } from "./IdTokenEntity.js";
7
+ import { AccessTokenEntity } from "./AccessTokenEntity.js";
8
+ import { RefreshTokenEntity } from "./RefreshTokenEntity.js";
9
+ import { AccountEntity } from "./AccountEntity.js";
10
+ import { AppMetadataEntity } from "./AppMetadataEntity.js";
11
11
 
12
12
  /** @internal */
13
13
  export type CacheRecord = {
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { CredentialType, AuthenticationScheme } from "../../utils/Constants";
6
+ import { CredentialType, AuthenticationScheme } from "../../utils/Constants.js";
7
7
 
8
8
  /**
9
9
  * Credential Cache Type
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { CredentialEntity } from "./CredentialEntity";
6
+ import { CredentialEntity } from "./CredentialEntity.js";
7
7
 
8
8
  /**
9
9
  * Id Token Cache Type
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { CredentialEntity } from "./CredentialEntity";
6
+ import { CredentialEntity } from "./CredentialEntity.js";
7
7
 
8
8
  /**
9
9
  * Refresh Token Cache Type
@@ -3,18 +3,18 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { AccountFilter } from "../utils/CacheTypes";
7
- import { CacheRecord } from "../entities/CacheRecord";
8
- import { AccountEntity } from "../entities/AccountEntity";
9
- import { AccountInfo } from "../../account/AccountInfo";
10
- import { AppMetadataEntity } from "../entities/AppMetadataEntity";
11
- import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity";
12
- import { ThrottlingEntity } from "../entities/ThrottlingEntity";
13
- import { IdTokenEntity } from "../entities/IdTokenEntity";
14
- import { AccessTokenEntity } from "../entities/AccessTokenEntity";
15
- import { RefreshTokenEntity } from "../entities/RefreshTokenEntity";
16
- import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity";
17
- import { StoreInCache } from "../../request/StoreInCache";
6
+ import { AccountFilter } from "../utils/CacheTypes.js";
7
+ import { CacheRecord } from "../entities/CacheRecord.js";
8
+ import { AccountEntity } from "../entities/AccountEntity.js";
9
+ import { AccountInfo } from "../../account/AccountInfo.js";
10
+ import { AppMetadataEntity } from "../entities/AppMetadataEntity.js";
11
+ import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js";
12
+ import { ThrottlingEntity } from "../entities/ThrottlingEntity.js";
13
+ import { IdTokenEntity } from "../entities/IdTokenEntity.js";
14
+ import { AccessTokenEntity } from "../entities/AccessTokenEntity.js";
15
+ import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
16
+ import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
17
+ import { StoreInCache } from "../../request/StoreInCache.js";
18
18
 
19
19
  export interface ICacheManager {
20
20
  /**
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { TokenCacheContext } from "../persistence/TokenCacheContext";
6
+ import { TokenCacheContext } from "../persistence/TokenCacheContext.js";
7
7
 
8
8
  export interface ICachePlugin {
9
9
  beforeCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>;
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { ISerializableTokenCache } from "../interface/ISerializableTokenCache";
6
+ import { ISerializableTokenCache } from "../interface/ISerializableTokenCache.js";
7
7
 
8
8
  /**
9
9
  * This class instance helps track the memory changes facilitating
@@ -3,14 +3,14 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { extractTokenClaims } from "../../account/AuthToken";
7
- import { TokenClaims } from "../../account/TokenClaims";
8
- import { CloudDiscoveryMetadata } from "../../authority/CloudDiscoveryMetadata";
9
- import { OpenIdConfigResponse } from "../../authority/OpenIdConfigResponse";
6
+ import { extractTokenClaims } from "../../account/AuthToken.js";
7
+ import { TokenClaims } from "../../account/TokenClaims.js";
8
+ import { CloudDiscoveryMetadata } from "../../authority/CloudDiscoveryMetadata.js";
9
+ import { OpenIdConfigResponse } from "../../authority/OpenIdConfigResponse.js";
10
10
  import {
11
11
  ClientAuthErrorCodes,
12
12
  createClientAuthError,
13
- } from "../../error/ClientAuthError";
13
+ } from "../../error/ClientAuthError.js";
14
14
  import {
15
15
  APP_METADATA,
16
16
  AUTHORITY_METADATA_CONSTANTS,
@@ -19,14 +19,14 @@ import {
19
19
  SERVER_TELEM_CONSTANTS,
20
20
  Separators,
21
21
  ThrottlingConstants,
22
- } from "../../utils/Constants";
23
- import * as TimeUtils from "../../utils/TimeUtils";
24
- import { AccessTokenEntity } from "../entities/AccessTokenEntity";
25
- import { AppMetadataEntity } from "../entities/AppMetadataEntity";
26
- import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity";
27
- import { CredentialEntity } from "../entities/CredentialEntity";
28
- import { IdTokenEntity } from "../entities/IdTokenEntity";
29
- import { RefreshTokenEntity } from "../entities/RefreshTokenEntity";
22
+ } from "../../utils/Constants.js";
23
+ import * as TimeUtils from "../../utils/TimeUtils.js";
24
+ import { AccessTokenEntity } from "../entities/AccessTokenEntity.js";
25
+ import { AppMetadataEntity } from "../entities/AppMetadataEntity.js";
26
+ import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
27
+ import { CredentialEntity } from "../entities/CredentialEntity.js";
28
+ import { IdTokenEntity } from "../entities/IdTokenEntity.js";
29
+ import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
30
30
 
31
31
  /**
32
32
  * Cache Key: <home_account_id>-<environment>-<credential_type>-<client_id or familyId>-<realm>-<scopes>-<claims hash>-<scheme>
@@ -3,17 +3,17 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import { AccountEntity } from "../entities/AccountEntity";
7
- import { IdTokenEntity } from "../entities/IdTokenEntity";
8
- import { AccessTokenEntity } from "../entities/AccessTokenEntity";
9
- import { RefreshTokenEntity } from "../entities/RefreshTokenEntity";
10
- import { AppMetadataEntity } from "../entities/AppMetadataEntity";
11
- import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity";
12
- import { ThrottlingEntity } from "../entities/ThrottlingEntity";
13
- import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity";
14
- import { AuthenticationScheme } from "../../utils/Constants";
15
- import { ScopeSet } from "../../request/ScopeSet";
16
- import { AccountInfo } from "../../account/AccountInfo";
6
+ import { AccountEntity } from "../entities/AccountEntity.js";
7
+ import { IdTokenEntity } from "../entities/IdTokenEntity.js";
8
+ import { AccessTokenEntity } from "../entities/AccessTokenEntity.js";
9
+ import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
10
+ import { AppMetadataEntity } from "../entities/AppMetadataEntity.js";
11
+ import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js";
12
+ import { ThrottlingEntity } from "../entities/ThrottlingEntity.js";
13
+ import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
14
+ import { AuthenticationScheme } from "../../utils/Constants.js";
15
+ import { ScopeSet } from "../../request/ScopeSet.js";
16
+ import { AccountInfo } from "../../account/AccountInfo.js";
17
17
 
18
18
  /** @internal */
19
19
  export type AccountCache = Record<string, AccountEntity>;