@azure/msal-common 16.5.1 → 16.6.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 (875) hide show
  1. package/browser/package.json +1 -1
  2. package/dist/account/AccountInfo.mjs +1 -1
  3. package/dist/account/AuthToken.mjs +1 -1
  4. package/dist/account/CcsCredential.mjs +1 -1
  5. package/dist/account/ClientInfo.mjs +1 -1
  6. package/dist/account/TokenClaims.mjs +1 -1
  7. package/dist/authority/Authority.mjs +1 -1
  8. package/dist/authority/AuthorityFactory.mjs +1 -1
  9. package/dist/authority/AuthorityMetadata.mjs +1 -1
  10. package/dist/authority/AuthorityOptions.mjs +1 -1
  11. package/dist/authority/AuthorityType.mjs +1 -1
  12. package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
  13. package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
  14. package/dist/authority/OpenIdConfigResponse.mjs +1 -1
  15. package/dist/authority/ProtocolMode.mjs +1 -1
  16. package/dist/authority/RegionDiscovery.mjs +1 -1
  17. package/dist/cache/CacheManager.mjs +10 -8
  18. package/dist/cache/CacheManager.mjs.map +1 -1
  19. package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
  20. package/dist/cache/utils/AccountEntityUtils.mjs +1 -1
  21. package/dist/cache/utils/CacheHelpers.mjs +1 -1
  22. package/dist/client/AuthorizationCodeClient.mjs +1 -1
  23. package/dist/client/RefreshTokenClient.mjs +1 -1
  24. package/dist/client/SilentFlowClient.mjs +1 -1
  25. package/dist/config/ClientConfiguration.mjs +1 -1
  26. package/dist/constants/AADServerParamKeys.mjs +1 -1
  27. package/dist/crypto/ICrypto.mjs +1 -1
  28. package/dist/crypto/JoseHeader.mjs +1 -1
  29. package/dist/crypto/PopTokenGenerator.mjs +1 -1
  30. package/dist/error/AuthError.mjs +1 -1
  31. package/dist/error/AuthErrorCodes.mjs +1 -1
  32. package/dist/error/CacheError.mjs +1 -1
  33. package/dist/error/CacheErrorCodes.mjs +1 -1
  34. package/dist/error/ClientAuthError.mjs +1 -1
  35. package/dist/error/ClientAuthErrorCodes.mjs +1 -1
  36. package/dist/error/ClientConfigurationError.mjs +1 -1
  37. package/dist/error/ClientConfigurationErrorCodes.mjs +1 -1
  38. package/dist/error/InteractionRequiredAuthError.mjs +1 -1
  39. package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
  40. package/dist/error/JoseHeaderError.mjs +1 -1
  41. package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
  42. package/dist/error/NetworkError.mjs +1 -1
  43. package/dist/error/PlatformBrokerError.mjs +1 -1
  44. package/dist/error/ServerError.mjs +1 -1
  45. package/dist/index-node.mjs +1 -1
  46. package/dist/index.mjs +1 -1
  47. package/dist/logger/Logger.mjs +1 -1
  48. package/dist/network/INetworkModule.mjs +1 -1
  49. package/dist/network/RequestThumbprint.mjs +1 -1
  50. package/dist/network/ThrottlingUtils.mjs +1 -1
  51. package/dist/packageMetadata.mjs +2 -2
  52. package/dist/protocol/Authorize.mjs +1 -1
  53. package/dist/protocol/Token.mjs +1 -1
  54. package/dist/request/AuthenticationHeaderParser.mjs +1 -1
  55. package/dist/request/BaseAuthRequest.mjs +1 -1
  56. package/dist/request/RequestParameterBuilder.mjs +1 -1
  57. package/dist/request/ScopeSet.mjs +1 -1
  58. package/dist/response/ResponseHandler.mjs +1 -1
  59. package/dist/telemetry/performance/PerformanceClient.mjs +1 -1
  60. package/dist/telemetry/performance/PerformanceEvent.mjs +1 -1
  61. package/dist/telemetry/performance/PerformanceEvents.mjs +1 -1
  62. package/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
  63. package/dist/telemetry/server/ServerTelemetryManager.mjs +1 -1
  64. package/dist/url/UrlString.mjs +1 -1
  65. package/dist/utils/ClientAssertionUtils.mjs +1 -1
  66. package/dist/utils/Constants.mjs +1 -1
  67. package/dist/utils/FunctionWrappers.mjs +1 -1
  68. package/dist/utils/ProtocolUtils.mjs +1 -1
  69. package/dist/utils/StringUtils.mjs +1 -1
  70. package/dist/utils/TimeUtils.mjs +1 -1
  71. package/dist/utils/UrlUtils.mjs +1 -1
  72. package/dist-browser/account/AccountInfo.mjs +1 -1
  73. package/dist-browser/account/AuthToken.mjs +1 -1
  74. package/dist-browser/account/CcsCredential.mjs +1 -1
  75. package/dist-browser/account/ClientInfo.mjs +1 -1
  76. package/dist-browser/account/TokenClaims.mjs +1 -1
  77. package/dist-browser/authority/Authority.mjs +1 -1
  78. package/dist-browser/authority/AuthorityFactory.mjs +1 -1
  79. package/dist-browser/authority/AuthorityMetadata.mjs +1 -1
  80. package/dist-browser/authority/AuthorityOptions.mjs +1 -1
  81. package/dist-browser/authority/AuthorityType.mjs +1 -1
  82. package/dist-browser/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
  83. package/dist-browser/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
  84. package/dist-browser/authority/OpenIdConfigResponse.mjs +1 -1
  85. package/dist-browser/authority/ProtocolMode.mjs +1 -1
  86. package/dist-browser/authority/RegionDiscovery.mjs +1 -1
  87. package/dist-browser/cache/CacheManager.mjs +10 -8
  88. package/dist-browser/cache/CacheManager.mjs.map +1 -1
  89. package/dist-browser/cache/persistence/TokenCacheContext.mjs +1 -1
  90. package/dist-browser/cache/utils/AccountEntityUtils.mjs +1 -1
  91. package/dist-browser/cache/utils/CacheHelpers.mjs +1 -1
  92. package/dist-browser/client/AuthorizationCodeClient.mjs +1 -1
  93. package/dist-browser/client/RefreshTokenClient.mjs +1 -1
  94. package/dist-browser/client/SilentFlowClient.mjs +1 -1
  95. package/dist-browser/config/ClientConfiguration.mjs +1 -1
  96. package/dist-browser/constants/AADServerParamKeys.mjs +1 -1
  97. package/dist-browser/crypto/ICrypto.mjs +1 -1
  98. package/dist-browser/crypto/JoseHeader.mjs +1 -1
  99. package/dist-browser/crypto/PopTokenGenerator.mjs +1 -1
  100. package/dist-browser/error/AuthError.mjs +1 -1
  101. package/dist-browser/error/AuthErrorCodes.mjs +1 -1
  102. package/dist-browser/error/CacheError.mjs +1 -1
  103. package/dist-browser/error/CacheErrorCodes.mjs +1 -1
  104. package/dist-browser/error/ClientAuthError.mjs +1 -1
  105. package/dist-browser/error/ClientAuthErrorCodes.mjs +1 -1
  106. package/dist-browser/error/ClientConfigurationError.mjs +1 -1
  107. package/dist-browser/error/ClientConfigurationErrorCodes.mjs +1 -1
  108. package/dist-browser/error/InteractionRequiredAuthError.mjs +1 -1
  109. package/dist-browser/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
  110. package/dist-browser/error/JoseHeaderError.mjs +1 -1
  111. package/dist-browser/error/JoseHeaderErrorCodes.mjs +1 -1
  112. package/dist-browser/error/NetworkError.mjs +1 -1
  113. package/dist-browser/error/PlatformBrokerError.mjs +1 -1
  114. package/dist-browser/error/ServerError.mjs +1 -1
  115. package/dist-browser/index-browser.mjs +1 -1
  116. package/dist-browser/index.mjs +1 -1
  117. package/dist-browser/log-strings-mapping.json +2 -2
  118. package/dist-browser/logger/Logger.mjs +1 -1
  119. package/dist-browser/network/INetworkModule.mjs +1 -1
  120. package/dist-browser/network/RequestThumbprint.mjs +1 -1
  121. package/dist-browser/network/ThrottlingUtils.mjs +1 -1
  122. package/dist-browser/packageMetadata.mjs +2 -2
  123. package/dist-browser/protocol/Authorize.mjs +1 -1
  124. package/dist-browser/protocol/Token.mjs +1 -1
  125. package/dist-browser/request/AuthenticationHeaderParser.mjs +1 -1
  126. package/dist-browser/request/BaseAuthRequest.mjs +1 -1
  127. package/dist-browser/request/RequestParameterBuilder.mjs +1 -1
  128. package/dist-browser/request/ScopeSet.mjs +1 -1
  129. package/dist-browser/response/ResponseHandler.mjs +1 -1
  130. package/dist-browser/telemetry/performance/PerformanceClient.mjs +1 -1
  131. package/dist-browser/telemetry/performance/PerformanceEvent.mjs +1 -1
  132. package/dist-browser/telemetry/performance/PerformanceEvents.mjs +1 -1
  133. package/dist-browser/telemetry/performance/StubPerformanceClient.mjs +1 -1
  134. package/dist-browser/telemetry/server/ServerTelemetryManager.mjs +1 -1
  135. package/dist-browser/url/UrlString.mjs +1 -1
  136. package/dist-browser/utils/ClientAssertionUtils.mjs +1 -1
  137. package/dist-browser/utils/Constants.mjs +1 -1
  138. package/dist-browser/utils/FunctionWrappers.mjs +1 -1
  139. package/dist-browser/utils/ProtocolUtils.mjs +1 -1
  140. package/dist-browser/utils/StringUtils.mjs +1 -1
  141. package/dist-browser/utils/TimeUtils.mjs +1 -1
  142. package/dist-browser/utils/UrlUtils.mjs +1 -1
  143. package/lib/index-browser.cjs +2 -2
  144. package/lib/{index-node-CJl1_QbT.js → index-node-BtcbvYTx.js} +7 -5
  145. package/lib/{index-node-CJl1_QbT.js.map → index-node-BtcbvYTx.js.map} +1 -1
  146. package/lib/index-node.cjs +2 -2
  147. package/lib/index.cjs +2 -2
  148. package/node/package.json +1 -1
  149. package/package.json +12 -10
  150. package/src/cache/CacheManager.ts +36 -34
  151. package/src/packageMetadata.ts +1 -1
  152. package/{dist → types}/cache/CacheManager.d.ts +13 -13
  153. package/{dist-browser → types}/cache/CacheManager.d.ts.map +1 -1
  154. package/types/index-browser.d.cts +1 -0
  155. package/types/index-node.d.cts +1 -0
  156. package/types/index.d.cts +1 -0
  157. package/types/packageMetadata.d.ts +3 -0
  158. package/dist/account/AccountInfo.d.ts +0 -73
  159. package/dist/account/AccountInfo.d.ts.map +0 -1
  160. package/dist/account/AuthToken.d.ts +0 -24
  161. package/dist/account/AuthToken.d.ts.map +0 -1
  162. package/dist/account/CcsCredential.d.ts +0 -10
  163. package/dist/account/CcsCredential.d.ts.map +0 -1
  164. package/dist/account/ClientCredentials.d.ts +0 -20
  165. package/dist/account/ClientCredentials.d.ts.map +0 -1
  166. package/dist/account/ClientInfo.d.ts +0 -23
  167. package/dist/account/ClientInfo.d.ts.map +0 -1
  168. package/dist/account/TokenClaims.d.ts +0 -88
  169. package/dist/account/TokenClaims.d.ts.map +0 -1
  170. package/dist/authority/Authority.d.ts +0 -255
  171. package/dist/authority/Authority.d.ts.map +0 -1
  172. package/dist/authority/AuthorityFactory.d.ts +0 -23
  173. package/dist/authority/AuthorityFactory.d.ts.map +0 -1
  174. package/dist/authority/AuthorityMetadata.d.ts +0 -44
  175. package/dist/authority/AuthorityMetadata.d.ts.map +0 -1
  176. package/dist/authority/AuthorityOptions.d.ts +0 -27
  177. package/dist/authority/AuthorityOptions.d.ts.map +0 -1
  178. package/dist/authority/AuthorityType.d.ts +0 -11
  179. package/dist/authority/AuthorityType.d.ts.map +0 -1
  180. package/dist/authority/AzureRegion.d.ts +0 -2
  181. package/dist/authority/AzureRegion.d.ts.map +0 -1
  182. package/dist/authority/AzureRegionConfiguration.d.ts +0 -6
  183. package/dist/authority/AzureRegionConfiguration.d.ts.map +0 -1
  184. package/dist/authority/CloudDiscoveryMetadata.d.ts +0 -6
  185. package/dist/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
  186. package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -14
  187. package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -1
  188. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
  189. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
  190. package/dist/authority/ImdsOptions.d.ts +0 -6
  191. package/dist/authority/ImdsOptions.d.ts.map +0 -1
  192. package/dist/authority/OIDCOptions.d.ts +0 -9
  193. package/dist/authority/OIDCOptions.d.ts.map +0 -1
  194. package/dist/authority/OpenIdConfigResponse.d.ts +0 -12
  195. package/dist/authority/OpenIdConfigResponse.d.ts.map +0 -1
  196. package/dist/authority/ProtocolMode.d.ts +0 -20
  197. package/dist/authority/ProtocolMode.d.ts.map +0 -1
  198. package/dist/authority/RegionDiscovery.d.ts +0 -33
  199. package/dist/authority/RegionDiscovery.d.ts.map +0 -1
  200. package/dist/authority/RegionDiscoveryMetadata.d.ts +0 -7
  201. package/dist/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
  202. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -17
  203. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -1
  204. package/dist/cache/CacheManager.d.ts.map +0 -1
  205. package/dist/cache/entities/AccessTokenEntity.d.ts +0 -24
  206. package/dist/cache/entities/AccessTokenEntity.d.ts.map +0 -1
  207. package/dist/cache/entities/AccountEntity.d.ts +0 -47
  208. package/dist/cache/entities/AccountEntity.d.ts.map +0 -1
  209. package/dist/cache/entities/AppMetadataEntity.d.ts +0 -12
  210. package/dist/cache/entities/AppMetadataEntity.d.ts.map +0 -1
  211. package/dist/cache/entities/AuthorityMetadataEntity.d.ts +0 -16
  212. package/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
  213. package/dist/cache/entities/CacheRecord.d.ts +0 -14
  214. package/dist/cache/entities/CacheRecord.d.ts.map +0 -1
  215. package/dist/cache/entities/CredentialEntity.d.ts +0 -31
  216. package/dist/cache/entities/CredentialEntity.d.ts.map +0 -1
  217. package/dist/cache/entities/IdTokenEntity.d.ts +0 -9
  218. package/dist/cache/entities/IdTokenEntity.d.ts.map +0 -1
  219. package/dist/cache/entities/RefreshTokenEntity.d.ts +0 -8
  220. package/dist/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
  221. package/dist/cache/entities/ServerTelemetryEntity.d.ts +0 -7
  222. package/dist/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
  223. package/dist/cache/entities/ThrottlingEntity.d.ts +0 -8
  224. package/dist/cache/entities/ThrottlingEntity.d.ts.map +0 -1
  225. package/dist/cache/interface/ICacheManager.d.ts +0 -188
  226. package/dist/cache/interface/ICacheManager.d.ts.map +0 -1
  227. package/dist/cache/interface/ICachePlugin.d.ts +0 -6
  228. package/dist/cache/interface/ICachePlugin.d.ts.map +0 -1
  229. package/dist/cache/interface/ISerializableTokenCache.d.ts +0 -5
  230. package/dist/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
  231. package/dist/cache/persistence/TokenCacheContext.d.ts +0 -24
  232. package/dist/cache/persistence/TokenCacheContext.d.ts.map +0 -1
  233. package/dist/cache/utils/AccountEntityUtils.d.ts +0 -53
  234. package/dist/cache/utils/AccountEntityUtils.d.ts.map +0 -1
  235. package/dist/cache/utils/CacheHelpers.d.ts +0 -86
  236. package/dist/cache/utils/CacheHelpers.d.ts.map +0 -1
  237. package/dist/cache/utils/CacheTypes.d.ts +0 -69
  238. package/dist/cache/utils/CacheTypes.d.ts.map +0 -1
  239. package/dist/client/AuthorizationCodeClient.d.ts +0 -64
  240. package/dist/client/AuthorizationCodeClient.d.ts.map +0 -1
  241. package/dist/client/RefreshTokenClient.d.ts +0 -49
  242. package/dist/client/RefreshTokenClient.d.ts.map +0 -1
  243. package/dist/client/SilentFlowClient.d.ts +0 -35
  244. package/dist/client/SilentFlowClient.d.ts.map +0 -1
  245. package/dist/config/AppTokenProvider.d.ts +0 -39
  246. package/dist/config/AppTokenProvider.d.ts.map +0 -1
  247. package/dist/config/ClientConfiguration.d.ts +0 -145
  248. package/dist/config/ClientConfiguration.d.ts.map +0 -1
  249. package/dist/constants/AADServerParamKeys.d.ts +0 -61
  250. package/dist/constants/AADServerParamKeys.d.ts.map +0 -1
  251. package/dist/crypto/ICrypto.d.ts +0 -71
  252. package/dist/crypto/ICrypto.d.ts.map +0 -1
  253. package/dist/crypto/IGuidGenerator.d.ts +0 -5
  254. package/dist/crypto/IGuidGenerator.d.ts.map +0 -1
  255. package/dist/crypto/JoseHeader.d.ts +0 -23
  256. package/dist/crypto/JoseHeader.d.ts.map +0 -1
  257. package/dist/crypto/PopTokenGenerator.d.ts +0 -60
  258. package/dist/crypto/PopTokenGenerator.d.ts.map +0 -1
  259. package/dist/crypto/SignedHttpRequest.d.ts +0 -16
  260. package/dist/crypto/SignedHttpRequest.d.ts.map +0 -1
  261. package/dist/error/AuthError.d.ts +0 -33
  262. package/dist/error/AuthError.d.ts.map +0 -1
  263. package/dist/error/AuthErrorCodes.d.ts +0 -6
  264. package/dist/error/AuthErrorCodes.d.ts.map +0 -1
  265. package/dist/error/CacheError.d.ts +0 -23
  266. package/dist/error/CacheError.d.ts.map +0 -1
  267. package/dist/error/CacheErrorCodes.d.ts +0 -3
  268. package/dist/error/CacheErrorCodes.d.ts.map +0 -1
  269. package/dist/error/ClientAuthError.d.ts +0 -14
  270. package/dist/error/ClientAuthError.d.ts.map +0 -1
  271. package/dist/error/ClientAuthErrorCodes.d.ts +0 -40
  272. package/dist/error/ClientAuthErrorCodes.d.ts.map +0 -1
  273. package/dist/error/ClientConfigurationError.d.ts +0 -11
  274. package/dist/error/ClientConfigurationError.d.ts.map +0 -1
  275. package/dist/error/ClientConfigurationErrorCodes.d.ts +0 -23
  276. package/dist/error/ClientConfigurationErrorCodes.d.ts.map +0 -1
  277. package/dist/error/InteractionRequiredAuthError.d.ts +0 -48
  278. package/dist/error/InteractionRequiredAuthError.d.ts.map +0 -1
  279. package/dist/error/InteractionRequiredAuthErrorCodes.d.ts +0 -46
  280. package/dist/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -1
  281. package/dist/error/JoseHeaderError.d.ts +0 -12
  282. package/dist/error/JoseHeaderError.d.ts.map +0 -1
  283. package/dist/error/JoseHeaderErrorCodes.d.ts +0 -3
  284. package/dist/error/JoseHeaderErrorCodes.d.ts.map +0 -1
  285. package/dist/error/NetworkError.d.ts +0 -19
  286. package/dist/error/NetworkError.d.ts.map +0 -1
  287. package/dist/error/PlatformBrokerError.d.ts +0 -16
  288. package/dist/error/PlatformBrokerError.d.ts.map +0 -1
  289. package/dist/error/ServerError.d.ts +0 -16
  290. package/dist/error/ServerError.d.ts.map +0 -1
  291. package/dist/exports-browser-only.d.ts +0 -11
  292. package/dist/exports-browser-only.d.ts.map +0 -1
  293. package/dist/exports-common.d.ts +0 -86
  294. package/dist/exports-common.d.ts.map +0 -1
  295. package/dist/exports-node-only.d.ts +0 -16
  296. package/dist/exports-node-only.d.ts.map +0 -1
  297. package/dist/index-browser.d.ts +0 -7
  298. package/dist/index-browser.d.ts.map +0 -1
  299. package/dist/index-node.d.ts +0 -7
  300. package/dist/index-node.d.ts.map +0 -1
  301. package/dist/index.d.ts +0 -12
  302. package/dist/index.d.ts.map +0 -1
  303. package/dist/logger/Logger.d.ts +0 -119
  304. package/dist/logger/Logger.d.ts.map +0 -1
  305. package/dist/network/INetworkModule.d.ts +0 -29
  306. package/dist/network/INetworkModule.d.ts.map +0 -1
  307. package/dist/network/NetworkResponse.d.ts +0 -6
  308. package/dist/network/NetworkResponse.d.ts.map +0 -1
  309. package/dist/network/RequestThumbprint.d.ts +0 -22
  310. package/dist/network/RequestThumbprint.d.ts.map +0 -1
  311. package/dist/network/ThrottlingUtils.d.ts +0 -43
  312. package/dist/network/ThrottlingUtils.d.ts.map +0 -1
  313. package/dist/packageMetadata.d.ts +0 -3
  314. package/dist/packageMetadata.d.ts.map +0 -1
  315. package/dist/protocol/Authorize.d.ts +0 -37
  316. package/dist/protocol/Authorize.d.ts.map +0 -1
  317. package/dist/protocol/Token.d.ts +0 -40
  318. package/dist/protocol/Token.d.ts.map +0 -1
  319. package/dist/request/AuthenticationHeaderParser.d.ts +0 -20
  320. package/dist/request/AuthenticationHeaderParser.d.ts.map +0 -1
  321. package/dist/request/BaseAuthRequest.d.ts +0 -111
  322. package/dist/request/BaseAuthRequest.d.ts.map +0 -1
  323. package/dist/request/CommonAuthorizationCodeRequest.d.ts +0 -32
  324. package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
  325. package/dist/request/CommonAuthorizationUrlRequest.d.ts +0 -71
  326. package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
  327. package/dist/request/CommonEndSessionRequest.d.ts +0 -36
  328. package/dist/request/CommonEndSessionRequest.d.ts.map +0 -1
  329. package/dist/request/CommonRefreshTokenRequest.d.ts +0 -24
  330. package/dist/request/CommonRefreshTokenRequest.d.ts.map +0 -1
  331. package/dist/request/CommonSilentFlowRequest.d.ts +0 -24
  332. package/dist/request/CommonSilentFlowRequest.d.ts.map +0 -1
  333. package/dist/request/NativeRequest.d.ts +0 -21
  334. package/dist/request/NativeRequest.d.ts.map +0 -1
  335. package/dist/request/NativeSignOutRequest.d.ts +0 -6
  336. package/dist/request/NativeSignOutRequest.d.ts.map +0 -1
  337. package/dist/request/RequestParameterBuilder.d.ts +0 -226
  338. package/dist/request/RequestParameterBuilder.d.ts.map +0 -1
  339. package/dist/request/ScopeSet.d.ts +0 -83
  340. package/dist/request/ScopeSet.d.ts.map +0 -1
  341. package/dist/request/StoreInCache.d.ts +0 -9
  342. package/dist/request/StoreInCache.d.ts.map +0 -1
  343. package/dist/response/AuthenticationResult.d.ts +0 -43
  344. package/dist/response/AuthenticationResult.d.ts.map +0 -1
  345. package/dist/response/AuthorizationCodePayload.d.ts +0 -14
  346. package/dist/response/AuthorizationCodePayload.d.ts.map +0 -1
  347. package/dist/response/AuthorizeResponse.d.ts +0 -83
  348. package/dist/response/AuthorizeResponse.d.ts.map +0 -1
  349. package/dist/response/DeviceCodeResponse.d.ts +0 -26
  350. package/dist/response/DeviceCodeResponse.d.ts.map +0 -1
  351. package/dist/response/ExternalTokenResponse.d.ts +0 -16
  352. package/dist/response/ExternalTokenResponse.d.ts.map +0 -1
  353. package/dist/response/IMDSBadResponse.d.ts +0 -5
  354. package/dist/response/IMDSBadResponse.d.ts.map +0 -1
  355. package/dist/response/ResponseHandler.d.ts +0 -63
  356. package/dist/response/ResponseHandler.d.ts.map +0 -1
  357. package/dist/response/ServerAuthorizationTokenResponse.d.ts +0 -48
  358. package/dist/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
  359. package/dist/telemetry/performance/IPerformanceClient.d.ts +0 -30
  360. package/dist/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
  361. package/dist/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
  362. package/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
  363. package/dist/telemetry/performance/PerformanceClient.d.ts +0 -170
  364. package/dist/telemetry/performance/PerformanceClient.d.ts.map +0 -1
  365. package/dist/telemetry/performance/PerformanceEvent.d.ts +0 -425
  366. package/dist/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
  367. package/dist/telemetry/performance/PerformanceEvents.d.ts +0 -66
  368. package/dist/telemetry/performance/PerformanceEvents.d.ts.map +0 -1
  369. package/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -21
  370. package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
  371. package/dist/telemetry/server/ServerTelemetryManager.d.ts +0 -79
  372. package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
  373. package/dist/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
  374. package/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
  375. package/dist/url/IUri.d.ts +0 -13
  376. package/dist/url/IUri.d.ts.map +0 -1
  377. package/dist/url/UrlString.d.ts +0 -44
  378. package/dist/url/UrlString.d.ts.map +0 -1
  379. package/dist/utils/ClientAssertionUtils.d.ts +0 -3
  380. package/dist/utils/ClientAssertionUtils.d.ts.map +0 -1
  381. package/dist/utils/Constants.d.ts +0 -283
  382. package/dist/utils/Constants.d.ts.map +0 -1
  383. package/dist/utils/FunctionWrappers.d.ts +0 -28
  384. package/dist/utils/FunctionWrappers.d.ts.map +0 -1
  385. package/dist/utils/MsalTypes.d.ts +0 -7
  386. package/dist/utils/MsalTypes.d.ts.map +0 -1
  387. package/dist/utils/ProtocolUtils.d.ts +0 -22
  388. package/dist/utils/ProtocolUtils.d.ts.map +0 -1
  389. package/dist/utils/StateTypes.d.ts +0 -15
  390. package/dist/utils/StateTypes.d.ts.map +0 -1
  391. package/dist/utils/StringUtils.d.ts +0 -35
  392. package/dist/utils/StringUtils.d.ts.map +0 -1
  393. package/dist/utils/TimeUtils.d.ts +0 -43
  394. package/dist/utils/TimeUtils.d.ts.map +0 -1
  395. package/dist/utils/UrlUtils.d.ts +0 -23
  396. package/dist/utils/UrlUtils.d.ts.map +0 -1
  397. package/dist-browser/cache/CacheManager.d.ts +0 -485
  398. package/dist-browser/packageMetadata.d.ts +0 -3
  399. package/lib/types/account/AccountInfo.d.ts +0 -73
  400. package/lib/types/account/AccountInfo.d.ts.map +0 -1
  401. package/lib/types/account/AuthToken.d.ts +0 -24
  402. package/lib/types/account/AuthToken.d.ts.map +0 -1
  403. package/lib/types/account/CcsCredential.d.ts +0 -10
  404. package/lib/types/account/CcsCredential.d.ts.map +0 -1
  405. package/lib/types/account/ClientCredentials.d.ts +0 -20
  406. package/lib/types/account/ClientCredentials.d.ts.map +0 -1
  407. package/lib/types/account/ClientInfo.d.ts +0 -23
  408. package/lib/types/account/ClientInfo.d.ts.map +0 -1
  409. package/lib/types/account/TokenClaims.d.ts +0 -88
  410. package/lib/types/account/TokenClaims.d.ts.map +0 -1
  411. package/lib/types/authority/Authority.d.ts +0 -255
  412. package/lib/types/authority/Authority.d.ts.map +0 -1
  413. package/lib/types/authority/AuthorityFactory.d.ts +0 -23
  414. package/lib/types/authority/AuthorityFactory.d.ts.map +0 -1
  415. package/lib/types/authority/AuthorityMetadata.d.ts +0 -44
  416. package/lib/types/authority/AuthorityMetadata.d.ts.map +0 -1
  417. package/lib/types/authority/AuthorityOptions.d.ts +0 -27
  418. package/lib/types/authority/AuthorityOptions.d.ts.map +0 -1
  419. package/lib/types/authority/AuthorityType.d.ts +0 -11
  420. package/lib/types/authority/AuthorityType.d.ts.map +0 -1
  421. package/lib/types/authority/AzureRegion.d.ts +0 -2
  422. package/lib/types/authority/AzureRegion.d.ts.map +0 -1
  423. package/lib/types/authority/AzureRegionConfiguration.d.ts +0 -6
  424. package/lib/types/authority/AzureRegionConfiguration.d.ts.map +0 -1
  425. package/lib/types/authority/CloudDiscoveryMetadata.d.ts +0 -6
  426. package/lib/types/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
  427. package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -14
  428. package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -1
  429. package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
  430. package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
  431. package/lib/types/authority/ImdsOptions.d.ts +0 -6
  432. package/lib/types/authority/ImdsOptions.d.ts.map +0 -1
  433. package/lib/types/authority/OIDCOptions.d.ts +0 -9
  434. package/lib/types/authority/OIDCOptions.d.ts.map +0 -1
  435. package/lib/types/authority/OpenIdConfigResponse.d.ts +0 -12
  436. package/lib/types/authority/OpenIdConfigResponse.d.ts.map +0 -1
  437. package/lib/types/authority/ProtocolMode.d.ts +0 -20
  438. package/lib/types/authority/ProtocolMode.d.ts.map +0 -1
  439. package/lib/types/authority/RegionDiscovery.d.ts +0 -33
  440. package/lib/types/authority/RegionDiscovery.d.ts.map +0 -1
  441. package/lib/types/authority/RegionDiscoveryMetadata.d.ts +0 -7
  442. package/lib/types/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
  443. package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -17
  444. package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -1
  445. package/lib/types/cache/CacheManager.d.ts +0 -485
  446. package/lib/types/cache/CacheManager.d.ts.map +0 -1
  447. package/lib/types/cache/entities/AccessTokenEntity.d.ts +0 -24
  448. package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +0 -1
  449. package/lib/types/cache/entities/AccountEntity.d.ts +0 -47
  450. package/lib/types/cache/entities/AccountEntity.d.ts.map +0 -1
  451. package/lib/types/cache/entities/AppMetadataEntity.d.ts +0 -12
  452. package/lib/types/cache/entities/AppMetadataEntity.d.ts.map +0 -1
  453. package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts +0 -16
  454. package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
  455. package/lib/types/cache/entities/CacheRecord.d.ts +0 -14
  456. package/lib/types/cache/entities/CacheRecord.d.ts.map +0 -1
  457. package/lib/types/cache/entities/CredentialEntity.d.ts +0 -31
  458. package/lib/types/cache/entities/CredentialEntity.d.ts.map +0 -1
  459. package/lib/types/cache/entities/IdTokenEntity.d.ts +0 -9
  460. package/lib/types/cache/entities/IdTokenEntity.d.ts.map +0 -1
  461. package/lib/types/cache/entities/RefreshTokenEntity.d.ts +0 -8
  462. package/lib/types/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
  463. package/lib/types/cache/entities/ServerTelemetryEntity.d.ts +0 -7
  464. package/lib/types/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
  465. package/lib/types/cache/entities/ThrottlingEntity.d.ts +0 -8
  466. package/lib/types/cache/entities/ThrottlingEntity.d.ts.map +0 -1
  467. package/lib/types/cache/interface/ICacheManager.d.ts +0 -188
  468. package/lib/types/cache/interface/ICacheManager.d.ts.map +0 -1
  469. package/lib/types/cache/interface/ICachePlugin.d.ts +0 -6
  470. package/lib/types/cache/interface/ICachePlugin.d.ts.map +0 -1
  471. package/lib/types/cache/interface/ISerializableTokenCache.d.ts +0 -5
  472. package/lib/types/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
  473. package/lib/types/cache/persistence/TokenCacheContext.d.ts +0 -24
  474. package/lib/types/cache/persistence/TokenCacheContext.d.ts.map +0 -1
  475. package/lib/types/cache/utils/AccountEntityUtils.d.ts +0 -53
  476. package/lib/types/cache/utils/AccountEntityUtils.d.ts.map +0 -1
  477. package/lib/types/cache/utils/CacheHelpers.d.ts +0 -86
  478. package/lib/types/cache/utils/CacheHelpers.d.ts.map +0 -1
  479. package/lib/types/cache/utils/CacheTypes.d.ts +0 -69
  480. package/lib/types/cache/utils/CacheTypes.d.ts.map +0 -1
  481. package/lib/types/client/AuthorizationCodeClient.d.ts +0 -64
  482. package/lib/types/client/AuthorizationCodeClient.d.ts.map +0 -1
  483. package/lib/types/client/RefreshTokenClient.d.ts +0 -49
  484. package/lib/types/client/RefreshTokenClient.d.ts.map +0 -1
  485. package/lib/types/client/SilentFlowClient.d.ts +0 -35
  486. package/lib/types/client/SilentFlowClient.d.ts.map +0 -1
  487. package/lib/types/config/AppTokenProvider.d.ts +0 -39
  488. package/lib/types/config/AppTokenProvider.d.ts.map +0 -1
  489. package/lib/types/config/ClientConfiguration.d.ts +0 -145
  490. package/lib/types/config/ClientConfiguration.d.ts.map +0 -1
  491. package/lib/types/constants/AADServerParamKeys.d.ts +0 -61
  492. package/lib/types/constants/AADServerParamKeys.d.ts.map +0 -1
  493. package/lib/types/crypto/ICrypto.d.ts +0 -71
  494. package/lib/types/crypto/ICrypto.d.ts.map +0 -1
  495. package/lib/types/crypto/IGuidGenerator.d.ts +0 -5
  496. package/lib/types/crypto/IGuidGenerator.d.ts.map +0 -1
  497. package/lib/types/crypto/JoseHeader.d.ts +0 -23
  498. package/lib/types/crypto/JoseHeader.d.ts.map +0 -1
  499. package/lib/types/crypto/PopTokenGenerator.d.ts +0 -60
  500. package/lib/types/crypto/PopTokenGenerator.d.ts.map +0 -1
  501. package/lib/types/crypto/SignedHttpRequest.d.ts +0 -16
  502. package/lib/types/crypto/SignedHttpRequest.d.ts.map +0 -1
  503. package/lib/types/error/AuthError.d.ts +0 -33
  504. package/lib/types/error/AuthError.d.ts.map +0 -1
  505. package/lib/types/error/AuthErrorCodes.d.ts +0 -6
  506. package/lib/types/error/AuthErrorCodes.d.ts.map +0 -1
  507. package/lib/types/error/CacheError.d.ts +0 -23
  508. package/lib/types/error/CacheError.d.ts.map +0 -1
  509. package/lib/types/error/CacheErrorCodes.d.ts +0 -3
  510. package/lib/types/error/CacheErrorCodes.d.ts.map +0 -1
  511. package/lib/types/error/ClientAuthError.d.ts +0 -14
  512. package/lib/types/error/ClientAuthError.d.ts.map +0 -1
  513. package/lib/types/error/ClientAuthErrorCodes.d.ts +0 -40
  514. package/lib/types/error/ClientAuthErrorCodes.d.ts.map +0 -1
  515. package/lib/types/error/ClientConfigurationError.d.ts +0 -11
  516. package/lib/types/error/ClientConfigurationError.d.ts.map +0 -1
  517. package/lib/types/error/ClientConfigurationErrorCodes.d.ts +0 -23
  518. package/lib/types/error/ClientConfigurationErrorCodes.d.ts.map +0 -1
  519. package/lib/types/error/InteractionRequiredAuthError.d.ts +0 -48
  520. package/lib/types/error/InteractionRequiredAuthError.d.ts.map +0 -1
  521. package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts +0 -46
  522. package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -1
  523. package/lib/types/error/JoseHeaderError.d.ts +0 -12
  524. package/lib/types/error/JoseHeaderError.d.ts.map +0 -1
  525. package/lib/types/error/JoseHeaderErrorCodes.d.ts +0 -3
  526. package/lib/types/error/JoseHeaderErrorCodes.d.ts.map +0 -1
  527. package/lib/types/error/NetworkError.d.ts +0 -19
  528. package/lib/types/error/NetworkError.d.ts.map +0 -1
  529. package/lib/types/error/PlatformBrokerError.d.ts +0 -16
  530. package/lib/types/error/PlatformBrokerError.d.ts.map +0 -1
  531. package/lib/types/error/ServerError.d.ts +0 -16
  532. package/lib/types/error/ServerError.d.ts.map +0 -1
  533. package/lib/types/exports-browser-only.d.ts +0 -11
  534. package/lib/types/exports-browser-only.d.ts.map +0 -1
  535. package/lib/types/exports-common.d.ts +0 -86
  536. package/lib/types/exports-common.d.ts.map +0 -1
  537. package/lib/types/exports-node-only.d.ts +0 -16
  538. package/lib/types/exports-node-only.d.ts.map +0 -1
  539. package/lib/types/index-browser.d.ts +0 -7
  540. package/lib/types/index-browser.d.ts.map +0 -1
  541. package/lib/types/index-node.d.ts +0 -7
  542. package/lib/types/index-node.d.ts.map +0 -1
  543. package/lib/types/index.d.ts +0 -12
  544. package/lib/types/index.d.ts.map +0 -1
  545. package/lib/types/logger/Logger.d.ts +0 -119
  546. package/lib/types/logger/Logger.d.ts.map +0 -1
  547. package/lib/types/network/INetworkModule.d.ts +0 -29
  548. package/lib/types/network/INetworkModule.d.ts.map +0 -1
  549. package/lib/types/network/NetworkResponse.d.ts +0 -6
  550. package/lib/types/network/NetworkResponse.d.ts.map +0 -1
  551. package/lib/types/network/RequestThumbprint.d.ts +0 -22
  552. package/lib/types/network/RequestThumbprint.d.ts.map +0 -1
  553. package/lib/types/network/ThrottlingUtils.d.ts +0 -43
  554. package/lib/types/network/ThrottlingUtils.d.ts.map +0 -1
  555. package/lib/types/packageMetadata.d.ts +0 -3
  556. package/lib/types/packageMetadata.d.ts.map +0 -1
  557. package/lib/types/protocol/Authorize.d.ts +0 -37
  558. package/lib/types/protocol/Authorize.d.ts.map +0 -1
  559. package/lib/types/protocol/Token.d.ts +0 -40
  560. package/lib/types/protocol/Token.d.ts.map +0 -1
  561. package/lib/types/request/AuthenticationHeaderParser.d.ts +0 -20
  562. package/lib/types/request/AuthenticationHeaderParser.d.ts.map +0 -1
  563. package/lib/types/request/BaseAuthRequest.d.ts +0 -111
  564. package/lib/types/request/BaseAuthRequest.d.ts.map +0 -1
  565. package/lib/types/request/CommonAuthorizationCodeRequest.d.ts +0 -32
  566. package/lib/types/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
  567. package/lib/types/request/CommonAuthorizationUrlRequest.d.ts +0 -71
  568. package/lib/types/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
  569. package/lib/types/request/CommonEndSessionRequest.d.ts +0 -36
  570. package/lib/types/request/CommonEndSessionRequest.d.ts.map +0 -1
  571. package/lib/types/request/CommonRefreshTokenRequest.d.ts +0 -24
  572. package/lib/types/request/CommonRefreshTokenRequest.d.ts.map +0 -1
  573. package/lib/types/request/CommonSilentFlowRequest.d.ts +0 -24
  574. package/lib/types/request/CommonSilentFlowRequest.d.ts.map +0 -1
  575. package/lib/types/request/NativeRequest.d.ts +0 -21
  576. package/lib/types/request/NativeRequest.d.ts.map +0 -1
  577. package/lib/types/request/NativeSignOutRequest.d.ts +0 -6
  578. package/lib/types/request/NativeSignOutRequest.d.ts.map +0 -1
  579. package/lib/types/request/RequestParameterBuilder.d.ts +0 -226
  580. package/lib/types/request/RequestParameterBuilder.d.ts.map +0 -1
  581. package/lib/types/request/ScopeSet.d.ts +0 -83
  582. package/lib/types/request/ScopeSet.d.ts.map +0 -1
  583. package/lib/types/request/StoreInCache.d.ts +0 -9
  584. package/lib/types/request/StoreInCache.d.ts.map +0 -1
  585. package/lib/types/response/AuthenticationResult.d.ts +0 -43
  586. package/lib/types/response/AuthenticationResult.d.ts.map +0 -1
  587. package/lib/types/response/AuthorizationCodePayload.d.ts +0 -14
  588. package/lib/types/response/AuthorizationCodePayload.d.ts.map +0 -1
  589. package/lib/types/response/AuthorizeResponse.d.ts +0 -83
  590. package/lib/types/response/AuthorizeResponse.d.ts.map +0 -1
  591. package/lib/types/response/DeviceCodeResponse.d.ts +0 -26
  592. package/lib/types/response/DeviceCodeResponse.d.ts.map +0 -1
  593. package/lib/types/response/ExternalTokenResponse.d.ts +0 -16
  594. package/lib/types/response/ExternalTokenResponse.d.ts.map +0 -1
  595. package/lib/types/response/IMDSBadResponse.d.ts +0 -5
  596. package/lib/types/response/IMDSBadResponse.d.ts.map +0 -1
  597. package/lib/types/response/ResponseHandler.d.ts +0 -63
  598. package/lib/types/response/ResponseHandler.d.ts.map +0 -1
  599. package/lib/types/response/ServerAuthorizationTokenResponse.d.ts +0 -48
  600. package/lib/types/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
  601. package/lib/types/telemetry/performance/IPerformanceClient.d.ts +0 -30
  602. package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
  603. package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
  604. package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
  605. package/lib/types/telemetry/performance/PerformanceClient.d.ts +0 -170
  606. package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +0 -1
  607. package/lib/types/telemetry/performance/PerformanceEvent.d.ts +0 -425
  608. package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
  609. package/lib/types/telemetry/performance/PerformanceEvents.d.ts +0 -66
  610. package/lib/types/telemetry/performance/PerformanceEvents.d.ts.map +0 -1
  611. package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +0 -21
  612. package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
  613. package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +0 -79
  614. package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
  615. package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
  616. package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
  617. package/lib/types/url/IUri.d.ts +0 -13
  618. package/lib/types/url/IUri.d.ts.map +0 -1
  619. package/lib/types/url/UrlString.d.ts +0 -44
  620. package/lib/types/url/UrlString.d.ts.map +0 -1
  621. package/lib/types/utils/ClientAssertionUtils.d.ts +0 -3
  622. package/lib/types/utils/ClientAssertionUtils.d.ts.map +0 -1
  623. package/lib/types/utils/Constants.d.ts +0 -283
  624. package/lib/types/utils/Constants.d.ts.map +0 -1
  625. package/lib/types/utils/FunctionWrappers.d.ts +0 -28
  626. package/lib/types/utils/FunctionWrappers.d.ts.map +0 -1
  627. package/lib/types/utils/MsalTypes.d.ts +0 -7
  628. package/lib/types/utils/MsalTypes.d.ts.map +0 -1
  629. package/lib/types/utils/ProtocolUtils.d.ts +0 -22
  630. package/lib/types/utils/ProtocolUtils.d.ts.map +0 -1
  631. package/lib/types/utils/StateTypes.d.ts +0 -15
  632. package/lib/types/utils/StateTypes.d.ts.map +0 -1
  633. package/lib/types/utils/StringUtils.d.ts +0 -35
  634. package/lib/types/utils/StringUtils.d.ts.map +0 -1
  635. package/lib/types/utils/TimeUtils.d.ts +0 -43
  636. package/lib/types/utils/TimeUtils.d.ts.map +0 -1
  637. package/lib/types/utils/UrlUtils.d.ts +0 -23
  638. package/lib/types/utils/UrlUtils.d.ts.map +0 -1
  639. /package/{dist-browser → types}/account/AccountInfo.d.ts +0 -0
  640. /package/{dist-browser → types}/account/AccountInfo.d.ts.map +0 -0
  641. /package/{dist-browser → types}/account/AuthToken.d.ts +0 -0
  642. /package/{dist-browser → types}/account/AuthToken.d.ts.map +0 -0
  643. /package/{dist-browser → types}/account/CcsCredential.d.ts +0 -0
  644. /package/{dist-browser → types}/account/CcsCredential.d.ts.map +0 -0
  645. /package/{dist-browser → types}/account/ClientCredentials.d.ts +0 -0
  646. /package/{dist-browser → types}/account/ClientCredentials.d.ts.map +0 -0
  647. /package/{dist-browser → types}/account/ClientInfo.d.ts +0 -0
  648. /package/{dist-browser → types}/account/ClientInfo.d.ts.map +0 -0
  649. /package/{dist-browser → types}/account/TokenClaims.d.ts +0 -0
  650. /package/{dist-browser → types}/account/TokenClaims.d.ts.map +0 -0
  651. /package/{dist-browser → types}/authority/Authority.d.ts +0 -0
  652. /package/{dist-browser → types}/authority/Authority.d.ts.map +0 -0
  653. /package/{dist-browser → types}/authority/AuthorityFactory.d.ts +0 -0
  654. /package/{dist-browser → types}/authority/AuthorityFactory.d.ts.map +0 -0
  655. /package/{dist-browser → types}/authority/AuthorityMetadata.d.ts +0 -0
  656. /package/{dist-browser → types}/authority/AuthorityMetadata.d.ts.map +0 -0
  657. /package/{dist-browser → types}/authority/AuthorityOptions.d.ts +0 -0
  658. /package/{dist-browser → types}/authority/AuthorityOptions.d.ts.map +0 -0
  659. /package/{dist-browser → types}/authority/AuthorityType.d.ts +0 -0
  660. /package/{dist-browser → types}/authority/AuthorityType.d.ts.map +0 -0
  661. /package/{dist-browser → types}/authority/AzureRegion.d.ts +0 -0
  662. /package/{dist-browser → types}/authority/AzureRegion.d.ts.map +0 -0
  663. /package/{dist-browser → types}/authority/AzureRegionConfiguration.d.ts +0 -0
  664. /package/{dist-browser → types}/authority/AzureRegionConfiguration.d.ts.map +0 -0
  665. /package/{dist-browser → types}/authority/CloudDiscoveryMetadata.d.ts +0 -0
  666. /package/{dist-browser → types}/authority/CloudDiscoveryMetadata.d.ts.map +0 -0
  667. /package/{dist-browser → types}/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -0
  668. /package/{dist-browser → types}/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -0
  669. /package/{dist-browser → types}/authority/CloudInstanceDiscoveryResponse.d.ts +0 -0
  670. /package/{dist-browser → types}/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -0
  671. /package/{dist-browser → types}/authority/ImdsOptions.d.ts +0 -0
  672. /package/{dist-browser → types}/authority/ImdsOptions.d.ts.map +0 -0
  673. /package/{dist-browser → types}/authority/OIDCOptions.d.ts +0 -0
  674. /package/{dist-browser → types}/authority/OIDCOptions.d.ts.map +0 -0
  675. /package/{dist-browser → types}/authority/OpenIdConfigResponse.d.ts +0 -0
  676. /package/{dist-browser → types}/authority/OpenIdConfigResponse.d.ts.map +0 -0
  677. /package/{dist-browser → types}/authority/ProtocolMode.d.ts +0 -0
  678. /package/{dist-browser → types}/authority/ProtocolMode.d.ts.map +0 -0
  679. /package/{dist-browser → types}/authority/RegionDiscovery.d.ts +0 -0
  680. /package/{dist-browser → types}/authority/RegionDiscovery.d.ts.map +0 -0
  681. /package/{dist-browser → types}/authority/RegionDiscoveryMetadata.d.ts +0 -0
  682. /package/{dist-browser → types}/authority/RegionDiscoveryMetadata.d.ts.map +0 -0
  683. /package/{dist-browser → types}/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -0
  684. /package/{dist-browser → types}/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -0
  685. /package/{dist-browser → types}/cache/entities/AccessTokenEntity.d.ts +0 -0
  686. /package/{dist-browser → types}/cache/entities/AccessTokenEntity.d.ts.map +0 -0
  687. /package/{dist-browser → types}/cache/entities/AccountEntity.d.ts +0 -0
  688. /package/{dist-browser → types}/cache/entities/AccountEntity.d.ts.map +0 -0
  689. /package/{dist-browser → types}/cache/entities/AppMetadataEntity.d.ts +0 -0
  690. /package/{dist-browser → types}/cache/entities/AppMetadataEntity.d.ts.map +0 -0
  691. /package/{dist-browser → types}/cache/entities/AuthorityMetadataEntity.d.ts +0 -0
  692. /package/{dist-browser → types}/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -0
  693. /package/{dist-browser → types}/cache/entities/CacheRecord.d.ts +0 -0
  694. /package/{dist-browser → types}/cache/entities/CacheRecord.d.ts.map +0 -0
  695. /package/{dist-browser → types}/cache/entities/CredentialEntity.d.ts +0 -0
  696. /package/{dist-browser → types}/cache/entities/CredentialEntity.d.ts.map +0 -0
  697. /package/{dist-browser → types}/cache/entities/IdTokenEntity.d.ts +0 -0
  698. /package/{dist-browser → types}/cache/entities/IdTokenEntity.d.ts.map +0 -0
  699. /package/{dist-browser → types}/cache/entities/RefreshTokenEntity.d.ts +0 -0
  700. /package/{dist-browser → types}/cache/entities/RefreshTokenEntity.d.ts.map +0 -0
  701. /package/{dist-browser → types}/cache/entities/ServerTelemetryEntity.d.ts +0 -0
  702. /package/{dist-browser → types}/cache/entities/ServerTelemetryEntity.d.ts.map +0 -0
  703. /package/{dist-browser → types}/cache/entities/ThrottlingEntity.d.ts +0 -0
  704. /package/{dist-browser → types}/cache/entities/ThrottlingEntity.d.ts.map +0 -0
  705. /package/{dist-browser → types}/cache/interface/ICacheManager.d.ts +0 -0
  706. /package/{dist-browser → types}/cache/interface/ICacheManager.d.ts.map +0 -0
  707. /package/{dist-browser → types}/cache/interface/ICachePlugin.d.ts +0 -0
  708. /package/{dist-browser → types}/cache/interface/ICachePlugin.d.ts.map +0 -0
  709. /package/{dist-browser → types}/cache/interface/ISerializableTokenCache.d.ts +0 -0
  710. /package/{dist-browser → types}/cache/interface/ISerializableTokenCache.d.ts.map +0 -0
  711. /package/{dist-browser → types}/cache/persistence/TokenCacheContext.d.ts +0 -0
  712. /package/{dist-browser → types}/cache/persistence/TokenCacheContext.d.ts.map +0 -0
  713. /package/{dist-browser → types}/cache/utils/AccountEntityUtils.d.ts +0 -0
  714. /package/{dist-browser → types}/cache/utils/AccountEntityUtils.d.ts.map +0 -0
  715. /package/{dist-browser → types}/cache/utils/CacheHelpers.d.ts +0 -0
  716. /package/{dist-browser → types}/cache/utils/CacheHelpers.d.ts.map +0 -0
  717. /package/{dist-browser → types}/cache/utils/CacheTypes.d.ts +0 -0
  718. /package/{dist-browser → types}/cache/utils/CacheTypes.d.ts.map +0 -0
  719. /package/{dist-browser → types}/client/AuthorizationCodeClient.d.ts +0 -0
  720. /package/{dist-browser → types}/client/AuthorizationCodeClient.d.ts.map +0 -0
  721. /package/{dist-browser → types}/client/RefreshTokenClient.d.ts +0 -0
  722. /package/{dist-browser → types}/client/RefreshTokenClient.d.ts.map +0 -0
  723. /package/{dist-browser → types}/client/SilentFlowClient.d.ts +0 -0
  724. /package/{dist-browser → types}/client/SilentFlowClient.d.ts.map +0 -0
  725. /package/{dist-browser → types}/config/AppTokenProvider.d.ts +0 -0
  726. /package/{dist-browser → types}/config/AppTokenProvider.d.ts.map +0 -0
  727. /package/{dist-browser → types}/config/ClientConfiguration.d.ts +0 -0
  728. /package/{dist-browser → types}/config/ClientConfiguration.d.ts.map +0 -0
  729. /package/{dist-browser → types}/constants/AADServerParamKeys.d.ts +0 -0
  730. /package/{dist-browser → types}/constants/AADServerParamKeys.d.ts.map +0 -0
  731. /package/{dist-browser → types}/crypto/ICrypto.d.ts +0 -0
  732. /package/{dist-browser → types}/crypto/ICrypto.d.ts.map +0 -0
  733. /package/{dist-browser → types}/crypto/IGuidGenerator.d.ts +0 -0
  734. /package/{dist-browser → types}/crypto/IGuidGenerator.d.ts.map +0 -0
  735. /package/{dist-browser → types}/crypto/JoseHeader.d.ts +0 -0
  736. /package/{dist-browser → types}/crypto/JoseHeader.d.ts.map +0 -0
  737. /package/{dist-browser → types}/crypto/PopTokenGenerator.d.ts +0 -0
  738. /package/{dist-browser → types}/crypto/PopTokenGenerator.d.ts.map +0 -0
  739. /package/{dist-browser → types}/crypto/SignedHttpRequest.d.ts +0 -0
  740. /package/{dist-browser → types}/crypto/SignedHttpRequest.d.ts.map +0 -0
  741. /package/{dist-browser → types}/error/AuthError.d.ts +0 -0
  742. /package/{dist-browser → types}/error/AuthError.d.ts.map +0 -0
  743. /package/{dist-browser → types}/error/AuthErrorCodes.d.ts +0 -0
  744. /package/{dist-browser → types}/error/AuthErrorCodes.d.ts.map +0 -0
  745. /package/{dist-browser → types}/error/CacheError.d.ts +0 -0
  746. /package/{dist-browser → types}/error/CacheError.d.ts.map +0 -0
  747. /package/{dist-browser → types}/error/CacheErrorCodes.d.ts +0 -0
  748. /package/{dist-browser → types}/error/CacheErrorCodes.d.ts.map +0 -0
  749. /package/{dist-browser → types}/error/ClientAuthError.d.ts +0 -0
  750. /package/{dist-browser → types}/error/ClientAuthError.d.ts.map +0 -0
  751. /package/{dist-browser → types}/error/ClientAuthErrorCodes.d.ts +0 -0
  752. /package/{dist-browser → types}/error/ClientAuthErrorCodes.d.ts.map +0 -0
  753. /package/{dist-browser → types}/error/ClientConfigurationError.d.ts +0 -0
  754. /package/{dist-browser → types}/error/ClientConfigurationError.d.ts.map +0 -0
  755. /package/{dist-browser → types}/error/ClientConfigurationErrorCodes.d.ts +0 -0
  756. /package/{dist-browser → types}/error/ClientConfigurationErrorCodes.d.ts.map +0 -0
  757. /package/{dist-browser → types}/error/InteractionRequiredAuthError.d.ts +0 -0
  758. /package/{dist-browser → types}/error/InteractionRequiredAuthError.d.ts.map +0 -0
  759. /package/{dist-browser → types}/error/InteractionRequiredAuthErrorCodes.d.ts +0 -0
  760. /package/{dist-browser → types}/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -0
  761. /package/{dist-browser → types}/error/JoseHeaderError.d.ts +0 -0
  762. /package/{dist-browser → types}/error/JoseHeaderError.d.ts.map +0 -0
  763. /package/{dist-browser → types}/error/JoseHeaderErrorCodes.d.ts +0 -0
  764. /package/{dist-browser → types}/error/JoseHeaderErrorCodes.d.ts.map +0 -0
  765. /package/{dist-browser → types}/error/NetworkError.d.ts +0 -0
  766. /package/{dist-browser → types}/error/NetworkError.d.ts.map +0 -0
  767. /package/{dist-browser → types}/error/PlatformBrokerError.d.ts +0 -0
  768. /package/{dist-browser → types}/error/PlatformBrokerError.d.ts.map +0 -0
  769. /package/{dist-browser → types}/error/ServerError.d.ts +0 -0
  770. /package/{dist-browser → types}/error/ServerError.d.ts.map +0 -0
  771. /package/{dist-browser → types}/exports-browser-only.d.ts +0 -0
  772. /package/{dist-browser → types}/exports-browser-only.d.ts.map +0 -0
  773. /package/{dist-browser → types}/exports-common.d.ts +0 -0
  774. /package/{dist-browser → types}/exports-common.d.ts.map +0 -0
  775. /package/{dist-browser → types}/exports-node-only.d.ts +0 -0
  776. /package/{dist-browser → types}/exports-node-only.d.ts.map +0 -0
  777. /package/{dist-browser → types}/index-browser.d.ts +0 -0
  778. /package/{dist-browser → types}/index-browser.d.ts.map +0 -0
  779. /package/{dist-browser → types}/index-node.d.ts +0 -0
  780. /package/{dist-browser → types}/index-node.d.ts.map +0 -0
  781. /package/{dist-browser → types}/index.d.ts +0 -0
  782. /package/{dist-browser → types}/index.d.ts.map +0 -0
  783. /package/{dist-browser → types}/logger/Logger.d.ts +0 -0
  784. /package/{dist-browser → types}/logger/Logger.d.ts.map +0 -0
  785. /package/{dist-browser → types}/network/INetworkModule.d.ts +0 -0
  786. /package/{dist-browser → types}/network/INetworkModule.d.ts.map +0 -0
  787. /package/{dist-browser → types}/network/NetworkResponse.d.ts +0 -0
  788. /package/{dist-browser → types}/network/NetworkResponse.d.ts.map +0 -0
  789. /package/{dist-browser → types}/network/RequestThumbprint.d.ts +0 -0
  790. /package/{dist-browser → types}/network/RequestThumbprint.d.ts.map +0 -0
  791. /package/{dist-browser → types}/network/ThrottlingUtils.d.ts +0 -0
  792. /package/{dist-browser → types}/network/ThrottlingUtils.d.ts.map +0 -0
  793. /package/{dist-browser → types}/packageMetadata.d.ts.map +0 -0
  794. /package/{dist-browser → types}/protocol/Authorize.d.ts +0 -0
  795. /package/{dist-browser → types}/protocol/Authorize.d.ts.map +0 -0
  796. /package/{dist-browser → types}/protocol/Token.d.ts +0 -0
  797. /package/{dist-browser → types}/protocol/Token.d.ts.map +0 -0
  798. /package/{dist-browser → types}/request/AuthenticationHeaderParser.d.ts +0 -0
  799. /package/{dist-browser → types}/request/AuthenticationHeaderParser.d.ts.map +0 -0
  800. /package/{dist-browser → types}/request/BaseAuthRequest.d.ts +0 -0
  801. /package/{dist-browser → types}/request/BaseAuthRequest.d.ts.map +0 -0
  802. /package/{dist-browser → types}/request/CommonAuthorizationCodeRequest.d.ts +0 -0
  803. /package/{dist-browser → types}/request/CommonAuthorizationCodeRequest.d.ts.map +0 -0
  804. /package/{dist-browser → types}/request/CommonAuthorizationUrlRequest.d.ts +0 -0
  805. /package/{dist-browser → types}/request/CommonAuthorizationUrlRequest.d.ts.map +0 -0
  806. /package/{dist-browser → types}/request/CommonEndSessionRequest.d.ts +0 -0
  807. /package/{dist-browser → types}/request/CommonEndSessionRequest.d.ts.map +0 -0
  808. /package/{dist-browser → types}/request/CommonRefreshTokenRequest.d.ts +0 -0
  809. /package/{dist-browser → types}/request/CommonRefreshTokenRequest.d.ts.map +0 -0
  810. /package/{dist-browser → types}/request/CommonSilentFlowRequest.d.ts +0 -0
  811. /package/{dist-browser → types}/request/CommonSilentFlowRequest.d.ts.map +0 -0
  812. /package/{dist-browser → types}/request/NativeRequest.d.ts +0 -0
  813. /package/{dist-browser → types}/request/NativeRequest.d.ts.map +0 -0
  814. /package/{dist-browser → types}/request/NativeSignOutRequest.d.ts +0 -0
  815. /package/{dist-browser → types}/request/NativeSignOutRequest.d.ts.map +0 -0
  816. /package/{dist-browser → types}/request/RequestParameterBuilder.d.ts +0 -0
  817. /package/{dist-browser → types}/request/RequestParameterBuilder.d.ts.map +0 -0
  818. /package/{dist-browser → types}/request/ScopeSet.d.ts +0 -0
  819. /package/{dist-browser → types}/request/ScopeSet.d.ts.map +0 -0
  820. /package/{dist-browser → types}/request/StoreInCache.d.ts +0 -0
  821. /package/{dist-browser → types}/request/StoreInCache.d.ts.map +0 -0
  822. /package/{dist-browser → types}/response/AuthenticationResult.d.ts +0 -0
  823. /package/{dist-browser → types}/response/AuthenticationResult.d.ts.map +0 -0
  824. /package/{dist-browser → types}/response/AuthorizationCodePayload.d.ts +0 -0
  825. /package/{dist-browser → types}/response/AuthorizationCodePayload.d.ts.map +0 -0
  826. /package/{dist-browser → types}/response/AuthorizeResponse.d.ts +0 -0
  827. /package/{dist-browser → types}/response/AuthorizeResponse.d.ts.map +0 -0
  828. /package/{dist-browser → types}/response/DeviceCodeResponse.d.ts +0 -0
  829. /package/{dist-browser → types}/response/DeviceCodeResponse.d.ts.map +0 -0
  830. /package/{dist-browser → types}/response/ExternalTokenResponse.d.ts +0 -0
  831. /package/{dist-browser → types}/response/ExternalTokenResponse.d.ts.map +0 -0
  832. /package/{dist-browser → types}/response/IMDSBadResponse.d.ts +0 -0
  833. /package/{dist-browser → types}/response/IMDSBadResponse.d.ts.map +0 -0
  834. /package/{dist-browser → types}/response/ResponseHandler.d.ts +0 -0
  835. /package/{dist-browser → types}/response/ResponseHandler.d.ts.map +0 -0
  836. /package/{dist-browser → types}/response/ServerAuthorizationTokenResponse.d.ts +0 -0
  837. /package/{dist-browser → types}/response/ServerAuthorizationTokenResponse.d.ts.map +0 -0
  838. /package/{dist-browser → types}/telemetry/performance/IPerformanceClient.d.ts +0 -0
  839. /package/{dist-browser → types}/telemetry/performance/IPerformanceClient.d.ts.map +0 -0
  840. /package/{dist-browser → types}/telemetry/performance/IPerformanceMeasurement.d.ts +0 -0
  841. /package/{dist-browser → types}/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -0
  842. /package/{dist-browser → types}/telemetry/performance/PerformanceClient.d.ts +0 -0
  843. /package/{dist-browser → types}/telemetry/performance/PerformanceClient.d.ts.map +0 -0
  844. /package/{dist-browser → types}/telemetry/performance/PerformanceEvent.d.ts +0 -0
  845. /package/{dist-browser → types}/telemetry/performance/PerformanceEvent.d.ts.map +0 -0
  846. /package/{dist-browser → types}/telemetry/performance/PerformanceEvents.d.ts +0 -0
  847. /package/{dist-browser → types}/telemetry/performance/PerformanceEvents.d.ts.map +0 -0
  848. /package/{dist-browser → types}/telemetry/performance/StubPerformanceClient.d.ts +0 -0
  849. /package/{dist-browser → types}/telemetry/performance/StubPerformanceClient.d.ts.map +0 -0
  850. /package/{dist-browser → types}/telemetry/server/ServerTelemetryManager.d.ts +0 -0
  851. /package/{dist-browser → types}/telemetry/server/ServerTelemetryManager.d.ts.map +0 -0
  852. /package/{dist-browser → types}/telemetry/server/ServerTelemetryRequest.d.ts +0 -0
  853. /package/{dist-browser → types}/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -0
  854. /package/{dist-browser → types}/url/IUri.d.ts +0 -0
  855. /package/{dist-browser → types}/url/IUri.d.ts.map +0 -0
  856. /package/{dist-browser → types}/url/UrlString.d.ts +0 -0
  857. /package/{dist-browser → types}/url/UrlString.d.ts.map +0 -0
  858. /package/{dist-browser → types}/utils/ClientAssertionUtils.d.ts +0 -0
  859. /package/{dist-browser → types}/utils/ClientAssertionUtils.d.ts.map +0 -0
  860. /package/{dist-browser → types}/utils/Constants.d.ts +0 -0
  861. /package/{dist-browser → types}/utils/Constants.d.ts.map +0 -0
  862. /package/{dist-browser → types}/utils/FunctionWrappers.d.ts +0 -0
  863. /package/{dist-browser → types}/utils/FunctionWrappers.d.ts.map +0 -0
  864. /package/{dist-browser → types}/utils/MsalTypes.d.ts +0 -0
  865. /package/{dist-browser → types}/utils/MsalTypes.d.ts.map +0 -0
  866. /package/{dist-browser → types}/utils/ProtocolUtils.d.ts +0 -0
  867. /package/{dist-browser → types}/utils/ProtocolUtils.d.ts.map +0 -0
  868. /package/{dist-browser → types}/utils/StateTypes.d.ts +0 -0
  869. /package/{dist-browser → types}/utils/StateTypes.d.ts.map +0 -0
  870. /package/{dist-browser → types}/utils/StringUtils.d.ts +0 -0
  871. /package/{dist-browser → types}/utils/StringUtils.d.ts.map +0 -0
  872. /package/{dist-browser → types}/utils/TimeUtils.d.ts +0 -0
  873. /package/{dist-browser → types}/utils/TimeUtils.d.ts.map +0 -0
  874. /package/{dist-browser → types}/utils/UrlUtils.d.ts +0 -0
  875. /package/{dist-browser → types}/utils/UrlUtils.d.ts.map +0 -0
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-common v16.5.1 2026-04-21 */
1
+ /*! @azure/msal-common v16.6.0 2026-05-07 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- var indexNode = require('./index-node-CJl1_QbT.js');
5
+ var indexNode = require('./index-node-BtcbvYTx.js');
6
6
 
7
7
 
8
8
 
package/lib/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-common v16.5.1 2026-04-21 */
1
+ /*! @azure/msal-common v16.6.0 2026-05-07 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- var indexNode = require('./index-node-CJl1_QbT.js');
5
+ var indexNode = require('./index-node-BtcbvYTx.js');
6
6
  var indexBrowser = require('./index-browser.cjs');
7
7
 
8
8
 
package/node/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "main": "../lib/index-node.cjs",
3
3
  "module": "../dist/index-node.mjs",
4
- "types": "../lib/types/index-node.d.ts"
4
+ "types": "../types/index-node.d.ts"
5
5
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
12
12
  },
13
- "version": "16.5.1",
13
+ "version": "16.6.0",
14
14
  "description": "Microsoft Authentication Library for js",
15
15
  "keywords": [
16
16
  "implicit",
@@ -25,35 +25,35 @@
25
25
  "type": "module",
26
26
  "main": "./lib/index.cjs",
27
27
  "module": "./dist/index.mjs",
28
- "types": "./dist/index.d.ts",
28
+ "types": "./types/index.d.ts",
29
29
  "exports": {
30
30
  "./browser": {
31
31
  "import": {
32
- "types": "./dist-browser/index-browser.d.ts",
32
+ "types": "./types/index-browser.d.ts",
33
33
  "default": "./dist-browser/index-browser.mjs"
34
34
  },
35
35
  "require": {
36
- "types": "./lib/types/index-browser.d.ts",
36
+ "types": "./types/index-browser.d.cts",
37
37
  "default": "./lib/index-browser.cjs"
38
38
  }
39
39
  },
40
40
  "./node": {
41
41
  "import": {
42
- "types": "./dist/index-node.d.ts",
42
+ "types": "./types/index-node.d.ts",
43
43
  "default": "./dist/index-node.mjs"
44
44
  },
45
45
  "require": {
46
- "types": "./lib/types/index-node.d.ts",
46
+ "types": "./types/index-node.d.cts",
47
47
  "default": "./lib/index-node.cjs"
48
48
  }
49
49
  },
50
50
  ".": {
51
51
  "import": {
52
- "types": "./dist/index.d.ts",
52
+ "types": "./types/index.d.ts",
53
53
  "default": "./dist/index.mjs"
54
54
  },
55
55
  "require": {
56
- "types": "./lib/types/index.d.ts",
56
+ "types": "./types/index.d.cts",
57
57
  "default": "./lib/index.cjs"
58
58
  }
59
59
  },
@@ -68,20 +68,22 @@
68
68
  "files": [
69
69
  "dist",
70
70
  "dist-browser",
71
+ "types",
71
72
  "lib",
72
73
  "src",
73
74
  "node",
74
75
  "browser"
75
76
  ],
76
77
  "scripts": {
77
- "clean": "shx rm -rf dist dist-browser lib",
78
+ "clean": "shx rm -rf dist dist-browser types lib",
78
79
  "clean:coverage": "rimraf ../../.nyc_output/*",
79
80
  "lint": "eslint src --ext .ts",
80
81
  "lint:fix": "npm run lint -- --fix",
81
82
  "test": "jest",
82
83
  "test:coverage": "jest --coverage",
83
84
  "test:coverage:only": "npm run clean:coverage && npm run test:coverage",
84
- "build:modules": "rollup -c --strictDeprecations --bundleConfigAsCjs",
85
+ "build:modules": "rollup -c --strictDeprecations --bundleConfigAsCjs && npm run build:types",
86
+ "build:types": "tsc -p tsconfig.build.types.json",
85
87
  "build:modules:watch": "rollup -cw --bundleConfigAsCjs",
86
88
  "build": "npm run clean && npm run build:modules",
87
89
  "build:debug": "npm run clean && cross-env MSAL_MINIFY_LOGS=false npm run build:modules",
@@ -3,50 +3,50 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import {
7
- AccountFilter,
8
- CredentialFilter,
9
- ValidCredentialType,
10
- AppMetadataFilter,
11
- AppMetadataCache,
12
- TokenKeys,
13
- TenantProfileFilter,
14
- } from "./utils/CacheTypes.js";
15
- import { CacheRecord } from "./entities/CacheRecord.js";
16
- import * as Constants from "../utils/Constants.js";
17
- import { CredentialEntity } from "./entities/CredentialEntity.js";
18
- import { ScopeSet } from "../request/ScopeSet.js";
19
- import { AccountEntity } from "./entities/AccountEntity.js";
20
- import { AccessTokenEntity } from "./entities/AccessTokenEntity.js";
21
- import { IdTokenEntity } from "./entities/IdTokenEntity.js";
22
- import { RefreshTokenEntity } from "./entities/RefreshTokenEntity.js";
23
- import { ICacheManager } from "./interface/ICacheManager.js";
24
- import {
25
- createClientAuthError,
26
- ClientAuthErrorCodes,
27
- } from "../error/ClientAuthError.js";
28
6
  import {
29
7
  AccountInfo,
30
8
  TenantProfile,
31
9
  updateAccountTenantProfileData,
32
10
  } from "../account/AccountInfo.js";
33
- import { AppMetadataEntity } from "./entities/AppMetadataEntity.js";
34
- import { ServerTelemetryEntity } from "./entities/ServerTelemetryEntity.js";
35
- import { ThrottlingEntity } from "./entities/ThrottlingEntity.js";
36
11
  import { extractTokenClaims } from "../account/AuthToken.js";
12
+ import { TokenClaims } from "../account/TokenClaims.js";
13
+ import { getAliasesFromStaticSources } from "../authority/AuthorityMetadata.js";
14
+ import { StaticAuthorityOptions } from "../authority/AuthorityOptions.js";
37
15
  import { ICrypto } from "../crypto/ICrypto.js";
38
- import { AuthorityMetadataEntity } from "./entities/AuthorityMetadataEntity.js";
39
- import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
16
+ import { AuthError } from "../error/AuthError.js";
17
+ import { createCacheError } from "../error/CacheError.js";
18
+ import {
19
+ ClientAuthErrorCodes,
20
+ createClientAuthError,
21
+ } from "../error/ClientAuthError.js";
40
22
  import { Logger } from "../logger/Logger.js";
41
23
  import { name, version } from "../packageMetadata.js";
24
+ import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
25
+ import { ScopeSet } from "../request/ScopeSet.js";
42
26
  import { StoreInCache } from "../request/StoreInCache.js";
43
- import { getAliasesFromStaticSources } from "../authority/AuthorityMetadata.js";
44
- import { StaticAuthorityOptions } from "../authority/AuthorityOptions.js";
45
- import { TokenClaims } from "../account/TokenClaims.js";
46
27
  import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
47
- import { createCacheError } from "../error/CacheError.js";
28
+ import * as Constants from "../utils/Constants.js";
29
+ import { AccessTokenEntity } from "./entities/AccessTokenEntity.js";
30
+ import { AccountEntity } from "./entities/AccountEntity.js";
31
+ import { AppMetadataEntity } from "./entities/AppMetadataEntity.js";
32
+ import { AuthorityMetadataEntity } from "./entities/AuthorityMetadataEntity.js";
33
+ import { CacheRecord } from "./entities/CacheRecord.js";
34
+ import { CredentialEntity } from "./entities/CredentialEntity.js";
35
+ import { IdTokenEntity } from "./entities/IdTokenEntity.js";
36
+ import { RefreshTokenEntity } from "./entities/RefreshTokenEntity.js";
37
+ import { ServerTelemetryEntity } from "./entities/ServerTelemetryEntity.js";
38
+ import { ThrottlingEntity } from "./entities/ThrottlingEntity.js";
39
+ import { ICacheManager } from "./interface/ICacheManager.js";
48
40
  import * as AccountEntityUtils from "./utils/AccountEntityUtils.js";
49
- import { AuthError } from "../error/AuthError.js";
41
+ import {
42
+ AccountFilter,
43
+ AppMetadataCache,
44
+ AppMetadataFilter,
45
+ CredentialFilter,
46
+ TenantProfileFilter,
47
+ TokenKeys,
48
+ ValidCredentialType,
49
+ } from "./utils/CacheTypes.js";
50
50
 
51
51
  /**
52
52
  * Interface class which implement cache storage functions used by MSAL to perform validity checks, and store tokens.
@@ -315,8 +315,10 @@ export abstract class CacheManager implements ICacheManager {
315
315
  const allAccounts = this.getAllAccounts(accountFilter, correlationId);
316
316
  if (allAccounts.length > 1) {
317
317
  // If one or more accounts are found, prioritize accounts that have an ID token
318
- const sortedAccounts = allAccounts.sort((account) => {
319
- return account.idTokenClaims ? -1 : 1;
318
+ const sortedAccounts = allAccounts.sort((a, b) => {
319
+ const aHasClaims = a.idTokenClaims ? 1 : 0;
320
+ const bHasClaims = b.idTokenClaims ? 1 : 0;
321
+ return bHasClaims - aHasClaims;
320
322
  });
321
323
  return sortedAccounts[0];
322
324
  } else if (allAccounts.length === 1) {
@@ -1,3 +1,3 @@
1
1
  /* eslint-disable header/header */
