@azure/msal-common 13.0.0 → 14.0.0-alpha.2

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 (333) hide show
  1. package/dist/account/AccountInfo.d.ts +31 -31
  2. package/dist/account/AccountInfo.d.ts.map +1 -1
  3. package/dist/account/AuthToken.d.ts +20 -20
  4. package/dist/account/AuthToken.d.ts.map +1 -1
  5. package/dist/account/AuthToken.js +49 -50
  6. package/dist/account/AuthToken.js.map +1 -1
  7. package/dist/account/CcsCredential.d.ts +8 -8
  8. package/dist/account/CcsCredential.d.ts.map +1 -1
  9. package/dist/account/CcsCredential.js +9 -9
  10. package/dist/account/CcsCredential.js.map +1 -1
  11. package/dist/account/ClientCredentials.d.ts +14 -14
  12. package/dist/account/ClientCredentials.d.ts.map +1 -1
  13. package/dist/account/ClientInfo.d.ts +19 -19
  14. package/dist/account/ClientInfo.d.ts.map +1 -1
  15. package/dist/account/ClientInfo.js +37 -35
  16. package/dist/account/ClientInfo.js.map +1 -1
  17. package/dist/account/DecodedAuthToken.d.ts +8 -8
  18. package/dist/account/DecodedAuthToken.d.ts.map +1 -1
  19. package/dist/account/TokenClaims.d.ts +65 -65
  20. package/dist/account/TokenClaims.d.ts.map +1 -1
  21. package/dist/authority/Authority.d.ts +228 -215
  22. package/dist/authority/Authority.d.ts.map +1 -1
  23. package/dist/authority/Authority.js +717 -765
  24. package/dist/authority/Authority.js.map +1 -1
  25. package/dist/authority/AuthorityFactory.d.ts +30 -30
  26. package/dist/authority/AuthorityFactory.d.ts.map +1 -1
  27. package/dist/authority/AuthorityFactory.js +48 -63
  28. package/dist/authority/AuthorityFactory.js.map +1 -1
  29. package/dist/authority/AuthorityMetadata.d.ts +622 -622
  30. package/dist/authority/AuthorityMetadata.d.ts.map +1 -1
  31. package/dist/authority/AuthorityMetadata.js +877 -8
  32. package/dist/authority/AuthorityMetadata.js.map +1 -1
  33. package/dist/authority/AuthorityOptions.d.ts +18 -18
  34. package/dist/authority/AuthorityOptions.d.ts.map +1 -1
  35. package/dist/authority/AuthorityOptions.js +19 -19
  36. package/dist/authority/AuthorityOptions.js.map +1 -1
  37. package/dist/authority/AuthorityType.d.ts +9 -9
  38. package/dist/authority/AuthorityType.js +14 -14
  39. package/dist/authority/AuthorityType.js.map +1 -1
  40. package/dist/authority/AzureRegion.d.ts +1 -1
  41. package/dist/authority/AzureRegion.d.ts.map +1 -1
  42. package/dist/authority/AzureRegionConfiguration.d.ts +5 -5
  43. package/dist/authority/AzureRegionConfiguration.d.ts.map +1 -1
  44. package/dist/authority/CloudDiscoveryMetadata.d.ts +5 -5
  45. package/dist/authority/CloudDiscoveryMetadata.d.ts.map +1 -1
  46. package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +13 -13
  47. package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +1 -1
  48. package/dist/authority/CloudInstanceDiscoveryErrorResponse.js +8 -8
  49. package/dist/authority/CloudInstanceDiscoveryErrorResponse.js.map +1 -1
  50. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +9 -9
  51. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -1
  52. package/dist/authority/CloudInstanceDiscoveryResponse.js +8 -8
  53. package/dist/authority/CloudInstanceDiscoveryResponse.js.map +1 -1
  54. package/dist/authority/ImdsOptions.d.ts +5 -5
  55. package/dist/authority/ImdsOptions.d.ts.map +1 -1
  56. package/dist/authority/OpenIdConfigResponse.d.ts +11 -11
  57. package/dist/authority/OpenIdConfigResponse.d.ts.map +1 -1
  58. package/dist/authority/OpenIdConfigResponse.js +10 -10
  59. package/dist/authority/OpenIdConfigResponse.js.map +1 -1
  60. package/dist/authority/ProtocolMode.d.ts +7 -7
  61. package/dist/authority/ProtocolMode.js +12 -12
  62. package/dist/authority/ProtocolMode.js.map +1 -1
  63. package/dist/authority/RegionDiscovery.d.ts +30 -30
  64. package/dist/authority/RegionDiscovery.d.ts.map +1 -1
  65. package/dist/authority/RegionDiscovery.js +110 -132
  66. package/dist/authority/RegionDiscovery.js.map +1 -1
  67. package/dist/authority/RegionDiscoveryMetadata.d.ts +6 -6
  68. package/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -1
  69. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +15 -15
  70. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -1
  71. package/dist/cache/CacheManager.d.ts +443 -443
  72. package/dist/cache/CacheManager.d.ts.map +1 -1
  73. package/dist/cache/CacheManager.js +1012 -1047
  74. package/dist/cache/CacheManager.js.map +1 -1
  75. package/dist/cache/entities/AccessTokenEntity.d.ts +56 -56
  76. package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
  77. package/dist/cache/entities/AccessTokenEntity.js +112 -113
  78. package/dist/cache/entities/AccessTokenEntity.js.map +1 -1
  79. package/dist/cache/entities/AccountEntity.d.ts +99 -99
  80. package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
  81. package/dist/cache/entities/AccountEntity.js +249 -237
  82. package/dist/cache/entities/AccountEntity.js.map +1 -1
  83. package/dist/cache/entities/AppMetadataEntity.d.ts +39 -39
  84. package/dist/cache/entities/AppMetadataEntity.d.ts.map +1 -1
  85. package/dist/cache/entities/AppMetadataEntity.js +67 -68
  86. package/dist/cache/entities/AppMetadataEntity.js.map +1 -1
  87. package/dist/cache/entities/AuthorityMetadataEntity.d.ts +47 -47
  88. package/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -1
  89. package/dist/cache/entities/AuthorityMetadataEntity.js +78 -75
  90. package/dist/cache/entities/AuthorityMetadataEntity.js.map +1 -1
  91. package/dist/cache/entities/CacheRecord.d.ts +13 -13
  92. package/dist/cache/entities/CacheRecord.d.ts.map +1 -1
  93. package/dist/cache/entities/CacheRecord.js +14 -15
  94. package/dist/cache/entities/CacheRecord.js.map +1 -1
  95. package/dist/cache/entities/CredentialEntity.d.ts +88 -88
  96. package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
  97. package/dist/cache/entities/CredentialEntity.js +137 -136
  98. package/dist/cache/entities/CredentialEntity.js.map +1 -1
  99. package/dist/cache/entities/IdTokenEntity.d.ts +34 -34
  100. package/dist/cache/entities/IdTokenEntity.d.ts.map +1 -1
  101. package/dist/cache/entities/IdTokenEntity.js +57 -63
  102. package/dist/cache/entities/IdTokenEntity.js.map +1 -1
  103. package/dist/cache/entities/RefreshTokenEntity.d.ts +36 -36
  104. package/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -1
  105. package/dist/cache/entities/RefreshTokenEntity.js +60 -66
  106. package/dist/cache/entities/RefreshTokenEntity.js.map +1 -1
  107. package/dist/cache/entities/ServerTelemetryEntity.d.ts +12 -12
  108. package/dist/cache/entities/ServerTelemetryEntity.d.ts.map +1 -1
  109. package/dist/cache/entities/ServerTelemetryEntity.js +28 -29
  110. package/dist/cache/entities/ServerTelemetryEntity.js.map +1 -1
  111. package/dist/cache/entities/ThrottlingEntity.d.ts +13 -13
  112. package/dist/cache/entities/ThrottlingEntity.js +24 -26
  113. package/dist/cache/entities/ThrottlingEntity.js.map +1 -1
  114. package/dist/cache/interface/ICacheManager.d.ts +165 -165
  115. package/dist/cache/interface/ICacheManager.d.ts.map +1 -1
  116. package/dist/cache/interface/ICachePlugin.d.ts +5 -5
  117. package/dist/cache/interface/ISerializableTokenCache.d.ts +4 -4
  118. package/dist/cache/persistence/TokenCacheContext.d.ts +23 -23
  119. package/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -1
  120. package/dist/cache/persistence/TokenCacheContext.js +26 -35
  121. package/dist/cache/persistence/TokenCacheContext.js.map +1 -1
  122. package/dist/cache/utils/CacheTypes.d.ts +62 -62
  123. package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
  124. package/dist/client/AuthorizationCodeClient.d.ts +71 -71
  125. package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
  126. package/dist/client/AuthorizationCodeClient.js +435 -478
  127. package/dist/client/AuthorizationCodeClient.js.map +1 -1
  128. package/dist/client/BaseClient.d.ts +50 -50
  129. package/dist/client/BaseClient.d.ts.map +1 -1
  130. package/dist/client/BaseClient.js +93 -101
  131. package/dist/client/BaseClient.js.map +1 -1
  132. package/dist/client/RefreshTokenClient.d.ts +34 -34
  133. package/dist/client/RefreshTokenClient.d.ts.map +1 -1
  134. package/dist/client/RefreshTokenClient.js +241 -274
  135. package/dist/client/RefreshTokenClient.js.map +1 -1
  136. package/dist/client/SilentFlowClient.d.ts +24 -24
  137. package/dist/client/SilentFlowClient.d.ts.map +1 -1
  138. package/dist/client/SilentFlowClient.js +95 -123
  139. package/dist/client/SilentFlowClient.js.map +1 -1
  140. package/dist/config/AppTokenProvider.d.ts +38 -38
  141. package/dist/config/AppTokenProvider.d.ts.map +1 -1
  142. package/dist/config/ClientConfiguration.d.ts +133 -133
  143. package/dist/config/ClientConfiguration.d.ts.map +1 -1
  144. package/dist/config/ClientConfiguration.js +88 -91
  145. package/dist/config/ClientConfiguration.js.map +1 -1
  146. package/dist/crypto/ICrypto.d.ts +62 -62
  147. package/dist/crypto/ICrypto.d.ts.map +1 -1
  148. package/dist/crypto/ICrypto.js +42 -73
  149. package/dist/crypto/ICrypto.js.map +1 -1
  150. package/dist/crypto/IGuidGenerator.d.ts +4 -4
  151. package/dist/crypto/JoseHeader.d.ts +21 -21
  152. package/dist/crypto/JoseHeader.d.ts.map +1 -1
  153. package/dist/crypto/JoseHeader.js +37 -38
  154. package/dist/crypto/JoseHeader.js.map +1 -1
  155. package/dist/crypto/PopTokenGenerator.d.ts +57 -57
  156. package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
  157. package/dist/crypto/PopTokenGenerator.js +84 -108
  158. package/dist/crypto/PopTokenGenerator.js.map +1 -1
  159. package/dist/crypto/SignedHttpRequest.d.ts +11 -11
  160. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  161. package/dist/error/AuthError.d.ts +47 -47
  162. package/dist/error/AuthError.d.ts.map +1 -1
  163. package/dist/error/AuthError.js +52 -55
  164. package/dist/error/AuthError.js.map +1 -1
  165. package/dist/error/ClientAuthError.d.ts +412 -404
  166. package/dist/error/ClientAuthError.d.ts.map +1 -1
  167. package/dist/error/ClientAuthError.js +520 -514
  168. package/dist/error/ClientAuthError.js.map +1 -1
  169. package/dist/error/ClientConfigurationError.d.ts +198 -198
  170. package/dist/error/ClientConfigurationError.d.ts.map +1 -1
  171. package/dist/error/ClientConfigurationError.js +250 -254
  172. package/dist/error/ClientConfigurationError.js.map +1 -1
  173. package/dist/error/InteractionRequiredAuthError.d.ts +59 -59
  174. package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
  175. package/dist/error/InteractionRequiredAuthError.js +79 -78
  176. package/dist/error/InteractionRequiredAuthError.js.map +1 -1
  177. package/dist/error/JoseHeaderError.d.ts +28 -28
  178. package/dist/error/JoseHeaderError.d.ts.map +1 -1
  179. package/dist/error/JoseHeaderError.js +40 -44
  180. package/dist/error/JoseHeaderError.js.map +1 -1
  181. package/dist/error/ServerError.d.ts +7 -7
  182. package/dist/error/ServerError.d.ts.map +1 -1
  183. package/dist/error/ServerError.js +15 -19
  184. package/dist/error/ServerError.js.map +1 -1
  185. package/dist/index.cjs.js +8890 -9111
  186. package/dist/index.cjs.js.map +1 -1
  187. package/dist/index.d.ts +93 -94
  188. package/dist/index.d.ts.map +1 -1
  189. package/dist/index.js +5 -6
  190. package/dist/index.js.map +1 -1
  191. package/dist/logger/Logger.d.ts +95 -95
  192. package/dist/logger/Logger.d.ts.map +1 -1
  193. package/dist/logger/Logger.js +198 -188
  194. package/dist/logger/Logger.js.map +1 -1
  195. package/dist/network/INetworkModule.d.ts +29 -29
  196. package/dist/network/INetworkModule.d.ts.map +1 -1
  197. package/dist/network/INetworkModule.js +14 -14
  198. package/dist/network/INetworkModule.js.map +1 -1
  199. package/dist/network/NetworkManager.d.ts +32 -31
  200. package/dist/network/NetworkManager.d.ts.map +1 -1
  201. package/dist/network/NetworkManager.js +34 -48
  202. package/dist/network/NetworkManager.js.map +1 -1
  203. package/dist/network/RequestThumbprint.d.ts +16 -16
  204. package/dist/network/RequestThumbprint.d.ts.map +1 -1
  205. package/dist/network/ThrottlingUtils.d.ts +41 -41
  206. package/dist/network/ThrottlingUtils.d.ts.map +1 -1
  207. package/dist/network/ThrottlingUtils.js +95 -94
  208. package/dist/network/ThrottlingUtils.js.map +1 -1
  209. package/dist/packageMetadata.d.ts +2 -2
  210. package/dist/packageMetadata.d.ts.map +1 -1
  211. package/dist/packageMetadata.js +4 -4
  212. package/dist/packageMetadata.js.map +1 -1
  213. package/dist/request/AuthenticationHeaderParser.d.ts +19 -19
  214. package/dist/request/AuthenticationHeaderParser.d.ts.map +1 -1
  215. package/dist/request/AuthenticationHeaderParser.js +56 -57
  216. package/dist/request/AuthenticationHeaderParser.js.map +1 -1
  217. package/dist/request/BaseAuthRequest.d.ts +37 -37
  218. package/dist/request/BaseAuthRequest.d.ts.map +1 -1
  219. package/dist/request/CommonAuthorizationCodeRequest.d.ts +27 -27
  220. package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -1
  221. package/dist/request/CommonAuthorizationUrlRequest.d.ts +50 -50
  222. package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -1
  223. package/dist/request/CommonClientCredentialRequest.d.ts +17 -17
  224. package/dist/request/CommonClientCredentialRequest.d.ts.map +1 -1
  225. package/dist/request/CommonDeviceCodeRequest.d.ts +21 -21
  226. package/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -1
  227. package/dist/request/CommonEndSessionRequest.d.ts +21 -21
  228. package/dist/request/CommonEndSessionRequest.d.ts.map +1 -1
  229. package/dist/request/CommonOnBehalfOfRequest.d.ts +13 -13
  230. package/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -1
  231. package/dist/request/CommonRefreshTokenRequest.d.ts +19 -19
  232. package/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -1
  233. package/dist/request/CommonSilentFlowRequest.d.ts +18 -18
  234. package/dist/request/CommonSilentFlowRequest.d.ts.map +1 -1
  235. package/dist/request/CommonUsernamePasswordRequest.d.ts +17 -17
  236. package/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -1
  237. package/dist/request/NativeRequest.d.ts +19 -19
  238. package/dist/request/NativeRequest.d.ts.map +1 -1
  239. package/dist/request/NativeSignOutRequest.d.ts +5 -5
  240. package/dist/request/NativeSignOutRequest.d.ts.map +1 -1
  241. package/dist/request/RequestParameterBuilder.d.ts +216 -216
  242. package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
  243. package/dist/request/RequestParameterBuilder.js +376 -378
  244. package/dist/request/RequestParameterBuilder.js.map +1 -1
  245. package/dist/request/RequestValidator.d.ts +33 -33
  246. package/dist/request/RequestValidator.d.ts.map +1 -1
  247. package/dist/request/RequestValidator.js +84 -89
  248. package/dist/request/RequestValidator.js.map +1 -1
  249. package/dist/request/ScopeSet.d.ts +88 -88
  250. package/dist/request/ScopeSet.d.ts.map +1 -1
  251. package/dist/request/ScopeSet.js +198 -198
  252. package/dist/request/ScopeSet.js.map +1 -1
  253. package/dist/response/AuthenticationResult.d.ts +39 -39
  254. package/dist/response/AuthenticationResult.d.ts.map +1 -1
  255. package/dist/response/AuthorizationCodePayload.d.ts +13 -13
  256. package/dist/response/AuthorizationCodePayload.d.ts.map +1 -1
  257. package/dist/response/DeviceCodeResponse.d.ts +25 -25
  258. package/dist/response/DeviceCodeResponse.d.ts.map +1 -1
  259. package/dist/response/ExternalTokenResponse.d.ts +15 -15
  260. package/dist/response/ExternalTokenResponse.d.ts.map +1 -1
  261. package/dist/response/IMDSBadResponse.d.ts +4 -4
  262. package/dist/response/IMDSBadResponse.d.ts.map +1 -1
  263. package/dist/response/ResponseHandler.d.ts +72 -72
  264. package/dist/response/ResponseHandler.d.ts.map +1 -1
  265. package/dist/response/ResponseHandler.js +301 -286
  266. package/dist/response/ResponseHandler.js.map +1 -1
  267. package/dist/response/ServerAuthorizationCodeResponse.d.ts +25 -25
  268. package/dist/response/ServerAuthorizationCodeResponse.d.ts.map +1 -1
  269. package/dist/response/ServerAuthorizationTokenResponse.d.ts +44 -44
  270. package/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -1
  271. package/dist/telemetry/performance/IPerformanceClient.d.ts +42 -43
  272. package/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
  273. package/dist/telemetry/performance/IPerformanceMeasurement.d.ts +5 -5
  274. package/dist/telemetry/performance/PerformanceClient.d.ts +189 -197
  275. package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
  276. package/dist/telemetry/performance/PerformanceClient.js +407 -402
  277. package/dist/telemetry/performance/PerformanceClient.js.map +1 -1
  278. package/dist/telemetry/performance/PerformanceEvent.d.ts +439 -439
  279. package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
  280. package/dist/telemetry/performance/PerformanceEvent.js +227 -227
  281. package/dist/telemetry/performance/PerformanceEvent.js.map +1 -1
  282. package/dist/telemetry/performance/StubPerformanceClient.d.ts +19 -17
  283. package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
  284. package/dist/telemetry/performance/StubPerformanceClient.js +37 -46
  285. package/dist/telemetry/performance/StubPerformanceClient.js.map +1 -1
  286. package/dist/telemetry/server/ServerTelemetryManager.d.ts +65 -66
  287. package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
  288. package/dist/telemetry/server/ServerTelemetryManager.js +199 -161
  289. package/dist/telemetry/server/ServerTelemetryManager.js.map +1 -1
  290. package/dist/telemetry/server/ServerTelemetryRequest.d.ts +8 -8
  291. package/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -1
  292. package/dist/url/IUri.d.ts +12 -12
  293. package/dist/url/UrlString.d.ts +70 -70
  294. package/dist/url/UrlString.d.ts.map +1 -1
  295. package/dist/url/UrlString.js +243 -232
  296. package/dist/url/UrlString.js.map +1 -1
  297. package/dist/utils/Constants.d.ts +331 -331
  298. package/dist/utils/Constants.d.ts.map +1 -1
  299. package/dist/utils/Constants.js +374 -373
  300. package/dist/utils/Constants.js.map +1 -1
  301. package/dist/utils/MsalTypes.d.ts +6 -6
  302. package/dist/utils/MsalTypes.d.ts.map +1 -1
  303. package/dist/utils/ProtocolUtils.d.ts +42 -42
  304. package/dist/utils/ProtocolUtils.d.ts.map +1 -1
  305. package/dist/utils/ProtocolUtils.js +72 -69
  306. package/dist/utils/ProtocolUtils.js.map +1 -1
  307. package/dist/utils/StringUtils.d.ts +53 -53
  308. package/dist/utils/StringUtils.d.ts.map +1 -1
  309. package/dist/utils/StringUtils.js +125 -123
  310. package/dist/utils/StringUtils.js.map +1 -1
  311. package/dist/utils/TimeUtils.d.ts +27 -27
  312. package/dist/utils/TimeUtils.d.ts.map +1 -1
  313. package/dist/utils/TimeUtils.js +46 -49
  314. package/dist/utils/TimeUtils.js.map +1 -1
  315. package/package.json +10 -7
  316. package/dist/_virtual/_tslib.js +0 -90
  317. package/dist/_virtual/_tslib.js.map +0 -1
  318. package/dist/client/ClientCredentialClient.d.ts +0 -38
  319. package/dist/client/ClientCredentialClient.d.ts.map +0 -1
  320. package/dist/client/ClientCredentialClient.js +0 -203
  321. package/dist/client/ClientCredentialClient.js.map +0 -1
  322. package/dist/client/DeviceCodeClient.d.ts +0 -57
  323. package/dist/client/DeviceCodeClient.d.ts.map +0 -1
  324. package/dist/client/DeviceCodeClient.js +0 -250
  325. package/dist/client/DeviceCodeClient.js.map +0 -1
  326. package/dist/client/OnBehalfOfClient.d.ts +0 -51
  327. package/dist/client/OnBehalfOfClient.d.ts.map +0 -1
  328. package/dist/client/OnBehalfOfClient.js +0 -248
  329. package/dist/client/OnBehalfOfClient.js.map +0 -1
  330. package/dist/client/UsernamePasswordClient.d.ts +0 -29
  331. package/dist/client/UsernamePasswordClient.d.ts.map +0 -1
  332. package/dist/client/UsernamePasswordClient.js +0 -129
  333. package/dist/client/UsernamePasswordClient.js.map +0 -1
@@ -1,166 +1,166 @@
1
- import { AccountFilter } from "../utils/CacheTypes";
2
- import { CacheRecord } from "../entities/CacheRecord";
3
- import { AccountEntity } from "../entities/AccountEntity";
4
- import { AccountInfo } from "../../account/AccountInfo";
5
- import { AppMetadataEntity } from "../entities/AppMetadataEntity";
6
- import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity";
7
- import { ThrottlingEntity } from "../entities/ThrottlingEntity";
8
- import { IdTokenEntity } from "../entities/IdTokenEntity";
9
- import { AccessTokenEntity } from "../entities/AccessTokenEntity";
10
- import { RefreshTokenEntity } from "../entities/RefreshTokenEntity";
11
- import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity";
12
- export interface ICacheManager {
13
- /**
14
- * fetch the account entity from the platform cache
15
- * @param accountKey
16
- */
17
- getAccount(accountKey: string): AccountEntity | null;
18
- /**
19
- * set account entity in the platform cache
20
- * @param account
21
- */
22
- setAccount(account: AccountEntity): void;
23
- /**
24
- * Returns true if the given key matches our account key schema. Also matches homeAccountId and/or tenantId if provided
25
- * @param key
26
- * @param homeAccountId
27
- * @param tenantId
28
- * @returns
29
- */
30
- isAccountKey(key: string, homeAccountId?: string, tenantId?: string): boolean;
31
- /**
32
- * fetch the idToken entity from the platform cache
33
- * @param idTokenKey
34
- */
35
- getIdTokenCredential(idTokenKey: string): IdTokenEntity | null;
36
- /**
37
- * set idToken entity to the platform cache
38
- * @param idToken
39
- */
40
- setIdTokenCredential(idToken: IdTokenEntity): void;
41
- /**
42
- * fetch the idToken entity from the platform cache
43
- * @param accessTokenKey
44
- */
45
- getAccessTokenCredential(accessTokenKey: string): AccessTokenEntity | null;
46
- /**
47
- * set idToken entity to the platform cache
48
- * @param accessToken
49
- */
50
- setAccessTokenCredential(accessToken: AccessTokenEntity): void;
51
- /**
52
- * fetch the idToken entity from the platform cache
53
- * @param refreshTokenKey
54
- */
55
- getRefreshTokenCredential(refreshTokenKey: string): RefreshTokenEntity | null;
56
- /**
57
- * set idToken entity to the platform cache
58
- * @param refreshToken
59
- */
60
- setRefreshTokenCredential(refreshToken: RefreshTokenEntity): void;
61
- /**
62
- * fetch appMetadata entity from the platform cache
63
- * @param appMetadataKey
64
- */
65
- getAppMetadata(appMetadataKey: string): AppMetadataEntity | null;
66
- /**
67
- * set appMetadata entity to the platform cache
68
- * @param appMetadata
69
- */
70
- setAppMetadata(appMetadata: AppMetadataEntity): void;
71
- /**
72
- * fetch server telemetry entity from the platform cache
73
- * @param serverTelemetryKey
74
- */
75
- getServerTelemetry(serverTelemetryKey: string): ServerTelemetryEntity | null;
76
- /**
77
- * set server telemetry entity to the platform cache
78
- * @param serverTelemetryKey
79
- * @param serverTelemetry
80
- */
81
- setServerTelemetry(serverTelemetryKey: string, serverTelemetry: ServerTelemetryEntity): void;
82
- /**
83
- * fetch cloud discovery metadata entity from the platform cache
84
- * @param key
85
- */
86
- getAuthorityMetadata(key: string): AuthorityMetadataEntity | null;
87
- /**
88
- * Get cache keys for authority metadata
89
- */
90
- getAuthorityMetadataKeys(): Array<string>;
91
- /**
92
- * set cloud discovery metadata entity to the platform cache
93
- * @param key
94
- * @param value
95
- */
96
- setAuthorityMetadata(key: string, value: AuthorityMetadataEntity): void;
97
- /**
98
- * Provide an alias to find a matching AuthorityMetadataEntity in cache
99
- * @param host
100
- */
101
- getAuthorityMetadataByAlias(host: string): AuthorityMetadataEntity | null;
102
- /**
103
- * given an authority generates the cache key for authorityMetadata
104
- * @param authority
105
- */
106
- generateAuthorityMetadataCacheKey(authority: string): string;
107
- /**
108
- * fetch throttling entity from the platform cache
109
- * @param throttlingCacheKey
110
- */
111
- getThrottlingCache(throttlingCacheKey: string): ThrottlingEntity | null;
112
- /**
113
- * set throttling entity to the platform cache
114
- * @param throttlingCacheKey
115
- * @param throttlingCache
116
- */
117
- setThrottlingCache(throttlingCacheKey: string, throttlingCache: ThrottlingEntity): void;
118
- /**
119
- * Returns all accounts in cache
120
- */
121
- getAllAccounts(): AccountInfo[];
122
- /**
123
- * saves a cache record
124
- * @param cacheRecord
125
- */
126
- saveCacheRecord(cacheRecord: CacheRecord): Promise<void>;
127
- /**
128
- * retrieve accounts matching all provided filters; if no filter is set, get all accounts
129
- * @param homeAccountId
130
- * @param environment
131
- * @param realm
132
- */
133
- getAccountsFilteredBy(filter: AccountFilter): AccountEntity[];
134
- /**
135
- * Get AccountInfo object based on provided filters
136
- * @param filter
137
- */
138
- getAccountInfoFilteredBy(filter: AccountFilter): AccountInfo | null;
139
- /**
140
- * Removes all accounts and related tokens from cache.
141
- */
142
- removeAllAccounts(): Promise<void>;
143
- /**
144
- * returns a boolean if the given account is removed
145
- * @param account
146
- */
147
- removeAccount(accountKey: string): Promise<void>;
148
- /**
149
- * returns a boolean if the given account is removed
150
- * @param account
151
- */
152
- removeAccountContext(account: AccountEntity): Promise<void>;
153
- /**
154
- * @param key
155
- */
156
- removeIdToken(key: string): void;
157
- /**
158
- * @param key
159
- */
160
- removeAccessToken(key: string): Promise<void>;
161
- /**
162
- * @param key
163
- */
164
- removeRefreshToken(key: string): void;
165
- }
1
+ import { AccountFilter } from "../utils/CacheTypes";
2
+ import { CacheRecord } from "../entities/CacheRecord";
3
+ import { AccountEntity } from "../entities/AccountEntity";
4
+ import { AccountInfo } from "../../account/AccountInfo";
5
+ import { AppMetadataEntity } from "../entities/AppMetadataEntity";
6
+ import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity";
7
+ import { ThrottlingEntity } from "../entities/ThrottlingEntity";
8
+ import { IdTokenEntity } from "../entities/IdTokenEntity";
9
+ import { AccessTokenEntity } from "../entities/AccessTokenEntity";
10
+ import { RefreshTokenEntity } from "../entities/RefreshTokenEntity";
11
+ import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity";
12
+ export interface ICacheManager {
13
+ /**
14
+ * fetch the account entity from the platform cache
15
+ * @param accountKey
16
+ */
17
+ getAccount(accountKey: string): AccountEntity | null;
18
+ /**
19
+ * set account entity in the platform cache
20
+ * @param account
21
+ */
22
+ setAccount(account: AccountEntity): void;
23
+ /**
24
+ * Returns true if the given key matches our account key schema. Also matches homeAccountId and/or tenantId if provided
25
+ * @param key
26
+ * @param homeAccountId
27
+ * @param tenantId
28
+ * @returns
29
+ */
30
+ isAccountKey(key: string, homeAccountId?: string, tenantId?: string): boolean;
31
+ /**
32
+ * fetch the idToken entity from the platform cache
33
+ * @param idTokenKey
34
+ */
35
+ getIdTokenCredential(idTokenKey: string): IdTokenEntity | null;
36
+ /**
37
+ * set idToken entity to the platform cache
38
+ * @param idToken
39
+ */
40
+ setIdTokenCredential(idToken: IdTokenEntity): void;
41
+ /**
42
+ * fetch the idToken entity from the platform cache
43
+ * @param accessTokenKey
44
+ */
45
+ getAccessTokenCredential(accessTokenKey: string): AccessTokenEntity | null;
46
+ /**
47
+ * set idToken entity to the platform cache
48
+ * @param accessToken
49
+ */
50
+ setAccessTokenCredential(accessToken: AccessTokenEntity): void;
51
+ /**
52
+ * fetch the idToken entity from the platform cache
53
+ * @param refreshTokenKey
54
+ */
55
+ getRefreshTokenCredential(refreshTokenKey: string): RefreshTokenEntity | null;
56
+ /**
57
+ * set idToken entity to the platform cache
58
+ * @param refreshToken
59
+ */
60
+ setRefreshTokenCredential(refreshToken: RefreshTokenEntity): void;
61
+ /**
62
+ * fetch appMetadata entity from the platform cache
63
+ * @param appMetadataKey
64
+ */
65
+ getAppMetadata(appMetadataKey: string): AppMetadataEntity | null;
66
+ /**
67
+ * set appMetadata entity to the platform cache
68
+ * @param appMetadata
69
+ */
70
+ setAppMetadata(appMetadata: AppMetadataEntity): void;
71
+ /**
72
+ * fetch server telemetry entity from the platform cache
73
+ * @param serverTelemetryKey
74
+ */
75
+ getServerTelemetry(serverTelemetryKey: string): ServerTelemetryEntity | null;
76
+ /**
77
+ * set server telemetry entity to the platform cache
78
+ * @param serverTelemetryKey
79
+ * @param serverTelemetry
80
+ */
81
+ setServerTelemetry(serverTelemetryKey: string, serverTelemetry: ServerTelemetryEntity): void;
82
+ /**
83
+ * fetch cloud discovery metadata entity from the platform cache
84
+ * @param key
85
+ */
86
+ getAuthorityMetadata(key: string): AuthorityMetadataEntity | null;
87
+ /**
88
+ * Get cache keys for authority metadata
89
+ */
90
+ getAuthorityMetadataKeys(): Array<string>;
91
+ /**
92
+ * set cloud discovery metadata entity to the platform cache
93
+ * @param key
94
+ * @param value
95
+ */
96
+ setAuthorityMetadata(key: string, value: AuthorityMetadataEntity): void;
97
+ /**
98
+ * Provide an alias to find a matching AuthorityMetadataEntity in cache
99
+ * @param host
100
+ */
101
+ getAuthorityMetadataByAlias(host: string): AuthorityMetadataEntity | null;
102
+ /**
103
+ * given an authority generates the cache key for authorityMetadata
104
+ * @param authority
105
+ */
106
+ generateAuthorityMetadataCacheKey(authority: string): string;
107
+ /**
108
+ * fetch throttling entity from the platform cache
109
+ * @param throttlingCacheKey
110
+ */
111
+ getThrottlingCache(throttlingCacheKey: string): ThrottlingEntity | null;
112
+ /**
113
+ * set throttling entity to the platform cache
114
+ * @param throttlingCacheKey
115
+ * @param throttlingCache
116
+ */
117
+ setThrottlingCache(throttlingCacheKey: string, throttlingCache: ThrottlingEntity): void;
118
+ /**
119
+ * Returns all accounts in cache
120
+ */
121
+ getAllAccounts(): AccountInfo[];
122
+ /**
123
+ * saves a cache record
124
+ * @param cacheRecord
125
+ */
126
+ saveCacheRecord(cacheRecord: CacheRecord): Promise<void>;
127
+ /**
128
+ * retrieve accounts matching all provided filters; if no filter is set, get all accounts
129
+ * @param homeAccountId
130
+ * @param environment
131
+ * @param realm
132
+ */
133
+ getAccountsFilteredBy(filter: AccountFilter): AccountEntity[];
134
+ /**
135
+ * Get AccountInfo object based on provided filters
136
+ * @param filter
137
+ */
138
+ getAccountInfoFilteredBy(filter: AccountFilter): AccountInfo | null;
139
+ /**
140
+ * Removes all accounts and related tokens from cache.
141
+ */
142
+ removeAllAccounts(): Promise<void>;
143
+ /**
144
+ * returns a boolean if the given account is removed
145
+ * @param account
146
+ */
147
+ removeAccount(accountKey: string): Promise<void>;
148
+ /**
149
+ * returns a boolean if the given account is removed
150
+ * @param account
151
+ */
152
+ removeAccountContext(account: AccountEntity): Promise<void>;
153
+ /**
154
+ * @param key
155
+ */
156
+ removeIdToken(key: string): void;
157
+ /**
158
+ * @param key
159
+ */
160
+ removeAccessToken(key: string): Promise<void>;
161
+ /**
162
+ * @param key
163
+ */
164
+ removeRefreshToken(key: string): void;
165
+ }
166
166
  //# sourceMappingURL=ICacheManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ICacheManager.d.ts","sourceRoot":"","sources":["../../../src/cache/interface/ICacheManager.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAE9E,MAAM,WAAW,aAAa;IAE1B;;;OAGG;IACH,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAAC;IAErD;;;OAGG;IACH,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAAC;IAEzC;;;;;;OAMG;IACH,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAE7E;;;OAGG;IACH,oBAAoB,CAAC,UAAU,EAAE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,CAAC;IAEjD;;;OAGG;IACH,oBAAoB,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5D;;OAEG;IACH,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC;;OAEG;IACH,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9C;;OAEG;IACH,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC"}