2
2
  export const name = "@azure/msal-common";
3
- export const version = "16.5.1";
3
+ export const version = "16.6.0";
@@ -1,22 +1,22 @@
1
- import { AccountFilter, CredentialFilter, ValidCredentialType, AppMetadataFilter, AppMetadataCache, TokenKeys } from "./utils/CacheTypes.js";
1
+ import { AccountInfo } from "../account/AccountInfo.js";
2
+ import { StaticAuthorityOptions } from "../authority/AuthorityOptions.js";
3
+ import { ICrypto } from "../crypto/ICrypto.js";
4
+ import { Logger } from "../logger/Logger.js";
5
+ import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
6
+ import { StoreInCache } from "../request/StoreInCache.js";
7
+ import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
8
+ import { AccessTokenEntity } from "./entities/AccessTokenEntity.js";
9
+ import { AccountEntity } from "./entities/AccountEntity.js";
10
+ import { AppMetadataEntity } from "./entities/AppMetadataEntity.js";
11
+ import { AuthorityMetadataEntity } from "./entities/AuthorityMetadataEntity.js";
2
12
  import { CacheRecord } from "./entities/CacheRecord.js";
3
13
  import { CredentialEntity } from "./entities/CredentialEntity.js";
4
- import { AccountEntity } from "./entities/AccountEntity.js";
5
- import { AccessTokenEntity } from "./entities/AccessTokenEntity.js";
6
14
  import { IdTokenEntity } from "./entities/IdTokenEntity.js";