@@ -1,6 +1,6 @@
1
- import { TokenCacheContext } from "../persistence/TokenCacheContext";
2
- export interface ICachePlugin {
3
- beforeCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>;
4
- afterCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>;
5
- }
1
+ import { TokenCacheContext } from "../persistence/TokenCacheContext";
2
+ export interface ICachePlugin {
3
+ beforeCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>;
4
+ afterCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>;
5
+ }
6
6
  //# sourceMappingURL=ICachePlugin.d.ts.map
@@ -1,5 +1,5 @@
1
- export interface ISerializableTokenCache {
2
- deserialize: (cache: string) => void;
3
- serialize: () => string;
4
- }
1
+ export interface ISerializableTokenCache {
2
+ deserialize: (cache: string) => void;
3
+ serialize: () => string;
4
+ }
5
5
  //# sourceMappingURL=ISerializableTokenCache.d.ts.map
@@ -1,24 +1,24 @@
1
- import { ISerializableTokenCache } from "../interface/ISerializableTokenCache";
2
- /**
3
- * This class instance helps track the memory changes facilitating
4
- * decisions to read from and write to the persistent cache
5
- */ export declare class TokenCacheContext {
6
- /**
7
- * boolean indicating cache change
8
- */
9
- hasChanged: boolean;
10
- /**
11
- * serializable token cache interface
12
- */
13
- cache: ISerializableTokenCache;
14
- constructor(tokenCache: ISerializableTokenCache, hasChanged: boolean);
15
- /**
16
- * boolean which indicates the changes in cache
17
- */
18
- get cacheHasChanged(): boolean;
19
- /**
20
- * function to retrieve the token cache
21
- */
22
- get tokenCache(): ISerializableTokenCache;
23
- }
1
+ import { ISerializableTokenCache } from "../interface/ISerializableTokenCache";
2
+ /**
3
+ * This class instance helps track the memory changes facilitating
4
+ * decisions to read from and write to the persistent cache
5
+ */ export declare class TokenCacheContext {
6
+ /**
7
+ * boolean indicating cache change
8
+ */
9
+ hasChanged: boolean;
10
+ /**
11
+ * serializable token cache interface
12
+ */
13
+ cache: ISerializableTokenCache;
14
+ constructor(tokenCache: ISerializableTokenCache, hasChanged: boolean);
15
+ /**
16
+ * boolean which indicates the changes in cache
17
+ */
18
+ get cacheHasChanged(): boolean;
19
+ /**
20
+ * function to retrieve the token cache
21
+ */
22
+ get tokenCache(): ISerializableTokenCache;
23
+ }
24
24
  //# sourceMappingURL=TokenCacheContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenCacheContext.d.ts","sourceRoot":"","sources":["../../../src/cache/persistence/TokenCacheContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAE/E;;;GAGG,CAAA,qBAAa,iBAAiB;IAC7B;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,uBAAuB,CAAC;gBAEnB,UAAU,EAAE,uBAAuB,EAAE,UAAU,EAAE,OAAO;IAKpE;;OAEG;IACH,IAAI,eAAe,IAAI,OAAO,CAE7B;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,uBAAuB,CAExC;CACJ"}
1
+ {"version":3,"file":"TokenCacheContext.d.ts","sourceRoot":"","sources":["../../../src/cache/persistence/TokenCacheContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAE/E;;;GAGG,CAAC,qBAAa,iBAAiB;IAC9B;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,uBAAuB,CAAC;gBAEnB,UAAU,EAAE,uBAAuB,EAAE,UAAU,EAAE,OAAO;IAKpE;;OAEG;IACH,IAAI,eAAe,IAAI,OAAO,CAE7B;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,uBAAuB,CAExC;CACJ"}
@@ -1,39 +1,30 @@
1
- /*! @azure/msal-common v13.0.0 2023-05-01 */
1
+ /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
2
2
  'use strict';
3
- /*
4
- * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Licensed under the MIT License.
6
- */
7
- /**
8
- * This class instance helps track the memory changes facilitating
9
- * decisions to read from and write to the persistent cache
10
- */ var TokenCacheContext = /** @class */ (function () {
11
- function TokenCacheContext(tokenCache, hasChanged) {
12
- this.cache = tokenCache;
13
- this.hasChanged = hasChanged;
14
- }
15
- Object.defineProperty(TokenCacheContext.prototype, "cacheHasChanged", {
16
- /**
17
- * boolean which indicates the changes in cache
18
- */
19
- get: function () {
20
- return this.hasChanged;
21
- },
22
- enumerable: false,
23
- configurable: true
24
- });
25
- Object.defineProperty(TokenCacheContext.prototype, "tokenCache", {
26
- /**
27
- * function to retrieve the token cache
28
- */
29
- get: function () {
30
- return this.cache;
31
- },
32
- enumerable: false,
33
- configurable: true
34
- });
35
- return TokenCacheContext;
36
- }());
3
+ /*
4
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5
+ * Licensed under the MIT License.
6
+ */
7
+ /**
8
+ * This class instance helps track the memory changes facilitating
9
+ * decisions to read from and write to the persistent cache
10
+ */ class TokenCacheContext {
11
+ constructor(tokenCache, hasChanged) {
12
+ this.cache = tokenCache;
13
+ this.hasChanged = hasChanged;
14
+ }
15
+ /**
16
+ * boolean which indicates the changes in cache
17
+ */
18
+ get cacheHasChanged() {
19
+ return this.hasChanged;
20
+ }
21
+ /**
22
+ * function to retrieve the token cache
23
+ */
24
+ get tokenCache() {
25
+ return this.cache;
26
+ }
27
+ }
37
28
 
38
29
  export { TokenCacheContext };
39
30
  //# sourceMappingURL=TokenCacheContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenCacheContext.js","sources":["../../../src/cache/persistence/TokenCacheContext.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { ISerializableTokenCache } from \"../interface/ISerializableTokenCache\";\n\n/**\n * This class instance helps track the memory changes facilitating\n * decisions to read from and write to the persistent cache\n */export class TokenCacheContext {\n /**\n * boolean indicating cache change\n */\n hasChanged: boolean;\n /**\n * serializable token cache interface\n */\n cache: ISerializableTokenCache;\n\n constructor(tokenCache: ISerializableTokenCache, hasChanged: boolean) {\n this.cache = tokenCache;\n this.hasChanged = hasChanged;\n }\n\n /**\n * boolean which indicates the changes in cache\n */\n get cacheHasChanged(): boolean {\n return this.hasChanged;\n }\n\n /**\n * function to retrieve the token cache\n */\n get tokenCache(): ISerializableTokenCache {\n return this.cache;\n }\n}\n"],"names":[],"mappings":";;AAAA;;;AAGG;AAIH;;;IAGG,IAAA,iBAAA,kBAAA,YAAA;IAUC,SAAY,iBAAA,CAAA,UAAmC,EAAE,UAAmB,EAAA;AAChE,QAAA,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC;AACxB,QAAA,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;KAChC;AAKD,IAAA,MAAA,CAAA,cAAA,CAAI,iBAAe,CAAA,SAAA,EAAA,iBAAA,EAAA;AAHnB;;AAEG;AACH,QAAA,GAAA,EAAA,YAAA;YACI,OAAO,IAAI,CAAC,UAAU,CAAC;SAC1B;;;AAAA,KAAA,CAAA,CAAA;AAKD,IAAA,MAAA,CAAA,cAAA,CAAI,iBAAU,CAAA,SAAA,EAAA,YAAA,EAAA;AAHd;;AAEG;AACH,QAAA,GAAA,EAAA,YAAA;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;SACrB;;;AAAA,KAAA,CAAA,CAAA;IACL,OAAC,iBAAA,CAAA;AAAD,CAAC,EAAA;;;;"}
1
+ {"version":3,"file":"TokenCacheContext.js","sources":["../../../src/cache/persistence/TokenCacheContext.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAIH;;;UAGiB,iBAAiB,CAAA;IAU9B,WAAY,CAAA,UAAmC,EAAE,UAAmB,EAAA;AAChE,QAAA,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC;AACxB,QAAA,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;KAChC;AAED;;AAEG;AACH,IAAA,IAAI,eAAe,GAAA;QACf,OAAO,IAAI,CAAC,UAAU,CAAC;KAC1B;AAED;;AAEG;AACH,IAAA,IAAI,UAAU,GAAA;QACV,OAAO,IAAI,CAAC,KAAK,CAAC;KACrB;AACJ;;;;"}
@@ -1,63 +1,63 @@
1
- import { AccountEntity } from "../entities/AccountEntity";
2
- import { IdTokenEntity } from "../entities/IdTokenEntity";
3
- import { AccessTokenEntity } from "../entities/AccessTokenEntity";
4
- import { RefreshTokenEntity } from "../entities/RefreshTokenEntity";
5
- import { AppMetadataEntity } from "../entities/AppMetadataEntity";
6
- import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity";
7
- import { ThrottlingEntity } from "../entities/ThrottlingEntity";
8
- import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity";
9
- import { AuthenticationScheme } from "../../utils/Constants";
10
- import { ScopeSet } from "../../request/ScopeSet";
11
- export declare type AccountCache = Record<string, AccountEntity>;
12
- export declare type IdTokenCache = Record<string, IdTokenEntity>;
13
- export declare type AccessTokenCache = Record<string, AccessTokenEntity>;
14
- export declare type RefreshTokenCache = Record<string, RefreshTokenEntity>;
15
- export declare type AppMetadataCache = Record<string, AppMetadataEntity>;
16
- /**
17
- * Object type of all accepted cache types
18
- */
19
- export declare type ValidCacheType = AccountEntity | IdTokenEntity | AccessTokenEntity | RefreshTokenEntity | AppMetadataEntity | AuthorityMetadataEntity | ServerTelemetryEntity | ThrottlingEntity | string;
20
- /**
21
- * Object type of all credential types
22
- */
23
- export declare type ValidCredentialType = IdTokenEntity | AccessTokenEntity | RefreshTokenEntity;
24
- /**
25
- * Account: <home_account_id>-<environment>-<realm*>
26
- */
27
- export declare type AccountFilter = {
28
- homeAccountId?: string;
29
- localAccountId?: string;
30
- username?: string;
31
- environment?: string;
32
- realm?: string;
33
- nativeAccountId?: string;
34
- };
35
- /**
36
- * Credential: <home_account_id*>-<environment>-<credential_type>-<client_id>-<realm*>-<target*>-<scheme*>
37
- */
38
- export declare type CredentialFilter = {
39
- homeAccountId?: string;
40
- environment?: string;
41
- credentialType?: string;
42
- clientId?: string;
43
- familyId?: string;
44
- realm?: string;
45
- target?: ScopeSet;
46
- userAssertionHash?: string;
47
- tokenType?: AuthenticationScheme;
48
- keyId?: string;
49
- requestedClaimsHash?: string;
50
- };
51
- /**
52
- * AppMetadata: appmetadata-<environment>-<client_id>
53
- */
54
- export declare type AppMetadataFilter = {
55
- environment?: string;
56
- clientId?: string;
57
- };
58
- export declare type TokenKeys = {
59
- idToken: string[];
60
- accessToken: string[];
61
- refreshToken: string[];
62
- };
1
+ import { AccountEntity } from "../entities/AccountEntity";
2
+ import { IdTokenEntity } from "../entities/IdTokenEntity";
3
+ import { AccessTokenEntity } from "../entities/AccessTokenEntity";
4
+ import { RefreshTokenEntity } from "../entities/RefreshTokenEntity";
5
+ import { AppMetadataEntity } from "../entities/AppMetadataEntity";
6
+ import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity";
7
+ import { ThrottlingEntity } from "../entities/ThrottlingEntity";
8
+ import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity";
9
+ import { AuthenticationScheme } from "../../utils/Constants";
10
+ import { ScopeSet } from "../../request/ScopeSet";
11
+ export type AccountCache = Record<string, AccountEntity>;
12
+ export type IdTokenCache = Record<string, IdTokenEntity>;
13
+ export type AccessTokenCache = Record<string, AccessTokenEntity>;
14
+ export type RefreshTokenCache = Record<string, RefreshTokenEntity>;
15
+ export type AppMetadataCache = Record<string, AppMetadataEntity>;
16
+ /**
17
+ * Object type of all accepted cache types
18
+ */
19
+ export type ValidCacheType = AccountEntity | IdTokenEntity | AccessTokenEntity | RefreshTokenEntity | AppMetadataEntity | AuthorityMetadataEntity | ServerTelemetryEntity | ThrottlingEntity | string;
20
+ /**
21
+ * Object type of all credential types
22
+ */
23
+ export type ValidCredentialType = IdTokenEntity | AccessTokenEntity | RefreshTokenEntity;
24
+ /**
25
+ * Account: <home_account_id>-<environment>-<realm*>
26
+ */
27
+ export type AccountFilter = {
28
+ homeAccountId?: string;
29
+ localAccountId?: string;
30
+ username?: string;
31
+ environment?: string;
32
+ realm?: string;
33
+ nativeAccountId?: string;
34
+ };
35
+ /**
36
+ * Credential: <home_account_id*>-<environment>-<credential_type>-<client_id>-<realm*>-<target*>-<scheme*>
37
+ */
38
+ export type CredentialFilter = {
39
+ homeAccountId?: string;
40
+ environment?: string;
41
+ credentialType?: string;
42
+ clientId?: string;
43
+ familyId?: string;
44
+ realm?: string;
45
+ target?: ScopeSet;
46
+ userAssertionHash?: string;
47
+ tokenType?: AuthenticationScheme;
48
+ keyId?: string;
49
+ requestedClaimsHash?: string;
50
+ };
51
+ /**
52
+ * AppMetadata: appmetadata-<environment>-<client_id>
53
+ */
54
+ export type AppMetadataFilter = {
55
+ environment?: string;
56
+ clientId?: string;
57
+ };
58
+ export type TokenKeys = {
59
+ idToken: string[];
60
+ accessToken: string[];
61
+ refreshToken: string[];
62
+ };
63
63
  //# sourceMappingURL=CacheTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CacheTypes.d.ts","sourceRoot":"","sources":["../../../src/cache/utils/CacheTypes.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE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