7
15
  import { RefreshTokenEntity } from "./entities/RefreshTokenEntity.js";
8
- import { ICacheManager } from "./interface/ICacheManager.js";
9
- import { AccountInfo } from "../account/AccountInfo.js";
10
- import { AppMetadataEntity } from "./entities/AppMetadataEntity.js";
11
16
  import { ServerTelemetryEntity } from "./entities/ServerTelemetryEntity.js";
12
17
  import { ThrottlingEntity } from "./entities/ThrottlingEntity.js";
13
- import { ICrypto } from "../crypto/ICrypto.js";
14
- import { AuthorityMetadataEntity } from "./entities/AuthorityMetadataEntity.js";
15
- import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
16
- import { Logger } from "../logger/Logger.js";
17
- import { StoreInCache } from "../request/StoreInCache.js";
18
- import { StaticAuthorityOptions } from "../authority/AuthorityOptions.js";
19
- import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
18
+ import { ICacheManager } from "./interface/ICacheManager.js";
19
+ import { AccountFilter, AppMetadataCache, AppMetadataFilter, CredentialFilter, TokenKeys, ValidCredentialType } from "./utils/CacheTypes.js";
20
20
  /**
21
21
  * Interface class which implement cache storage functions used by MSAL to perform validity checks, and store tokens.
22
22
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"CacheManager.d.ts","sourceRoot":"","sources":["../../src/cache/CacheManager.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,SAAS,EAEZ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAK7D,OAAO,EACH,WAAW,EAGd,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,uBAAuB,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M9C;AAED,gBAAgB;AAChB,qBAAa,mBAAoB,SAAQ,YAAY;IAC3C,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAGjC,UAAU,IAAI,aAAa;IAGrB,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAG3C,oBAAoB,IAAI,aAAa;IAG/B,wBAAwB,IAAI,OAAO,CAAC,IAAI,CAAC;IAG/C,wBAAwB,IAAI,iBAAiB;IAGvC,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;IAGhD,yBAAyB,IAAI,kBAAkB;IAG/C,cAAc,IAAI,IAAI;IAGtB,cAAc,IAAI,iBAAiB;IAGnC,kBAAkB,IAAI,IAAI;IAG1B,kBAAkB,IAAI,qBAAqB;IAG3C,oBAAoB,IAAI,IAAI;IAG5B,oBAAoB,IAAI,uBAAuB,GAAG,IAAI;IAGtD,wBAAwB,IAAI,KAAK,CAAC,MAAM,CAAC;IAGzC,kBAAkB,IAAI,IAAI;IAG1B,kBAAkB,IAAI,gBAAgB;IAGtC,UAAU,IAAI,OAAO;IAGrB,OAAO,IAAI,MAAM,EAAE;IAGnB,cAAc,IAAI,MAAM,EAAE;IAG1B,YAAY,IAAI,SAAS;IAGzB,qBAAqB,IAAI,MAAM;IAG/B,kBAAkB,IAAI,MAAM;CAG/B"}
@@ -0,0 +1 @@
1
+ export * from "./index-browser.js";
@@ -0,0 +1 @@
1
+ export * from "./index-node.js";
@@ -0,0 +1 @@
1
+ export * from "./index.js";
@@ -0,0 +1,3 @@
1
+ export declare const name = "@azure/msal-common";
2
+ export declare const version = "16.6.0";
3
+ //# sourceMappingURL=packageMetadata.d.ts.map
@@ -1,73 +0,0 @@
1
- import { TokenClaims } from "./TokenClaims.js";
2
- export type DataBoundary = "EU" | "None";
3
- /**
4
- * Account object with the following signature:
5
- * - homeAccountId - Home account identifier for this account object
6
- * - environment - Entity which issued the token represented by the domain of the issuer (e.g. login.microsoftonline.com)
7
- * - tenantId - Full tenant or organizational id that this account belongs to
8
- * - username - preferred_username claim of the id_token that represents this account
9
- * - upn - The user's UPN used to populate the account username in cases where preferred_username is not present in the ID token claims.
10
- * - localAccountId - Local, tenant-specific account identifer for this account object, usually used in legacy cases
11
- * - name - Full name for the account, including given name and family name
12
- * - idToken - raw ID token
13
- * - idTokenClaims - Object contains claims from ID token
14
- * - nativeAccountId - The user's native account ID
15
- * - tenantProfiles - Map of tenant profile objects for each tenant that the account has authenticated with in the browser
16
- * - dataBoundary - Data boundary extracted from clientInfo
17
- */
18
- export type AccountInfo = {
19
- homeAccountId: string;
20
- environment: string;
21
- tenantId: string;
22
- username: string;
23
- localAccountId: string;
24
- loginHint?: string;
25
- name?: string;
26
- upn?: string;
27
- idToken?: string;
28
- idTokenClaims?: TokenClaims & {
29
- [key: string]: string | number | string[] | object | undefined | unknown;
30
- };
31
- nativeAccountId?: string;
32
- authorityType?: string;
33
- tenantProfiles?: Map<string, TenantProfile>;
34
- dataBoundary?: DataBoundary;
35
- };
36
- /**
37
- * Account details that vary across tenants for the same user
38
- */
39
- export type TenantProfile = Pick<AccountInfo, "tenantId" | "localAccountId" | "name" | "username" | "loginHint" | "upn"> & {
40
- /**
41
- * - isHomeTenant - True if this is the home tenant profile of the account, false if it's a guest tenant profile
42
- */
43
- isHomeTenant?: boolean;
44
- };
45
- export type ActiveAccountFilters = {
46
- homeAccountId: string;
47
- localAccountId: string;
48
- tenantId?: string;
49
- };
50
- /**
51
- * Returns true if tenantId matches the utid portion of homeAccountId
52
- * @param tenantId
53
- * @param homeAccountId
54
- * @returns
55
- */
56
- export declare function tenantIdMatchesHomeTenant(tenantId?: string, homeAccountId?: string): boolean;
57
- /**
58
- * Build tenant profile
59
- * @param homeAccountId - Home account identifier for this account object
60
- * @param localAccountId - Local account identifer for this account object
61
- * @param tenantId - Full tenant or organizational id that this account belongs to
62
- * @param idTokenClaims - Claims from the ID token
63
- * @returns
64
- */
65
- export declare function buildTenantProfile(homeAccountId: string, localAccountId: string, tenantId: string, idTokenClaims?: TokenClaims): TenantProfile;
66
- /**
67
- * Replaces account info that varies by tenant profile sourced from the ID token claims passed in with the tenant-specific account info
68
- * @param baseAccountInfo
69
- * @param idTokenClaims
70
- * @returns
71
- */
72
- export declare function updateAccountTenantProfileData(baseAccountInfo: AccountInfo, tenantProfile?: TenantProfile, idTokenClaims?: TokenClaims, idTokenSecret?: string): AccountInfo;
73
- //# sourceMappingURL=AccountInfo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AccountInfo.d.ts","sourceRoot":"","sources":["../../src/account/AccountInfo.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,MAAM,CAAC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,WAAW,GAAG;QAC1B,CAAC,GAAG,EAAE,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,EAAE,GACR,MAAM,GACN,SAAS,GACT,OAAO,CAAC;KACjB,CAAC;IACF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAC5C,YAAY,CAAC,EAAE,YAAY,CAAC;CAC/B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,CAC5B,WAAW,EACX,UAAU,GAAG,gBAAgB,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,CAC5E,GAAG;IACA;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACrC,QAAQ,CAAC,EAAE,MAAM,EACjB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAMT;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAC9B,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,QAAQ,EAAE,MAAM,EAChB,aAAa,CAAC,EAAE,WAAW,GAC5B,aAAa,CAuCf;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC1C,eAAe,EAAE,WAAW,EAC5B,aAAa,CAAC,EAAE,aAAa,EAC7B,aAAa,CAAC,EAAE,WAAW,EAC3B,aAAa,CAAC,EAAE,MAAM,GACvB,WAAW,CAgCb"}
@@ -1,24 +0,0 @@
1
- import { TokenClaims } from "./TokenClaims.js";
2
- /**
3
- * Extract token by decoding the rawToken
4
- *
5
- * @param encodedToken
6
- */
7
- export declare function extractTokenClaims(encodedToken: string, base64Decode: (input: string) => string): TokenClaims;
8
- /**
9
- * Check if the signin_state claim contains "kmsi"
10
- * @param idTokenClaims
11
- * @returns
12
- */
13
- export declare function isKmsi(idTokenClaims: TokenClaims): boolean;
14
- /**
15
- * decode a JWT
16
- *
17
- * @param authToken
18
- */
19
- export declare function getJWSPayload(authToken: string): string;
20
- /**
21
- * Determine if the token's max_age has transpired
22
- */
23
- export declare function checkMaxAge(authTime: number, maxAge: number): void;
24
- //# sourceMappingURL=AuthToken.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthToken.d.ts","sourceRoot":"","sources":["../../src/account/AuthToken.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM/C;;;;GAIG;AACH,wBAAgB,kBAAkB,CAC9B,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GACxC,WAAW,CAWb;AAED;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,aAAa,EAAE,WAAW,GAAG,OAAO,CAe1D;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAkBvD;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAUlE"}
@@ -1,10 +0,0 @@
1
- export type CcsCredential = {
2
- credential: string;
3
- type: CcsCredentialType;
4
- };
5
- export declare const CcsCredentialType: {
6
- readonly HOME_ACCOUNT_ID: "home_account_id";
7
- readonly UPN: "UPN";
8
- };
9
- export type CcsCredentialType = (typeof CcsCredentialType)[keyof typeof CcsCredentialType];
10
- //# sourceMappingURL=CcsCredential.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CcsCredential.d.ts","sourceRoot":"","sources":["../../src/account/CcsCredential.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,aAAa,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,iBAAiB,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GACzB,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC"}
@@ -1,20 +0,0 @@
1
- export type ClientAssertionConfig = {
2
- clientId: string;
3
- tokenEndpoint?: string;
4
- };
5
- export type ClientAssertionCallback = (config: ClientAssertionConfig) => Promise<string>;
6
- /**
7
- * Client Assertion credential for Confidential Clients
8
- */
9
- export type ClientAssertion = {
10
- assertion: string | ClientAssertionCallback;
11
- assertionType: string;
12
- };
13
- /**
14
- * Client Credentials set for Confidential Clients
15
- */
16
- export type ClientCredentials = {
17
- clientSecret?: string;
18
- clientAssertion?: ClientAssertion;
19
- };
20
- //# sourceMappingURL=ClientCredentials.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClientCredentials.d.ts","sourceRoot":"","sources":["../../src/account/ClientCredentials.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,qBAAqB,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,CAClC,MAAM,EAAE,qBAAqB,KAC5B,OAAO,CAAC,MAAM,CAAC,CAAC;AAErB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B,SAAS,EAAE,MAAM,GAAG,uBAAuB,CAAC;IAC5C,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,eAAe,CAAC;CACrC,CAAC"}
@@ -1,23 +0,0 @@
1
- /**
2
- * Client info object which consists of:
3
- * uid: user id
4
- * utid: tenant id
5
- * xms_tdbr: optional, only for non-US tenants
6
- */
7
- export type ClientInfo = {
8
- uid: string;
9
- utid: string;
10
- xms_tdbr?: string;
11
- };
12
- /**
13
- * Function to build a client info object from server clientInfo string
14
- * @param rawClientInfo
15
- * @param crypto
16
- */
17
- export declare function buildClientInfo(rawClientInfo: string, base64Decode: (input: string) => string): ClientInfo;
18
- /**
19
- * Function to build a client info object from cached homeAccountId string
20
- * @param homeAccountId
21
- */
22
- export declare function buildClientInfoFromHomeAccountId(homeAccountId: string): ClientInfo;
23
- //# sourceMappingURL=ClientInfo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClientInfo.d.ts","sourceRoot":"","sources":["../../src/account/ClientInfo.ts"],"names":[],"mappings":"AAWA;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,eAAe,CAC3B,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GACxC,UAAU,CAaZ;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC5C,aAAa,EAAE,MAAM,GACtB,UAAU,CAcZ"}
@@ -1,88 +0,0 @@
1
- /**
2
- * Type which describes Id Token claims known by MSAL.
3
- */
4
- export type TokenClaims = {
5
- /**
6
- * Audience
7
- */
8
- aud?: string;
9
- /**
10
- * Issuer
11
- */
12
- iss?: string;
13
- /**
14
- * Issued at
15
- */
16
- iat?: number;
17
- /**
18
- * Not valid before
19
- */
20
- nbf?: number;
21
- /**
22
- * Immutable object identifier, this ID uniquely identifies the user across applications
23
- */
24
- oid?: string;
25
- /**
26
- * Immutable subject identifier, this is a pairwise identifier - it is unique to a particular application ID
27
- */
28
- sub?: string;
29
- /**
30
- * Users' tenant or '9188040d-6c67-4c5b-b112-36a304b66dad' for personal accounts.
31
- */
32
- tid?: string;
33
- /**
34
- * Trusted Framework Policy (B2C) The name of the policy that was used to acquire the ID token.
35
- */
36
- tfp?: string;
37
- /**
38
- * Authentication Context Class Reference (B2C) Used only with older policies.
39
- */
40
- acr?: string;
41
- ver?: string;
42
- upn?: string;
43
- preferred_username?: string;
44
- login_hint?: string;
45
- /**
46
- * Contains KMSI (Keep Me Signed In) status among other things
47
- */
48
- signin_state?: Array<string>;
49
- emails?: string[];
50
- name?: string;
51
- nonce?: string;
52
- /**
53
- * Expiration
54
- */
55
- exp?: number;
56
- home_oid?: string;
57
- sid?: string;
58
- cloud_instance_host_name?: string;
59
- cnf?: {
60
- kid: string;
61
- };
62
- x5c_ca?: string[];
63
- ts?: number;
64
- at?: string;
65
- u?: string;
66
- p?: string;
67
- m?: string;
68
- roles?: string[];
69
- amr?: string[];
70
- idp?: string;
71
- auth_time?: number;
72
- /**
73
- * Region of the resource tenant
74
- */
75
- tenant_region_scope?: string;
76
- tenant_region_sub_scope?: string;
77
- };
78
- /**
79
- * Gets tenantId from available ID token claims to set as credential realm with the following precedence:
80
- * 1. tid - if the token is acquired from an Azure AD tenant tid will be present
81
- * 2. tfp - if the token is acquired from a modern B2C tenant tfp should be present
82
- * 3. acr - if the token is acquired from a legacy B2C tenant acr should be present
83
- * Downcased to match the realm case-insensitive comparison requirements
84
- * @param idTokenClaims
85
- * @returns
86
- */
87
- export declare function getTenantIdFromIdTokenClaims(idTokenClaims?: TokenClaims): string | null;
88
- //# sourceMappingURL=TokenClaims.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TokenClaims.d.ts","sourceRoot":"","sources":["../../src/account/TokenClaims.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kBAAkB,CAAC,EAAE,MAAM,CA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