@azure/msal-common 16.5.2 → 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 (872) 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 +1 -1
  18. package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
  19. package/dist/cache/utils/AccountEntityUtils.mjs +1 -1
  20. package/dist/cache/utils/CacheHelpers.mjs +1 -1
  21. package/dist/client/AuthorizationCodeClient.mjs +1 -1
  22. package/dist/client/RefreshTokenClient.mjs +1 -1
  23. package/dist/client/SilentFlowClient.mjs +1 -1
  24. package/dist/config/ClientConfiguration.mjs +1 -1
  25. package/dist/constants/AADServerParamKeys.mjs +1 -1
  26. package/dist/crypto/ICrypto.mjs +1 -1
  27. package/dist/crypto/JoseHeader.mjs +1 -1
  28. package/dist/crypto/PopTokenGenerator.mjs +1 -1
  29. package/dist/error/AuthError.mjs +1 -1
  30. package/dist/error/AuthErrorCodes.mjs +1 -1
  31. package/dist/error/CacheError.mjs +1 -1
  32. package/dist/error/CacheErrorCodes.mjs +1 -1
  33. package/dist/error/ClientAuthError.mjs +1 -1
  34. package/dist/error/ClientAuthErrorCodes.mjs +1 -1
  35. package/dist/error/ClientConfigurationError.mjs +1 -1
  36. package/dist/error/ClientConfigurationErrorCodes.mjs +1 -1
  37. package/dist/error/InteractionRequiredAuthError.mjs +1 -1
  38. package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
  39. package/dist/error/JoseHeaderError.mjs +1 -1
  40. package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
  41. package/dist/error/NetworkError.mjs +1 -1
  42. package/dist/error/PlatformBrokerError.mjs +1 -1
  43. package/dist/error/ServerError.mjs +1 -1
  44. package/dist/index-node.mjs +1 -1
  45. package/dist/index.mjs +1 -1
  46. package/dist/logger/Logger.mjs +1 -1
  47. package/dist/network/INetworkModule.mjs +1 -1
  48. package/dist/network/RequestThumbprint.mjs +1 -1
  49. package/dist/network/ThrottlingUtils.mjs +1 -1
  50. package/dist/packageMetadata.mjs +2 -2
  51. package/dist/protocol/Authorize.mjs +1 -1
  52. package/dist/protocol/Token.mjs +1 -1
  53. package/dist/request/AuthenticationHeaderParser.mjs +1 -1
  54. package/dist/request/BaseAuthRequest.mjs +1 -1
  55. package/dist/request/RequestParameterBuilder.mjs +1 -1
  56. package/dist/request/ScopeSet.mjs +1 -1
  57. package/dist/response/ResponseHandler.mjs +1 -1
  58. package/dist/telemetry/performance/PerformanceClient.mjs +1 -1
  59. package/dist/telemetry/performance/PerformanceEvent.mjs +1 -1
  60. package/dist/telemetry/performance/PerformanceEvents.mjs +1 -1
  61. package/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
  62. package/dist/telemetry/server/ServerTelemetryManager.mjs +1 -1
  63. package/dist/url/UrlString.mjs +1 -1
  64. package/dist/utils/ClientAssertionUtils.mjs +1 -1
  65. package/dist/utils/Constants.mjs +1 -1
  66. package/dist/utils/FunctionWrappers.mjs +1 -1
  67. package/dist/utils/ProtocolUtils.mjs +1 -1
  68. package/dist/utils/StringUtils.mjs +1 -1
  69. package/dist/utils/TimeUtils.mjs +1 -1
  70. package/dist/utils/UrlUtils.mjs +1 -1
  71. package/dist-browser/account/AccountInfo.mjs +1 -1
  72. package/dist-browser/account/AuthToken.mjs +1 -1
  73. package/dist-browser/account/CcsCredential.mjs +1 -1
  74. package/dist-browser/account/ClientInfo.mjs +1 -1
  75. package/dist-browser/account/TokenClaims.mjs +1 -1
  76. package/dist-browser/authority/Authority.mjs +1 -1
  77. package/dist-browser/authority/AuthorityFactory.mjs +1 -1
  78. package/dist-browser/authority/AuthorityMetadata.mjs +1 -1
  79. package/dist-browser/authority/AuthorityOptions.mjs +1 -1
  80. package/dist-browser/authority/AuthorityType.mjs +1 -1
  81. package/dist-browser/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
  82. package/dist-browser/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
  83. package/dist-browser/authority/OpenIdConfigResponse.mjs +1 -1
  84. package/dist-browser/authority/ProtocolMode.mjs +1 -1
  85. package/dist-browser/authority/RegionDiscovery.mjs +1 -1
  86. package/dist-browser/cache/CacheManager.mjs +1 -1
  87. package/dist-browser/cache/persistence/TokenCacheContext.mjs +1 -1
  88. package/dist-browser/cache/utils/AccountEntityUtils.mjs +1 -1
  89. package/dist-browser/cache/utils/CacheHelpers.mjs +1 -1
  90. package/dist-browser/client/AuthorizationCodeClient.mjs +1 -1
  91. package/dist-browser/client/RefreshTokenClient.mjs +1 -1
  92. package/dist-browser/client/SilentFlowClient.mjs +1 -1
  93. package/dist-browser/config/ClientConfiguration.mjs +1 -1
  94. package/dist-browser/constants/AADServerParamKeys.mjs +1 -1
  95. package/dist-browser/crypto/ICrypto.mjs +1 -1
  96. package/dist-browser/crypto/JoseHeader.mjs +1 -1
  97. package/dist-browser/crypto/PopTokenGenerator.mjs +1 -1
  98. package/dist-browser/error/AuthError.mjs +1 -1
  99. package/dist-browser/error/AuthErrorCodes.mjs +1 -1
  100. package/dist-browser/error/CacheError.mjs +1 -1
  101. package/dist-browser/error/CacheErrorCodes.mjs +1 -1
  102. package/dist-browser/error/ClientAuthError.mjs +1 -1
  103. package/dist-browser/error/ClientAuthErrorCodes.mjs +1 -1
  104. package/dist-browser/error/ClientConfigurationError.mjs +1 -1
  105. package/dist-browser/error/ClientConfigurationErrorCodes.mjs +1 -1
  106. package/dist-browser/error/InteractionRequiredAuthError.mjs +1 -1
  107. package/dist-browser/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
  108. package/dist-browser/error/JoseHeaderError.mjs +1 -1
  109. package/dist-browser/error/JoseHeaderErrorCodes.mjs +1 -1
  110. package/dist-browser/error/NetworkError.mjs +1 -1
  111. package/dist-browser/error/PlatformBrokerError.mjs +1 -1
  112. package/dist-browser/error/ServerError.mjs +1 -1
  113. package/dist-browser/index-browser.mjs +1 -1
  114. package/dist-browser/index.mjs +1 -1
  115. package/dist-browser/log-strings-mapping.json +2 -2
  116. package/dist-browser/logger/Logger.mjs +1 -1
  117. package/dist-browser/network/INetworkModule.mjs +1 -1
  118. package/dist-browser/network/RequestThumbprint.mjs +1 -1
  119. package/dist-browser/network/ThrottlingUtils.mjs +1 -1
  120. package/dist-browser/packageMetadata.mjs +2 -2
  121. package/dist-browser/protocol/Authorize.mjs +1 -1
  122. package/dist-browser/protocol/Token.mjs +1 -1
  123. package/dist-browser/request/AuthenticationHeaderParser.mjs +1 -1
  124. package/dist-browser/request/BaseAuthRequest.mjs +1 -1
  125. package/dist-browser/request/RequestParameterBuilder.mjs +1 -1
  126. package/dist-browser/request/ScopeSet.mjs +1 -1
  127. package/dist-browser/response/ResponseHandler.mjs +1 -1
  128. package/dist-browser/telemetry/performance/PerformanceClient.mjs +1 -1
  129. package/dist-browser/telemetry/performance/PerformanceEvent.mjs +1 -1
  130. package/dist-browser/telemetry/performance/PerformanceEvents.mjs +1 -1
  131. package/dist-browser/telemetry/performance/StubPerformanceClient.mjs +1 -1
  132. package/dist-browser/telemetry/server/ServerTelemetryManager.mjs +1 -1
  133. package/dist-browser/url/UrlString.mjs +1 -1
  134. package/dist-browser/utils/ClientAssertionUtils.mjs +1 -1
  135. package/dist-browser/utils/Constants.mjs +1 -1
  136. package/dist-browser/utils/FunctionWrappers.mjs +1 -1
  137. package/dist-browser/utils/ProtocolUtils.mjs +1 -1
  138. package/dist-browser/utils/StringUtils.mjs +1 -1
  139. package/dist-browser/utils/TimeUtils.mjs +1 -1
  140. package/dist-browser/utils/UrlUtils.mjs +1 -1
  141. package/lib/index-browser.cjs +2 -2
  142. package/lib/{index-node-ByMjZ1FK.js → index-node-BtcbvYTx.js} +3 -3
  143. package/lib/{index-node-ByMjZ1FK.js.map → index-node-BtcbvYTx.js.map} +1 -1
  144. package/lib/index-node.cjs +2 -2
  145. package/lib/index.cjs +2 -2
  146. package/node/package.json +1 -1
  147. package/package.json +12 -10
  148. package/src/packageMetadata.ts +1 -1
  149. package/types/index-browser.d.cts +1 -0
  150. package/types/index-node.d.cts +1 -0
  151. package/types/index.d.cts +1 -0
  152. package/types/packageMetadata.d.ts +3 -0
  153. package/dist/account/AccountInfo.d.ts +0 -73
  154. package/dist/account/AccountInfo.d.ts.map +0 -1
  155. package/dist/account/AuthToken.d.ts +0 -24
  156. package/dist/account/AuthToken.d.ts.map +0 -1
  157. package/dist/account/CcsCredential.d.ts +0 -10
  158. package/dist/account/CcsCredential.d.ts.map +0 -1
  159. package/dist/account/ClientCredentials.d.ts +0 -20
  160. package/dist/account/ClientCredentials.d.ts.map +0 -1
  161. package/dist/account/ClientInfo.d.ts +0 -23
  162. package/dist/account/ClientInfo.d.ts.map +0 -1
  163. package/dist/account/TokenClaims.d.ts +0 -88
  164. package/dist/account/TokenClaims.d.ts.map +0 -1
  165. package/dist/authority/Authority.d.ts +0 -255
  166. package/dist/authority/Authority.d.ts.map +0 -1
  167. package/dist/authority/AuthorityFactory.d.ts +0 -23
  168. package/dist/authority/AuthorityFactory.d.ts.map +0 -1
  169. package/dist/authority/AuthorityMetadata.d.ts +0 -44
  170. package/dist/authority/AuthorityMetadata.d.ts.map +0 -1
  171. package/dist/authority/AuthorityOptions.d.ts +0 -27
  172. package/dist/authority/AuthorityOptions.d.ts.map +0 -1
  173. package/dist/authority/AuthorityType.d.ts +0 -11
  174. package/dist/authority/AuthorityType.d.ts.map +0 -1
  175. package/dist/authority/AzureRegion.d.ts +0 -2
  176. package/dist/authority/AzureRegion.d.ts.map +0 -1
  177. package/dist/authority/AzureRegionConfiguration.d.ts +0 -6
  178. package/dist/authority/AzureRegionConfiguration.d.ts.map +0 -1
  179. package/dist/authority/CloudDiscoveryMetadata.d.ts +0 -6
  180. package/dist/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
  181. package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -14
  182. package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -1
  183. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
  184. package/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
  185. package/dist/authority/ImdsOptions.d.ts +0 -6
  186. package/dist/authority/ImdsOptions.d.ts.map +0 -1
  187. package/dist/authority/OIDCOptions.d.ts +0 -9
  188. package/dist/authority/OIDCOptions.d.ts.map +0 -1
  189. package/dist/authority/OpenIdConfigResponse.d.ts +0 -12
  190. package/dist/authority/OpenIdConfigResponse.d.ts.map +0 -1
  191. package/dist/authority/ProtocolMode.d.ts +0 -20
  192. package/dist/authority/ProtocolMode.d.ts.map +0 -1
  193. package/dist/authority/RegionDiscovery.d.ts +0 -33
  194. package/dist/authority/RegionDiscovery.d.ts.map +0 -1
  195. package/dist/authority/RegionDiscoveryMetadata.d.ts +0 -7
  196. package/dist/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
  197. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -17
  198. package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -1
  199. package/dist/cache/CacheManager.d.ts +0 -485
  200. package/dist/cache/CacheManager.d.ts.map +0 -1
  201. package/dist/cache/entities/AccessTokenEntity.d.ts +0 -24
  202. package/dist/cache/entities/AccessTokenEntity.d.ts.map +0 -1
  203. package/dist/cache/entities/AccountEntity.d.ts +0 -47
  204. package/dist/cache/entities/AccountEntity.d.ts.map +0 -1
  205. package/dist/cache/entities/AppMetadataEntity.d.ts +0 -12
  206. package/dist/cache/entities/AppMetadataEntity.d.ts.map +0 -1
  207. package/dist/cache/entities/AuthorityMetadataEntity.d.ts +0 -16
  208. package/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
  209. package/dist/cache/entities/CacheRecord.d.ts +0 -14
  210. package/dist/cache/entities/CacheRecord.d.ts.map +0 -1
  211. package/dist/cache/entities/CredentialEntity.d.ts +0 -31
  212. package/dist/cache/entities/CredentialEntity.d.ts.map +0 -1
  213. package/dist/cache/entities/IdTokenEntity.d.ts +0 -9
  214. package/dist/cache/entities/IdTokenEntity.d.ts.map +0 -1
  215. package/dist/cache/entities/RefreshTokenEntity.d.ts +0 -8
  216. package/dist/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
  217. package/dist/cache/entities/ServerTelemetryEntity.d.ts +0 -7
  218. package/dist/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
  219. package/dist/cache/entities/ThrottlingEntity.d.ts +0 -8
  220. package/dist/cache/entities/ThrottlingEntity.d.ts.map +0 -1
  221. package/dist/cache/interface/ICacheManager.d.ts +0 -188
  222. package/dist/cache/interface/ICacheManager.d.ts.map +0 -1
  223. package/dist/cache/interface/ICachePlugin.d.ts +0 -6
  224. package/dist/cache/interface/ICachePlugin.d.ts.map +0 -1
  225. package/dist/cache/interface/ISerializableTokenCache.d.ts +0 -5
  226. package/dist/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
  227. package/dist/cache/persistence/TokenCacheContext.d.ts +0 -24
  228. package/dist/cache/persistence/TokenCacheContext.d.ts.map +0 -1
  229. package/dist/cache/utils/AccountEntityUtils.d.ts +0 -53
  230. package/dist/cache/utils/AccountEntityUtils.d.ts.map +0 -1
  231. package/dist/cache/utils/CacheHelpers.d.ts +0 -86
  232. package/dist/cache/utils/CacheHelpers.d.ts.map +0 -1
  233. package/dist/cache/utils/CacheTypes.d.ts +0 -69
  234. package/dist/cache/utils/CacheTypes.d.ts.map +0 -1
  235. package/dist/client/AuthorizationCodeClient.d.ts +0 -64
  236. package/dist/client/AuthorizationCodeClient.d.ts.map +0 -1
  237. package/dist/client/RefreshTokenClient.d.ts +0 -49
  238. package/dist/client/RefreshTokenClient.d.ts.map +0 -1
  239. package/dist/client/SilentFlowClient.d.ts +0 -35
  240. package/dist/client/SilentFlowClient.d.ts.map +0 -1
  241. package/dist/config/AppTokenProvider.d.ts +0 -39
  242. package/dist/config/AppTokenProvider.d.ts.map +0 -1
  243. package/dist/config/ClientConfiguration.d.ts +0 -145
  244. package/dist/config/ClientConfiguration.d.ts.map +0 -1
  245. package/dist/constants/AADServerParamKeys.d.ts +0 -61
  246. package/dist/constants/AADServerParamKeys.d.ts.map +0 -1
  247. package/dist/crypto/ICrypto.d.ts +0 -71
  248. package/dist/crypto/ICrypto.d.ts.map +0 -1
  249. package/dist/crypto/IGuidGenerator.d.ts +0 -5
  250. package/dist/crypto/IGuidGenerator.d.ts.map +0 -1
  251. package/dist/crypto/JoseHeader.d.ts +0 -23
  252. package/dist/crypto/JoseHeader.d.ts.map +0 -1
  253. package/dist/crypto/PopTokenGenerator.d.ts +0 -60
  254. package/dist/crypto/PopTokenGenerator.d.ts.map +0 -1
  255. package/dist/crypto/SignedHttpRequest.d.ts +0 -16
  256. package/dist/crypto/SignedHttpRequest.d.ts.map +0 -1
  257. package/dist/error/AuthError.d.ts +0 -33
  258. package/dist/error/AuthError.d.ts.map +0 -1
  259. package/dist/error/AuthErrorCodes.d.ts +0 -6
  260. package/dist/error/AuthErrorCodes.d.ts.map +0 -1
  261. package/dist/error/CacheError.d.ts +0 -23
  262. package/dist/error/CacheError.d.ts.map +0 -1
  263. package/dist/error/CacheErrorCodes.d.ts +0 -3
  264. package/dist/error/CacheErrorCodes.d.ts.map +0 -1
  265. package/dist/error/ClientAuthError.d.ts +0 -14
  266. package/dist/error/ClientAuthError.d.ts.map +0 -1
  267. package/dist/error/ClientAuthErrorCodes.d.ts +0 -40
  268. package/dist/error/ClientAuthErrorCodes.d.ts.map +0 -1
  269. package/dist/error/ClientConfigurationError.d.ts +0 -11
  270. package/dist/error/ClientConfigurationError.d.ts.map +0 -1
  271. package/dist/error/ClientConfigurationErrorCodes.d.ts +0 -23
  272. package/dist/error/ClientConfigurationErrorCodes.d.ts.map +0 -1
  273. package/dist/error/InteractionRequiredAuthError.d.ts +0 -48
  274. package/dist/error/InteractionRequiredAuthError.d.ts.map +0 -1
  275. package/dist/error/InteractionRequiredAuthErrorCodes.d.ts +0 -46
  276. package/dist/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -1
  277. package/dist/error/JoseHeaderError.d.ts +0 -12
  278. package/dist/error/JoseHeaderError.d.ts.map +0 -1
  279. package/dist/error/JoseHeaderErrorCodes.d.ts +0 -3
  280. package/dist/error/JoseHeaderErrorCodes.d.ts.map +0 -1
  281. package/dist/error/NetworkError.d.ts +0 -19
  282. package/dist/error/NetworkError.d.ts.map +0 -1
  283. package/dist/error/PlatformBrokerError.d.ts +0 -16
  284. package/dist/error/PlatformBrokerError.d.ts.map +0 -1
  285. package/dist/error/ServerError.d.ts +0 -16
  286. package/dist/error/ServerError.d.ts.map +0 -1
  287. package/dist/exports-browser-only.d.ts +0 -11
  288. package/dist/exports-browser-only.d.ts.map +0 -1
  289. package/dist/exports-common.d.ts +0 -86
  290. package/dist/exports-common.d.ts.map +0 -1
  291. package/dist/exports-node-only.d.ts +0 -16
  292. package/dist/exports-node-only.d.ts.map +0 -1
  293. package/dist/index-browser.d.ts +0 -7
  294. package/dist/index-browser.d.ts.map +0 -1
  295. package/dist/index-node.d.ts +0 -7
  296. package/dist/index-node.d.ts.map +0 -1
  297. package/dist/index.d.ts +0 -12
  298. package/dist/index.d.ts.map +0 -1
  299. package/dist/logger/Logger.d.ts +0 -119
  300. package/dist/logger/Logger.d.ts.map +0 -1
  301. package/dist/network/INetworkModule.d.ts +0 -29
  302. package/dist/network/INetworkModule.d.ts.map +0 -1
  303. package/dist/network/NetworkResponse.d.ts +0 -6
  304. package/dist/network/NetworkResponse.d.ts.map +0 -1
  305. package/dist/network/RequestThumbprint.d.ts +0 -22
  306. package/dist/network/RequestThumbprint.d.ts.map +0 -1
  307. package/dist/network/ThrottlingUtils.d.ts +0 -43
  308. package/dist/network/ThrottlingUtils.d.ts.map +0 -1
  309. package/dist/packageMetadata.d.ts +0 -3
  310. package/dist/packageMetadata.d.ts.map +0 -1
  311. package/dist/protocol/Authorize.d.ts +0 -37
  312. package/dist/protocol/Authorize.d.ts.map +0 -1
  313. package/dist/protocol/Token.d.ts +0 -40
  314. package/dist/protocol/Token.d.ts.map +0 -1
  315. package/dist/request/AuthenticationHeaderParser.d.ts +0 -20
  316. package/dist/request/AuthenticationHeaderParser.d.ts.map +0 -1
  317. package/dist/request/BaseAuthRequest.d.ts +0 -111
  318. package/dist/request/BaseAuthRequest.d.ts.map +0 -1
  319. package/dist/request/CommonAuthorizationCodeRequest.d.ts +0 -32
  320. package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
  321. package/dist/request/CommonAuthorizationUrlRequest.d.ts +0 -71
  322. package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
  323. package/dist/request/CommonEndSessionRequest.d.ts +0 -36
  324. package/dist/request/CommonEndSessionRequest.d.ts.map +0 -1
  325. package/dist/request/CommonRefreshTokenRequest.d.ts +0 -24
  326. package/dist/request/CommonRefreshTokenRequest.d.ts.map +0 -1
  327. package/dist/request/CommonSilentFlowRequest.d.ts +0 -24
  328. package/dist/request/CommonSilentFlowRequest.d.ts.map +0 -1
  329. package/dist/request/NativeRequest.d.ts +0 -21
  330. package/dist/request/NativeRequest.d.ts.map +0 -1
  331. package/dist/request/NativeSignOutRequest.d.ts +0 -6
  332. package/dist/request/NativeSignOutRequest.d.ts.map +0 -1
  333. package/dist/request/RequestParameterBuilder.d.ts +0 -226
  334. package/dist/request/RequestParameterBuilder.d.ts.map +0 -1
  335. package/dist/request/ScopeSet.d.ts +0 -83
  336. package/dist/request/ScopeSet.d.ts.map +0 -1
  337. package/dist/request/StoreInCache.d.ts +0 -9
  338. package/dist/request/StoreInCache.d.ts.map +0 -1
  339. package/dist/response/AuthenticationResult.d.ts +0 -43
  340. package/dist/response/AuthenticationResult.d.ts.map +0 -1
  341. package/dist/response/AuthorizationCodePayload.d.ts +0 -14
  342. package/dist/response/AuthorizationCodePayload.d.ts.map +0 -1
  343. package/dist/response/AuthorizeResponse.d.ts +0 -83
  344. package/dist/response/AuthorizeResponse.d.ts.map +0 -1
  345. package/dist/response/DeviceCodeResponse.d.ts +0 -26
  346. package/dist/response/DeviceCodeResponse.d.ts.map +0 -1
  347. package/dist/response/ExternalTokenResponse.d.ts +0 -16
  348. package/dist/response/ExternalTokenResponse.d.ts.map +0 -1
  349. package/dist/response/IMDSBadResponse.d.ts +0 -5
  350. package/dist/response/IMDSBadResponse.d.ts.map +0 -1
  351. package/dist/response/ResponseHandler.d.ts +0 -63
  352. package/dist/response/ResponseHandler.d.ts.map +0 -1
  353. package/dist/response/ServerAuthorizationTokenResponse.d.ts +0 -48
  354. package/dist/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
  355. package/dist/telemetry/performance/IPerformanceClient.d.ts +0 -30
  356. package/dist/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
  357. package/dist/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
  358. package/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
  359. package/dist/telemetry/performance/PerformanceClient.d.ts +0 -170
  360. package/dist/telemetry/performance/PerformanceClient.d.ts.map +0 -1
  361. package/dist/telemetry/performance/PerformanceEvent.d.ts +0 -425
  362. package/dist/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
  363. package/dist/telemetry/performance/PerformanceEvents.d.ts +0 -66
  364. package/dist/telemetry/performance/PerformanceEvents.d.ts.map +0 -1
  365. package/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -21
  366. package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
  367. package/dist/telemetry/server/ServerTelemetryManager.d.ts +0 -79
  368. package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
  369. package/dist/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
  370. package/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
  371. package/dist/url/IUri.d.ts +0 -13
  372. package/dist/url/IUri.d.ts.map +0 -1
  373. package/dist/url/UrlString.d.ts +0 -44
  374. package/dist/url/UrlString.d.ts.map +0 -1
  375. package/dist/utils/ClientAssertionUtils.d.ts +0 -3
  376. package/dist/utils/ClientAssertionUtils.d.ts.map +0 -1
  377. package/dist/utils/Constants.d.ts +0 -283
  378. package/dist/utils/Constants.d.ts.map +0 -1
  379. package/dist/utils/FunctionWrappers.d.ts +0 -28
  380. package/dist/utils/FunctionWrappers.d.ts.map +0 -1
  381. package/dist/utils/MsalTypes.d.ts +0 -7
  382. package/dist/utils/MsalTypes.d.ts.map +0 -1
  383. package/dist/utils/ProtocolUtils.d.ts +0 -22
  384. package/dist/utils/ProtocolUtils.d.ts.map +0 -1
  385. package/dist/utils/StateTypes.d.ts +0 -15
  386. package/dist/utils/StateTypes.d.ts.map +0 -1
  387. package/dist/utils/StringUtils.d.ts +0 -35
  388. package/dist/utils/StringUtils.d.ts.map +0 -1
  389. package/dist/utils/TimeUtils.d.ts +0 -43
  390. package/dist/utils/TimeUtils.d.ts.map +0 -1
  391. package/dist/utils/UrlUtils.d.ts +0 -23
  392. package/dist/utils/UrlUtils.d.ts.map +0 -1
  393. package/dist-browser/packageMetadata.d.ts +0 -3
  394. package/lib/types/account/AccountInfo.d.ts +0 -73
  395. package/lib/types/account/AccountInfo.d.ts.map +0 -1
  396. package/lib/types/account/AuthToken.d.ts +0 -24
  397. package/lib/types/account/AuthToken.d.ts.map +0 -1
  398. package/lib/types/account/CcsCredential.d.ts +0 -10
  399. package/lib/types/account/CcsCredential.d.ts.map +0 -1
  400. package/lib/types/account/ClientCredentials.d.ts +0 -20
  401. package/lib/types/account/ClientCredentials.d.ts.map +0 -1
  402. package/lib/types/account/ClientInfo.d.ts +0 -23
  403. package/lib/types/account/ClientInfo.d.ts.map +0 -1
  404. package/lib/types/account/TokenClaims.d.ts +0 -88
  405. package/lib/types/account/TokenClaims.d.ts.map +0 -1
  406. package/lib/types/authority/Authority.d.ts +0 -255
  407. package/lib/types/authority/Authority.d.ts.map +0 -1
  408. package/lib/types/authority/AuthorityFactory.d.ts +0 -23
  409. package/lib/types/authority/AuthorityFactory.d.ts.map +0 -1
  410. package/lib/types/authority/AuthorityMetadata.d.ts +0 -44
  411. package/lib/types/authority/AuthorityMetadata.d.ts.map +0 -1
  412. package/lib/types/authority/AuthorityOptions.d.ts +0 -27
  413. package/lib/types/authority/AuthorityOptions.d.ts.map +0 -1
  414. package/lib/types/authority/AuthorityType.d.ts +0 -11
  415. package/lib/types/authority/AuthorityType.d.ts.map +0 -1
  416. package/lib/types/authority/AzureRegion.d.ts +0 -2
  417. package/lib/types/authority/AzureRegion.d.ts.map +0 -1
  418. package/lib/types/authority/AzureRegionConfiguration.d.ts +0 -6
  419. package/lib/types/authority/AzureRegionConfiguration.d.ts.map +0 -1
  420. package/lib/types/authority/CloudDiscoveryMetadata.d.ts +0 -6
  421. package/lib/types/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
  422. package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -14
  423. package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -1
  424. package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
  425. package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
  426. package/lib/types/authority/ImdsOptions.d.ts +0 -6
  427. package/lib/types/authority/ImdsOptions.d.ts.map +0 -1
  428. package/lib/types/authority/OIDCOptions.d.ts +0 -9
  429. package/lib/types/authority/OIDCOptions.d.ts.map +0 -1
  430. package/lib/types/authority/OpenIdConfigResponse.d.ts +0 -12
  431. package/lib/types/authority/OpenIdConfigResponse.d.ts.map +0 -1
  432. package/lib/types/authority/ProtocolMode.d.ts +0 -20
  433. package/lib/types/authority/ProtocolMode.d.ts.map +0 -1
  434. package/lib/types/authority/RegionDiscovery.d.ts +0 -33
  435. package/lib/types/authority/RegionDiscovery.d.ts.map +0 -1
  436. package/lib/types/authority/RegionDiscoveryMetadata.d.ts +0 -7
  437. package/lib/types/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
  438. package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -17
  439. package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -1
  440. package/lib/types/cache/CacheManager.d.ts +0 -485
  441. package/lib/types/cache/CacheManager.d.ts.map +0 -1
  442. package/lib/types/cache/entities/AccessTokenEntity.d.ts +0 -24
  443. package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +0 -1
  444. package/lib/types/cache/entities/AccountEntity.d.ts +0 -47
  445. package/lib/types/cache/entities/AccountEntity.d.ts.map +0 -1
  446. package/lib/types/cache/entities/AppMetadataEntity.d.ts +0 -12
  447. package/lib/types/cache/entities/AppMetadataEntity.d.ts.map +0 -1
  448. package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts +0 -16
  449. package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
  450. package/lib/types/cache/entities/CacheRecord.d.ts +0 -14
  451. package/lib/types/cache/entities/CacheRecord.d.ts.map +0 -1
  452. package/lib/types/cache/entities/CredentialEntity.d.ts +0 -31
  453. package/lib/types/cache/entities/CredentialEntity.d.ts.map +0 -1
  454. package/lib/types/cache/entities/IdTokenEntity.d.ts +0 -9
  455. package/lib/types/cache/entities/IdTokenEntity.d.ts.map +0 -1
  456. package/lib/types/cache/entities/RefreshTokenEntity.d.ts +0 -8
  457. package/lib/types/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
  458. package/lib/types/cache/entities/ServerTelemetryEntity.d.ts +0 -7
  459. package/lib/types/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
  460. package/lib/types/cache/entities/ThrottlingEntity.d.ts +0 -8
  461. package/lib/types/cache/entities/ThrottlingEntity.d.ts.map +0 -1
  462. package/lib/types/cache/interface/ICacheManager.d.ts +0 -188
  463. package/lib/types/cache/interface/ICacheManager.d.ts.map +0 -1
  464. package/lib/types/cache/interface/ICachePlugin.d.ts +0 -6
  465. package/lib/types/cache/interface/ICachePlugin.d.ts.map +0 -1
  466. package/lib/types/cache/interface/ISerializableTokenCache.d.ts +0 -5
  467. package/lib/types/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
  468. package/lib/types/cache/persistence/TokenCacheContext.d.ts +0 -24
  469. package/lib/types/cache/persistence/TokenCacheContext.d.ts.map +0 -1
  470. package/lib/types/cache/utils/AccountEntityUtils.d.ts +0 -53
  471. package/lib/types/cache/utils/AccountEntityUtils.d.ts.map +0 -1
  472. package/lib/types/cache/utils/CacheHelpers.d.ts +0 -86
  473. package/lib/types/cache/utils/CacheHelpers.d.ts.map +0 -1
  474. package/lib/types/cache/utils/CacheTypes.d.ts +0 -69
  475. package/lib/types/cache/utils/CacheTypes.d.ts.map +0 -1
  476. package/lib/types/client/AuthorizationCodeClient.d.ts +0 -64
  477. package/lib/types/client/AuthorizationCodeClient.d.ts.map +0 -1
  478. package/lib/types/client/RefreshTokenClient.d.ts +0 -49
  479. package/lib/types/client/RefreshTokenClient.d.ts.map +0 -1
  480. package/lib/types/client/SilentFlowClient.d.ts +0 -35
  481. package/lib/types/client/SilentFlowClient.d.ts.map +0 -1
  482. package/lib/types/config/AppTokenProvider.d.ts +0 -39
  483. package/lib/types/config/AppTokenProvider.d.ts.map +0 -1
  484. package/lib/types/config/ClientConfiguration.d.ts +0 -145
  485. package/lib/types/config/ClientConfiguration.d.ts.map +0 -1
  486. package/lib/types/constants/AADServerParamKeys.d.ts +0 -61
  487. package/lib/types/constants/AADServerParamKeys.d.ts.map +0 -1
  488. package/lib/types/crypto/ICrypto.d.ts +0 -71
  489. package/lib/types/crypto/ICrypto.d.ts.map +0 -1
  490. package/lib/types/crypto/IGuidGenerator.d.ts +0 -5
  491. package/lib/types/crypto/IGuidGenerator.d.ts.map +0 -1
  492. package/lib/types/crypto/JoseHeader.d.ts +0 -23
  493. package/lib/types/crypto/JoseHeader.d.ts.map +0 -1
  494. package/lib/types/crypto/PopTokenGenerator.d.ts +0 -60
  495. package/lib/types/crypto/PopTokenGenerator.d.ts.map +0 -1
  496. package/lib/types/crypto/SignedHttpRequest.d.ts +0 -16
  497. package/lib/types/crypto/SignedHttpRequest.d.ts.map +0 -1
  498. package/lib/types/error/AuthError.d.ts +0 -33
  499. package/lib/types/error/AuthError.d.ts.map +0 -1
  500. package/lib/types/error/AuthErrorCodes.d.ts +0 -6
  501. package/lib/types/error/AuthErrorCodes.d.ts.map +0 -1
  502. package/lib/types/error/CacheError.d.ts +0 -23
  503. package/lib/types/error/CacheError.d.ts.map +0 -1
  504. package/lib/types/error/CacheErrorCodes.d.ts +0 -3
  505. package/lib/types/error/CacheErrorCodes.d.ts.map +0 -1
  506. package/lib/types/error/ClientAuthError.d.ts +0 -14
  507. package/lib/types/error/ClientAuthError.d.ts.map +0 -1
  508. package/lib/types/error/ClientAuthErrorCodes.d.ts +0 -40
  509. package/lib/types/error/ClientAuthErrorCodes.d.ts.map +0 -1
  510. package/lib/types/error/ClientConfigurationError.d.ts +0 -11
  511. package/lib/types/error/ClientConfigurationError.d.ts.map +0 -1
  512. package/lib/types/error/ClientConfigurationErrorCodes.d.ts +0 -23
  513. package/lib/types/error/ClientConfigurationErrorCodes.d.ts.map +0 -1
  514. package/lib/types/error/InteractionRequiredAuthError.d.ts +0 -48
  515. package/lib/types/error/InteractionRequiredAuthError.d.ts.map +0 -1
  516. package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts +0 -46
  517. package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -1
  518. package/lib/types/error/JoseHeaderError.d.ts +0 -12
  519. package/lib/types/error/JoseHeaderError.d.ts.map +0 -1
  520. package/lib/types/error/JoseHeaderErrorCodes.d.ts +0 -3
  521. package/lib/types/error/JoseHeaderErrorCodes.d.ts.map +0 -1
  522. package/lib/types/error/NetworkError.d.ts +0 -19
  523. package/lib/types/error/NetworkError.d.ts.map +0 -1
  524. package/lib/types/error/PlatformBrokerError.d.ts +0 -16
  525. package/lib/types/error/PlatformBrokerError.d.ts.map +0 -1
  526. package/lib/types/error/ServerError.d.ts +0 -16
  527. package/lib/types/error/ServerError.d.ts.map +0 -1
  528. package/lib/types/exports-browser-only.d.ts +0 -11
  529. package/lib/types/exports-browser-only.d.ts.map +0 -1
  530. package/lib/types/exports-common.d.ts +0 -86
  531. package/lib/types/exports-common.d.ts.map +0 -1
  532. package/lib/types/exports-node-only.d.ts +0 -16
  533. package/lib/types/exports-node-only.d.ts.map +0 -1
  534. package/lib/types/index-browser.d.ts +0 -7
  535. package/lib/types/index-browser.d.ts.map +0 -1
  536. package/lib/types/index-node.d.ts +0 -7
  537. package/lib/types/index-node.d.ts.map +0 -1
  538. package/lib/types/index.d.ts +0 -12
  539. package/lib/types/index.d.ts.map +0 -1
  540. package/lib/types/logger/Logger.d.ts +0 -119
  541. package/lib/types/logger/Logger.d.ts.map +0 -1
  542. package/lib/types/network/INetworkModule.d.ts +0 -29
  543. package/lib/types/network/INetworkModule.d.ts.map +0 -1
  544. package/lib/types/network/NetworkResponse.d.ts +0 -6
  545. package/lib/types/network/NetworkResponse.d.ts.map +0 -1
  546. package/lib/types/network/RequestThumbprint.d.ts +0 -22
  547. package/lib/types/network/RequestThumbprint.d.ts.map +0 -1
  548. package/lib/types/network/ThrottlingUtils.d.ts +0 -43
  549. package/lib/types/network/ThrottlingUtils.d.ts.map +0 -1
  550. package/lib/types/packageMetadata.d.ts +0 -3
  551. package/lib/types/packageMetadata.d.ts.map +0 -1
  552. package/lib/types/protocol/Authorize.d.ts +0 -37
  553. package/lib/types/protocol/Authorize.d.ts.map +0 -1
  554. package/lib/types/protocol/Token.d.ts +0 -40
  555. package/lib/types/protocol/Token.d.ts.map +0 -1
  556. package/lib/types/request/AuthenticationHeaderParser.d.ts +0 -20
  557. package/lib/types/request/AuthenticationHeaderParser.d.ts.map +0 -1
  558. package/lib/types/request/BaseAuthRequest.d.ts +0 -111
  559. package/lib/types/request/BaseAuthRequest.d.ts.map +0 -1
  560. package/lib/types/request/CommonAuthorizationCodeRequest.d.ts +0 -32
  561. package/lib/types/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
  562. package/lib/types/request/CommonAuthorizationUrlRequest.d.ts +0 -71
  563. package/lib/types/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
  564. package/lib/types/request/CommonEndSessionRequest.d.ts +0 -36
  565. package/lib/types/request/CommonEndSessionRequest.d.ts.map +0 -1
  566. package/lib/types/request/CommonRefreshTokenRequest.d.ts +0 -24
  567. package/lib/types/request/CommonRefreshTokenRequest.d.ts.map +0 -1
  568. package/lib/types/request/CommonSilentFlowRequest.d.ts +0 -24
  569. package/lib/types/request/CommonSilentFlowRequest.d.ts.map +0 -1
  570. package/lib/types/request/NativeRequest.d.ts +0 -21
  571. package/lib/types/request/NativeRequest.d.ts.map +0 -1
  572. package/lib/types/request/NativeSignOutRequest.d.ts +0 -6
  573. package/lib/types/request/NativeSignOutRequest.d.ts.map +0 -1
  574. package/lib/types/request/RequestParameterBuilder.d.ts +0 -226
  575. package/lib/types/request/RequestParameterBuilder.d.ts.map +0 -1
  576. package/lib/types/request/ScopeSet.d.ts +0 -83
  577. package/lib/types/request/ScopeSet.d.ts.map +0 -1
  578. package/lib/types/request/StoreInCache.d.ts +0 -9
  579. package/lib/types/request/StoreInCache.d.ts.map +0 -1
  580. package/lib/types/response/AuthenticationResult.d.ts +0 -43
  581. package/lib/types/response/AuthenticationResult.d.ts.map +0 -1
  582. package/lib/types/response/AuthorizationCodePayload.d.ts +0 -14
  583. package/lib/types/response/AuthorizationCodePayload.d.ts.map +0 -1
  584. package/lib/types/response/AuthorizeResponse.d.ts +0 -83
  585. package/lib/types/response/AuthorizeResponse.d.ts.map +0 -1
  586. package/lib/types/response/DeviceCodeResponse.d.ts +0 -26
  587. package/lib/types/response/DeviceCodeResponse.d.ts.map +0 -1
  588. package/lib/types/response/ExternalTokenResponse.d.ts +0 -16
  589. package/lib/types/response/ExternalTokenResponse.d.ts.map +0 -1
  590. package/lib/types/response/IMDSBadResponse.d.ts +0 -5
  591. package/lib/types/response/IMDSBadResponse.d.ts.map +0 -1
  592. package/lib/types/response/ResponseHandler.d.ts +0 -63
  593. package/lib/types/response/ResponseHandler.d.ts.map +0 -1
  594. package/lib/types/response/ServerAuthorizationTokenResponse.d.ts +0 -48
  595. package/lib/types/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
  596. package/lib/types/telemetry/performance/IPerformanceClient.d.ts +0 -30
  597. package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
  598. package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
  599. package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
  600. package/lib/types/telemetry/performance/PerformanceClient.d.ts +0 -170
  601. package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +0 -1
  602. package/lib/types/telemetry/performance/PerformanceEvent.d.ts +0 -425
  603. package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
  604. package/lib/types/telemetry/performance/PerformanceEvents.d.ts +0 -66
  605. package/lib/types/telemetry/performance/PerformanceEvents.d.ts.map +0 -1
  606. package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +0 -21
  607. package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
  608. package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +0 -79
  609. package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
  610. package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
  611. package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
  612. package/lib/types/url/IUri.d.ts +0 -13
  613. package/lib/types/url/IUri.d.ts.map +0 -1
  614. package/lib/types/url/UrlString.d.ts +0 -44
  615. package/lib/types/url/UrlString.d.ts.map +0 -1
  616. package/lib/types/utils/ClientAssertionUtils.d.ts +0 -3
  617. package/lib/types/utils/ClientAssertionUtils.d.ts.map +0 -1
  618. package/lib/types/utils/Constants.d.ts +0 -283
  619. package/lib/types/utils/Constants.d.ts.map +0 -1
  620. package/lib/types/utils/FunctionWrappers.d.ts +0 -28
  621. package/lib/types/utils/FunctionWrappers.d.ts.map +0 -1
  622. package/lib/types/utils/MsalTypes.d.ts +0 -7
  623. package/lib/types/utils/MsalTypes.d.ts.map +0 -1
  624. package/lib/types/utils/ProtocolUtils.d.ts +0 -22
  625. package/lib/types/utils/ProtocolUtils.d.ts.map +0 -1
  626. package/lib/types/utils/StateTypes.d.ts +0 -15
  627. package/lib/types/utils/StateTypes.d.ts.map +0 -1
  628. package/lib/types/utils/StringUtils.d.ts +0 -35
  629. package/lib/types/utils/StringUtils.d.ts.map +0 -1
  630. package/lib/types/utils/TimeUtils.d.ts +0 -43
  631. package/lib/types/utils/TimeUtils.d.ts.map +0 -1
  632. package/lib/types/utils/UrlUtils.d.ts +0 -23
  633. package/lib/types/utils/UrlUtils.d.ts.map +0 -1
  634. /package/{dist-browser → types}/account/AccountInfo.d.ts +0 -0
  635. /package/{dist-browser → types}/account/AccountInfo.d.ts.map +0 -0
  636. /package/{dist-browser → types}/account/AuthToken.d.ts +0 -0
  637. /package/{dist-browser → types}/account/AuthToken.d.ts.map +0 -0
  638. /package/{dist-browser → types}/account/CcsCredential.d.ts +0 -0
  639. /package/{dist-browser → types}/account/CcsCredential.d.ts.map +0 -0
  640. /package/{dist-browser → types}/account/ClientCredentials.d.ts +0 -0
  641. /package/{dist-browser → types}/account/ClientCredentials.d.ts.map +0 -0
  642. /package/{dist-browser → types}/account/ClientInfo.d.ts +0 -0
  643. /package/{dist-browser → types}/account/ClientInfo.d.ts.map +0 -0
  644. /package/{dist-browser → types}/account/TokenClaims.d.ts +0 -0
  645. /package/{dist-browser → types}/account/TokenClaims.d.ts.map +0 -0
  646. /package/{dist-browser → types}/authority/Authority.d.ts +0 -0
  647. /package/{dist-browser → types}/authority/Authority.d.ts.map +0 -0
  648. /package/{dist-browser → types}/authority/AuthorityFactory.d.ts +0 -0
  649. /package/{dist-browser → types}/authority/AuthorityFactory.d.ts.map +0 -0
  650. /package/{dist-browser → types}/authority/AuthorityMetadata.d.ts +0 -0
  651. /package/{dist-browser → types}/authority/AuthorityMetadata.d.ts.map +0 -0
  652. /package/{dist-browser → types}/authority/AuthorityOptions.d.ts +0 -0
  653. /package/{dist-browser → types}/authority/AuthorityOptions.d.ts.map +0 -0
  654. /package/{dist-browser → types}/authority/AuthorityType.d.ts +0 -0
  655. /package/{dist-browser → types}/authority/AuthorityType.d.ts.map +0 -0
  656. /package/{dist-browser → types}/authority/AzureRegion.d.ts +0 -0
  657. /package/{dist-browser → types}/authority/AzureRegion.d.ts.map +0 -0
  658. /package/{dist-browser → types}/authority/AzureRegionConfiguration.d.ts +0 -0
  659. /package/{dist-browser → types}/authority/AzureRegionConfiguration.d.ts.map +0 -0
  660. /package/{dist-browser → types}/authority/CloudDiscoveryMetadata.d.ts +0 -0
  661. /package/{dist-browser → types}/authority/CloudDiscoveryMetadata.d.ts.map +0 -0
  662. /package/{dist-browser → types}/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -0
  663. /package/{dist-browser → types}/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -0
  664. /package/{dist-browser → types}/authority/CloudInstanceDiscoveryResponse.d.ts +0 -0
  665. /package/{dist-browser → types}/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -0
  666. /package/{dist-browser → types}/authority/ImdsOptions.d.ts +0 -0
  667. /package/{dist-browser → types}/authority/ImdsOptions.d.ts.map +0 -0
  668. /package/{dist-browser → types}/authority/OIDCOptions.d.ts +0 -0
  669. /package/{dist-browser → types}/authority/OIDCOptions.d.ts.map +0 -0
  670. /package/{dist-browser → types}/authority/OpenIdConfigResponse.d.ts +0 -0
  671. /package/{dist-browser → types}/authority/OpenIdConfigResponse.d.ts.map +0 -0
  672. /package/{dist-browser → types}/authority/ProtocolMode.d.ts +0 -0
  673. /package/{dist-browser → types}/authority/ProtocolMode.d.ts.map +0 -0
  674. /package/{dist-browser → types}/authority/RegionDiscovery.d.ts +0 -0
  675. /package/{dist-browser → types}/authority/RegionDiscovery.d.ts.map +0 -0
  676. /package/{dist-browser → types}/authority/RegionDiscoveryMetadata.d.ts +0 -0
  677. /package/{dist-browser → types}/authority/RegionDiscoveryMetadata.d.ts.map +0 -0
  678. /package/{dist-browser → types}/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -0
  679. /package/{dist-browser → types}/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -0
  680. /package/{dist-browser → types}/cache/CacheManager.d.ts +0 -0
  681. /package/{dist-browser → types}/cache/CacheManager.d.ts.map +0 -0
  682. /package/{dist-browser → types}/cache/entities/AccessTokenEntity.d.ts +0 -0
  683. /package/{dist-browser → types}/cache/entities/AccessTokenEntity.d.ts.map +0 -0
  684. /package/{dist-browser → types}/cache/entities/AccountEntity.d.ts +0 -0
  685. /package/{dist-browser → types}/cache/entities/AccountEntity.d.ts.map +0 -0
  686. /package/{dist-browser → types}/cache/entities/AppMetadataEntity.d.ts +0 -0
  687. /package/{dist-browser → types}/cache/entities/AppMetadataEntity.d.ts.map +0 -0
  688. /package/{dist-browser → types}/cache/entities/AuthorityMetadataEntity.d.ts +0 -0
  689. /package/{dist-browser → types}/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -0
  690. /package/{dist-browser → types}/cache/entities/CacheRecord.d.ts +0 -0
  691. /package/{dist-browser → types}/cache/entities/CacheRecord.d.ts.map +0 -0
  692. /package/{dist-browser → types}/cache/entities/CredentialEntity.d.ts +0 -0
  693. /package/{dist-browser → types}/cache/entities/CredentialEntity.d.ts.map +0 -0
  694. /package/{dist-browser → types}/cache/entities/IdTokenEntity.d.ts +0 -0
  695. /package/{dist-browser → types}/cache/entities/IdTokenEntity.d.ts.map +0 -0
  696. /package/{dist-browser → types}/cache/entities/RefreshTokenEntity.d.ts +0 -0
  697. /package/{dist-browser → types}/cache/entities/RefreshTokenEntity.d.ts.map +0 -0
  698. /package/{dist-browser → types}/cache/entities/ServerTelemetryEntity.d.ts +0 -0
  699. /package/{dist-browser → types}/cache/entities/ServerTelemetryEntity.d.ts.map +0 -0
  700. /package/{dist-browser → types}/cache/entities/ThrottlingEntity.d.ts +0 -0
  701. /package/{dist-browser → types}/cache/entities/ThrottlingEntity.d.ts.map +0 -0
  702. /package/{dist-browser → types}/cache/interface/ICacheManager.d.ts +0 -0
  703. /package/{dist-browser → types}/cache/interface/ICacheManager.d.ts.map +0 -0
  704. /package/{dist-browser → types}/cache/interface/ICachePlugin.d.ts +0 -0
  705. /package/{dist-browser → types}/cache/interface/ICachePlugin.d.ts.map +0 -0
  706. /package/{dist-browser → types}/cache/interface/ISerializableTokenCache.d.ts +0 -0
  707. /package/{dist-browser → types}/cache/interface/ISerializableTokenCache.d.ts.map +0 -0
  708. /package/{dist-browser → types}/cache/persistence/TokenCacheContext.d.ts +0 -0
  709. /package/{dist-browser → types}/cache/persistence/TokenCacheContext.d.ts.map +0 -0
  710. /package/{dist-browser → types}/cache/utils/AccountEntityUtils.d.ts +0 -0
  711. /package/{dist-browser → types}/cache/utils/AccountEntityUtils.d.ts.map +0 -0
  712. /package/{dist-browser → types}/cache/utils/CacheHelpers.d.ts +0 -0
  713. /package/{dist-browser → types}/cache/utils/CacheHelpers.d.ts.map +0 -0
  714. /package/{dist-browser → types}/cache/utils/CacheTypes.d.ts +0 -0
  715. /package/{dist-browser → types}/cache/utils/CacheTypes.d.ts.map +0 -0
  716. /package/{dist-browser → types}/client/AuthorizationCodeClient.d.ts +0 -0
  717. /package/{dist-browser → types}/client/AuthorizationCodeClient.d.ts.map +0 -0
  718. /package/{dist-browser → types}/client/RefreshTokenClient.d.ts +0 -0
  719. /package/{dist-browser → types}/client/RefreshTokenClient.d.ts.map +0 -0
  720. /package/{dist-browser → types}/client/SilentFlowClient.d.ts +0 -0
  721. /package/{dist-browser → types}/client/SilentFlowClient.d.ts.map +0 -0
  722. /package/{dist-browser → types}/config/AppTokenProvider.d.ts +0 -0
  723. /package/{dist-browser → types}/config/AppTokenProvider.d.ts.map +0 -0
  724. /package/{dist-browser → types}/config/ClientConfiguration.d.ts +0 -0
  725. /package/{dist-browser → types}/config/ClientConfiguration.d.ts.map +0 -0
  726. /package/{dist-browser → types}/constants/AADServerParamKeys.d.ts +0 -0
  727. /package/{dist-browser → types}/constants/AADServerParamKeys.d.ts.map +0 -0
  728. /package/{dist-browser → types}/crypto/ICrypto.d.ts +0 -0
  729. /package/{dist-browser → types}/crypto/ICrypto.d.ts.map +0 -0
  730. /package/{dist-browser → types}/crypto/IGuidGenerator.d.ts +0 -0
  731. /package/{dist-browser → types}/crypto/IGuidGenerator.d.ts.map +0 -0
  732. /package/{dist-browser → types}/crypto/JoseHeader.d.ts +0 -0
  733. /package/{dist-browser → types}/crypto/JoseHeader.d.ts.map +0 -0
  734. /package/{dist-browser → types}/crypto/PopTokenGenerator.d.ts +0 -0
  735. /package/{dist-browser → types}/crypto/PopTokenGenerator.d.ts.map +0 -0
  736. /package/{dist-browser → types}/crypto/SignedHttpRequest.d.ts +0 -0
  737. /package/{dist-browser → types}/crypto/SignedHttpRequest.d.ts.map +0 -0
  738. /package/{dist-browser → types}/error/AuthError.d.ts +0 -0
  739. /package/{dist-browser → types}/error/AuthError.d.ts.map +0 -0
  740. /package/{dist-browser → types}/error/AuthErrorCodes.d.ts +0 -0
  741. /package/{dist-browser → types}/error/AuthErrorCodes.d.ts.map +0 -0
  742. /package/{dist-browser → types}/error/CacheError.d.ts +0 -0
  743. /package/{dist-browser → types}/error/CacheError.d.ts.map +0 -0
  744. /package/{dist-browser → types}/error/CacheErrorCodes.d.ts +0 -0
  745. /package/{dist-browser → types}/error/CacheErrorCodes.d.ts.map +0 -0
  746. /package/{dist-browser → types}/error/ClientAuthError.d.ts +0 -0
  747. /package/{dist-browser → types}/error/ClientAuthError.d.ts.map +0 -0
  748. /package/{dist-browser → types}/error/ClientAuthErrorCodes.d.ts +0 -0
  749. /package/{dist-browser → types}/error/ClientAuthErrorCodes.d.ts.map +0 -0
  750. /package/{dist-browser → types}/error/ClientConfigurationError.d.ts +0 -0
  751. /package/{dist-browser → types}/error/ClientConfigurationError.d.ts.map +0 -0
  752. /package/{dist-browser → types}/error/ClientConfigurationErrorCodes.d.ts +0 -0
  753. /package/{dist-browser → types}/error/ClientConfigurationErrorCodes.d.ts.map +0 -0
  754. /package/{dist-browser → types}/error/InteractionRequiredAuthError.d.ts +0 -0
  755. /package/{dist-browser → types}/error/InteractionRequiredAuthError.d.ts.map +0 -0
  756. /package/{dist-browser → types}/error/InteractionRequiredAuthErrorCodes.d.ts +0 -0
  757. /package/{dist-browser → types}/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -0
  758. /package/{dist-browser → types}/error/JoseHeaderError.d.ts +0 -0
  759. /package/{dist-browser → types}/error/JoseHeaderError.d.ts.map +0 -0
  760. /package/{dist-browser → types}/error/JoseHeaderErrorCodes.d.ts +0 -0
  761. /package/{dist-browser → types}/error/JoseHeaderErrorCodes.d.ts.map +0 -0
  762. /package/{dist-browser → types}/error/NetworkError.d.ts +0 -0
  763. /package/{dist-browser → types}/error/NetworkError.d.ts.map +0 -0
  764. /package/{dist-browser → types}/error/PlatformBrokerError.d.ts +0 -0
  765. /package/{dist-browser → types}/error/PlatformBrokerError.d.ts.map +0 -0
  766. /package/{dist-browser → types}/error/ServerError.d.ts +0 -0
  767. /package/{dist-browser → types}/error/ServerError.d.ts.map +0 -0
  768. /package/{dist-browser → types}/exports-browser-only.d.ts +0 -0
  769. /package/{dist-browser → types}/exports-browser-only.d.ts.map +0 -0
  770. /package/{dist-browser → types}/exports-common.d.ts +0 -0
  771. /package/{dist-browser → types}/exports-common.d.ts.map +0 -0
  772. /package/{dist-browser → types}/exports-node-only.d.ts +0 -0
  773. /package/{dist-browser → types}/exports-node-only.d.ts.map +0 -0
  774. /package/{dist-browser → types}/index-browser.d.ts +0 -0
  775. /package/{dist-browser → types}/index-browser.d.ts.map +0 -0
  776. /package/{dist-browser → types}/index-node.d.ts +0 -0
  777. /package/{dist-browser → types}/index-node.d.ts.map +0 -0
  778. /package/{dist-browser → types}/index.d.ts +0 -0
  779. /package/{dist-browser → types}/index.d.ts.map +0 -0
  780. /package/{dist-browser → types}/logger/Logger.d.ts +0 -0
  781. /package/{dist-browser → types}/logger/Logger.d.ts.map +0 -0
  782. /package/{dist-browser → types}/network/INetworkModule.d.ts +0 -0
  783. /package/{dist-browser → types}/network/INetworkModule.d.ts.map +0 -0
  784. /package/{dist-browser → types}/network/NetworkResponse.d.ts +0 -0
  785. /package/{dist-browser → types}/network/NetworkResponse.d.ts.map +0 -0
  786. /package/{dist-browser → types}/network/RequestThumbprint.d.ts +0 -0
  787. /package/{dist-browser → types}/network/RequestThumbprint.d.ts.map +0 -0
  788. /package/{dist-browser → types}/network/ThrottlingUtils.d.ts +0 -0
  789. /package/{dist-browser → types}/network/ThrottlingUtils.d.ts.map +0 -0
  790. /package/{dist-browser → types}/packageMetadata.d.ts.map +0 -0
  791. /package/{dist-browser → types}/protocol/Authorize.d.ts +0 -0
  792. /package/{dist-browser → types}/protocol/Authorize.d.ts.map +0 -0
  793. /package/{dist-browser → types}/protocol/Token.d.ts +0 -0
  794. /package/{dist-browser → types}/protocol/Token.d.ts.map +0 -0
  795. /package/{dist-browser → types}/request/AuthenticationHeaderParser.d.ts +0 -0
  796. /package/{dist-browser → types}/request/AuthenticationHeaderParser.d.ts.map +0 -0
  797. /package/{dist-browser → types}/request/BaseAuthRequest.d.ts +0 -0
  798. /package/{dist-browser → types}/request/BaseAuthRequest.d.ts.map +0 -0
  799. /package/{dist-browser → types}/request/CommonAuthorizationCodeRequest.d.ts +0 -0
  800. /package/{dist-browser → types}/request/CommonAuthorizationCodeRequest.d.ts.map +0 -0
  801. /package/{dist-browser → types}/request/CommonAuthorizationUrlRequest.d.ts +0 -0
  802. /package/{dist-browser → types}/request/CommonAuthorizationUrlRequest.d.ts.map +0 -0
  803. /package/{dist-browser → types}/request/CommonEndSessionRequest.d.ts +0 -0
  804. /package/{dist-browser → types}/request/CommonEndSessionRequest.d.ts.map +0 -0
  805. /package/{dist-browser → types}/request/CommonRefreshTokenRequest.d.ts +0 -0
  806. /package/{dist-browser → types}/request/CommonRefreshTokenRequest.d.ts.map +0 -0
  807. /package/{dist-browser → types}/request/CommonSilentFlowRequest.d.ts +0 -0
  808. /package/{dist-browser → types}/request/CommonSilentFlowRequest.d.ts.map +0 -0
  809. /package/{dist-browser → types}/request/NativeRequest.d.ts +0 -0
  810. /package/{dist-browser → types}/request/NativeRequest.d.ts.map +0 -0
  811. /package/{dist-browser → types}/request/NativeSignOutRequest.d.ts +0 -0
  812. /package/{dist-browser → types}/request/NativeSignOutRequest.d.ts.map +0 -0
  813. /package/{dist-browser → types}/request/RequestParameterBuilder.d.ts +0 -0
  814. /package/{dist-browser → types}/request/RequestParameterBuilder.d.ts.map +0 -0
  815. /package/{dist-browser → types}/request/ScopeSet.d.ts +0 -0
  816. /package/{dist-browser → types}/request/ScopeSet.d.ts.map +0 -0
  817. /package/{dist-browser → types}/request/StoreInCache.d.ts +0 -0
  818. /package/{dist-browser → types}/request/StoreInCache.d.ts.map +0 -0
  819. /package/{dist-browser → types}/response/AuthenticationResult.d.ts +0 -0
  820. /package/{dist-browser → types}/response/AuthenticationResult.d.ts.map +0 -0
  821. /package/{dist-browser → types}/response/AuthorizationCodePayload.d.ts +0 -0
  822. /package/{dist-browser → types}/response/AuthorizationCodePayload.d.ts.map +0 -0
  823. /package/{dist-browser → types}/response/AuthorizeResponse.d.ts +0 -0
  824. /package/{dist-browser → types}/response/AuthorizeResponse.d.ts.map +0 -0
  825. /package/{dist-browser → types}/response/DeviceCodeResponse.d.ts +0 -0
  826. /package/{dist-browser → types}/response/DeviceCodeResponse.d.ts.map +0 -0
  827. /package/{dist-browser → types}/response/ExternalTokenResponse.d.ts +0 -0
  828. /package/{dist-browser → types}/response/ExternalTokenResponse.d.ts.map +0 -0
  829. /package/{dist-browser → types}/response/IMDSBadResponse.d.ts +0 -0
  830. /package/{dist-browser → types}/response/IMDSBadResponse.d.ts.map +0 -0
  831. /package/{dist-browser → types}/response/ResponseHandler.d.ts +0 -0
  832. /package/{dist-browser → types}/response/ResponseHandler.d.ts.map +0 -0
  833. /package/{dist-browser → types}/response/ServerAuthorizationTokenResponse.d.ts +0 -0
  834. /package/{dist-browser → types}/response/ServerAuthorizationTokenResponse.d.ts.map +0 -0
  835. /package/{dist-browser → types}/telemetry/performance/IPerformanceClient.d.ts +0 -0
  836. /package/{dist-browser → types}/telemetry/performance/IPerformanceClient.d.ts.map +0 -0
  837. /package/{dist-browser → types}/telemetry/performance/IPerformanceMeasurement.d.ts +0 -0
  838. /package/{dist-browser → types}/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -0
  839. /package/{dist-browser → types}/telemetry/performance/PerformanceClient.d.ts +0 -0
  840. /package/{dist-browser → types}/telemetry/performance/PerformanceClient.d.ts.map +0 -0
  841. /package/{dist-browser → types}/telemetry/performance/PerformanceEvent.d.ts +0 -0
  842. /package/{dist-browser → types}/telemetry/performance/PerformanceEvent.d.ts.map +0 -0
  843. /package/{dist-browser → types}/telemetry/performance/PerformanceEvents.d.ts +0 -0
  844. /package/{dist-browser → types}/telemetry/performance/PerformanceEvents.d.ts.map +0 -0
  845. /package/{dist-browser → types}/telemetry/performance/StubPerformanceClient.d.ts +0 -0
  846. /package/{dist-browser → types}/telemetry/performance/StubPerformanceClient.d.ts.map +0 -0
  847. /package/{dist-browser → types}/telemetry/server/ServerTelemetryManager.d.ts +0 -0
  848. /package/{dist-browser → types}/telemetry/server/ServerTelemetryManager.d.ts.map +0 -0
  849. /package/{dist-browser → types}/telemetry/server/ServerTelemetryRequest.d.ts +0 -0
  850. /package/{dist-browser → types}/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -0
  851. /package/{dist-browser → types}/url/IUri.d.ts +0 -0
  852. /package/{dist-browser → types}/url/IUri.d.ts.map +0 -0
  853. /package/{dist-browser → types}/url/UrlString.d.ts +0 -0
  854. /package/{dist-browser → types}/url/UrlString.d.ts.map +0 -0
  855. /package/{dist-browser → types}/utils/ClientAssertionUtils.d.ts +0 -0
  856. /package/{dist-browser → types}/utils/ClientAssertionUtils.d.ts.map +0 -0
  857. /package/{dist-browser → types}/utils/Constants.d.ts +0 -0
  858. /package/{dist-browser → types}/utils/Constants.d.ts.map +0 -0
  859. /package/{dist-browser → types}/utils/FunctionWrappers.d.ts +0 -0
  860. /package/{dist-browser → types}/utils/FunctionWrappers.d.ts.map +0 -0
  861. /package/{dist-browser → types}/utils/MsalTypes.d.ts +0 -0
  862. /package/{dist-browser → types}/utils/MsalTypes.d.ts.map +0 -0
  863. /package/{dist-browser → types}/utils/ProtocolUtils.d.ts +0 -0
  864. /package/{dist-browser → types}/utils/ProtocolUtils.d.ts.map +0 -0
  865. /package/{dist-browser → types}/utils/StateTypes.d.ts +0 -0
  866. /package/{dist-browser → types}/utils/StateTypes.d.ts.map +0 -0
  867. /package/{dist-browser → types}/utils/StringUtils.d.ts +0 -0
  868. /package/{dist-browser → types}/utils/StringUtils.d.ts.map +0 -0
  869. /package/{dist-browser → types}/utils/TimeUtils.d.ts +0 -0
  870. /package/{dist-browser → types}/utils/TimeUtils.d.ts.map +0 -0
  871. /package/{dist-browser → types}/utils/UrlUtils.d.ts +0 -0
  872. /package/{dist-browser → types}/utils/UrlUtils.d.ts.map +0 -0
@@ -1,69 +0,0 @@
1
- import { AccountEntity } from "../entities/AccountEntity.js";
2
- import { IdTokenEntity } from "../entities/IdTokenEntity.js";
3
- import { AccessTokenEntity } from "../entities/AccessTokenEntity.js";
4
- import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
5
- import { AppMetadataEntity } from "../entities/AppMetadataEntity.js";
6
- import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js";
7
- import { ThrottlingEntity } from "../entities/ThrottlingEntity.js";
8
- import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
9
- import { AuthenticationScheme } from "../../utils/Constants.js";
10
- import { ScopeSet } from "../../request/ScopeSet.js";
11
- import { AccountInfo } from "../../account/AccountInfo.js";
12
- /** @internal */
13
- export type AccountCache = Record<string, AccountEntity>;
14
- /** @internal */
15
- export type IdTokenCache = Record<string, IdTokenEntity>;
16
- /** @internal */
17
- export type AccessTokenCache = Record<string, AccessTokenEntity>;
18
- /** @internal */
19
- export type RefreshTokenCache = Record<string, RefreshTokenEntity>;
20
- /** @internal */
21
- export type AppMetadataCache = Record<string, AppMetadataEntity>;
22
- /**
23
- * Object type of all accepted cache types
24
- * @internal
25
- */
26
- export type ValidCacheType = AccountEntity | IdTokenEntity | AccessTokenEntity | RefreshTokenEntity | AppMetadataEntity | AuthorityMetadataEntity | ServerTelemetryEntity | ThrottlingEntity | string;
27
- /**
28
- * Object type of all credential types
29
- * @internal
30
- */
31
- export type ValidCredentialType = IdTokenEntity | AccessTokenEntity | RefreshTokenEntity;
32
- /**
33
- * Account: <home_account_id>-<environment>-<realm*>
34
- */
35
- export type AccountFilter = Omit<Partial<AccountInfo>, "idToken" | "idTokenClaims"> & {
36
- realm?: string;
37
- loginHint?: string;
38
- sid?: string;
39
- isHomeTenant?: boolean;
40
- };
41
- export type TenantProfileFilter = Pick<AccountFilter, "localAccountId" | "loginHint" | "name" | "sid" | "isHomeTenant" | "username" | "upn">;
42
- /**
43
- * Credential: <home_account_id*>-<environment>-<credential_type>-<client_id>-<realm*>-<target*>-<scheme*>
44
- */
45
- export type CredentialFilter = {
46
- homeAccountId?: string;
47
- environment?: string;
48
- credentialType?: string;
49
- clientId?: string;
50
- familyId?: string;
51
- realm?: string;
52
- target?: ScopeSet;
53
- userAssertionHash?: string;
54
- tokenType?: AuthenticationScheme;
55
- keyId?: string;
56
- };
57
- /**
58
- * AppMetadata: appmetadata-<environment>-<client_id>
59
- */
60
- export type AppMetadataFilter = {
61
- environment?: string;
62
- clientId?: string;
63
- };
64
- export type TokenKeys = {
65
- idToken: string[];
66
- accessToken: string[];
67
- refreshToken: string[];
68
- };
69
- //# sourceMappingURL=CacheTypes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CacheTypes.d.ts","sourceRoot":"","sources":["../../../../src/cache/utils/CacheTypes.ts"],"names":[],"mappings":"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"}
@@ -1,64 +0,0 @@
1
- import { CommonAuthorizationCodeRequest } from "../request/CommonAuthorizationCodeRequest.js";
2
- import { Authority } from "../authority/Authority.js";
3
- import { ClientConfiguration, CommonClientConfiguration } from "../config/ClientConfiguration.js";
4
- import { AuthenticationResult } from "../response/AuthenticationResult.js";
5
- import { CommonEndSessionRequest } from "../request/CommonEndSessionRequest.js";
6
- import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload.js";
7
- import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
8
- import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js";
9
- import { Logger } from "../logger/Logger.js";
10
- import { ICrypto } from "../crypto/ICrypto.js";
11
- import { CacheManager } from "../cache/CacheManager.js";
12
- import { INetworkModule } from "../network/INetworkModule.js";
13
- /**
14
- * Oauth2.0 Authorization Code client
15
- * @internal
16
- */
17
- export declare class AuthorizationCodeClient {
18
- protected includeRedirectUri: boolean;
19
- private oidcDefaultScopes;
20
- logger: Logger;
21
- protected config: CommonClientConfiguration;
22
- protected cryptoUtils: ICrypto;
23
- protected cacheManager: CacheManager;
24
- protected networkClient: INetworkModule;
25
- protected serverTelemetryManager: ServerTelemetryManager | null;
26
- authority: Authority;
27
- protected performanceClient: IPerformanceClient;
28
- constructor(configuration: ClientConfiguration, performanceClient: IPerformanceClient);
29
- /**
30
- * API to acquire a token in exchange of 'authorization_code` acquired by the user in the first leg of the
31
- * authorization_code_grant
32
- * @param request
33
- */
34
- acquireToken(request: CommonAuthorizationCodeRequest, apiId: number, authCodePayload?: AuthorizationCodePayload): Promise<AuthenticationResult>;
35
- /**
36
- * Used to log out the current user, and redirect the user to the postLogoutRedirectUri.
37
- * Default behaviour is to redirect the user to `window.location.href`.
38
- * @param authorityUri
39
- */
40
- getLogoutUri(logoutRequest: CommonEndSessionRequest): string;
41
- /**
42
- * Executes POST request to token endpoint
43
- * @param authority
44
- * @param request
45
- */
46
- private executeTokenRequest;
47
- /**
48
- * Generates a map for all the params to be sent to the service
49
- * @param request
50
- */
51
- private createTokenRequestBody;
52
- /**
53
- * This API validates the `EndSessionRequest` and creates a URL
54
- * @param request
55
- */
56
- private createLogoutUrlQueryString;
57
- /**
58
- * Updates the authority to the cloud instance provided in the authorization response
59
- * @param cloudInstanceHostName - cloud instance host name from authorization code payload
60
- * @param correlationId - request correlation id
61
- */
62
- private updateTokenEndpointAuthority;
63
- }
64
- //# sourceMappingURL=AuthorizationCodeClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthorizationCodeClient.d.ts","sourceRoot":"","sources":["../../../src/client/AuthorizationCodeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAKtD,OAAO,EAEH,mBAAmB,EACnB,yBAAyB,EAE5B,MAAM,kCAAkC,CAAC;AAI1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAM3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAEhF,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AAWnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAYpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAG9D;;;GAGG;AACH,qBAAa,uBAAuB;IAEhC,SAAS,CAAC,kBAAkB,EAAE,OAAO,CAAQ;IAC7C,OAAO,CAAC,iBAAiB,CAAC;IAGnB,MAAM,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,MAAM,EAAE,yBAAyB,CAAC;IAG5C,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC;IAG/B,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAGrC,SAAS,CAAC,aAAa,EAAE,cAAc,CAAC;IAGxC,SAAS,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAGzD,SAAS,EAAE,SAAS,CAAC;IAG5B,SAAS,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;gBAG5C,aAAa,EAAE,mBAAmB,EAClC,iBAAiB,EAAE,kBAAkB;IA6BzC;;;;OAIG;IACG,YAAY,CACd,OAAO,EAAE,8BAA8B,EACvC,KAAK,EAAE,MAAM,EACb,eAAe,CAAC,EAAE,wBAAwB,GAC3C,OAAO,CAAC,oBAAoB,CAAC;IAmEhC;;;;OAIG;IACH,YAAY,CAAC,aAAa,EAAE,uBAAuB,GAAG,MAAM;IAgB5D;;;;OAIG;YACW,mBAAmB;IAyEjC;;;OAGG;YACW,sBAAsB;IAoOpC;;;OAGG;IACH,OAAO,CAAC,0BAA0B;IAmDlC;;;;OAIG;YACW,4BAA4B;CAgB7C"}
@@ -1,49 +0,0 @@
1
- import { ClientConfiguration, CommonClientConfiguration } from "../config/ClientConfiguration.js";
2
- import { CommonRefreshTokenRequest } from "../request/CommonRefreshTokenRequest.js";
3
- import { Authority } from "../authority/Authority.js";
4
- import { AuthenticationResult } from "../response/AuthenticationResult.js";
5
- import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest.js";
6
- import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
7
- import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js";
8
- import { INetworkModule } from "../network/INetworkModule.js";
9
- import { CacheManager } from "../cache/CacheManager.js";
10
- import { ICrypto } from "../crypto/ICrypto.js";
11
- import { Logger } from "../logger/Logger.js";
12
- /**
13
- * OAuth2.0 refresh token client
14
- * @internal
15
- */
16
- export declare class RefreshTokenClient {
17
- logger: Logger;
18
- protected config: CommonClientConfiguration;
19
- protected cryptoUtils: ICrypto;
20
- protected cacheManager: CacheManager;
21
- protected networkClient: INetworkModule;
22
- protected serverTelemetryManager: ServerTelemetryManager | null;
23
- authority: Authority;
24
- protected performanceClient: IPerformanceClient;
25
- constructor(configuration: ClientConfiguration, performanceClient: IPerformanceClient);
26
- acquireToken(request: CommonRefreshTokenRequest, apiId: number): Promise<AuthenticationResult>;
27
- /**
28
- * Gets cached refresh token and attaches to request, then calls acquireToken API
29
- * @param request
30
- */
31
- acquireTokenByRefreshToken(request: CommonSilentFlowRequest, apiId: number): Promise<AuthenticationResult>;
32
- /**
33
- * makes a network call to acquire tokens by exchanging RefreshToken available in userCache; throws if refresh token is not cached
34
- * @param request
35
- */
36
- private acquireTokenWithCachedRefreshToken;
37
- /**
38
- * Constructs the network message and makes a NW call to the underlying secure token service
39
- * @param request
40
- * @param authority
41
- */
42
- private executeTokenRequest;
43
- /**
44
- * Helper function to create the token request body
45
- * @param request
46
- */
47
- private createTokenRequestBody;
48
- }
49
- //# sourceMappingURL=RefreshTokenClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RefreshTokenClient.d.ts","sourceRoot":"","sources":["../../../src/client/RefreshTokenClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,mBAAmB,EACnB,yBAAyB,EAE5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAOtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAG3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAoBhF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAUpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAK7C;;;GAGG;AACH,qBAAa,kBAAkB;IAEpB,MAAM,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,MAAM,EAAE,yBAAyB,CAAC;IAG5C,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC;IAG/B,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAGrC,SAAS,CAAC,aAAa,EAAE,cAAc,CAAC;IAGxC,SAAS,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAGzD,SAAS,EAAE,SAAS,CAAC;IAG5B,SAAS,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;gBAG5C,aAAa,EAAE,mBAAmB,EAClC,iBAAiB,EAAE,kBAAkB;IA0B5B,YAAY,CACrB,OAAO,EAAE,yBAAyB,EAClC,KAAK,EAAE,MAAM,GACd,OAAO,CAAC,oBAAoB,CAAC;IA+ChC;;;OAGG;IACU,0BAA0B,CACnC,OAAO,EAAE,uBAAuB,EAChC,KAAK,EAAE,MAAM,GACd,OAAO,CAAC,oBAAoB,CAAC;IAiEhC;;;OAGG;YACW,kCAAkC;IAiFhD;;;;OAIG;YACW,mBAAmB;IAqDjC;;;OAGG;YACW,sBAAsB;CAgLvC"}
@@ -1,35 +0,0 @@
1
- import { ClientConfiguration, CommonClientConfiguration } from "../config/ClientConfiguration.js";
2
- import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest.js";
3
- import { AuthenticationResult } from "../response/AuthenticationResult.js";
4
- import { CacheOutcome } from "../utils/Constants.js";
5
- import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
6
- import { Authority } from "../authority/Authority.js";
7
- import { Logger } from "../logger/Logger.js";
8
- import { ICrypto } from "../crypto/ICrypto.js";
9
- import { CacheManager } from "../cache/CacheManager.js";
10
- import { INetworkModule } from "../network/INetworkModule.js";
11
- import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js";
12
- /** @internal */
13
- export declare class SilentFlowClient {
14
- logger: Logger;
15
- protected config: CommonClientConfiguration;
16
- protected cryptoUtils: ICrypto;
17
- protected cacheManager: CacheManager;
18
- protected networkClient: INetworkModule;
19
- protected serverTelemetryManager: ServerTelemetryManager | null;
20
- authority: Authority;
21
- protected performanceClient: IPerformanceClient;
22
- constructor(configuration: ClientConfiguration, performanceClient: IPerformanceClient);
23
- /**
24
- * Retrieves token from cache or throws an error if it must be refreshed.
25
- * @param request
26
- */
27
- acquireCachedToken(request: CommonSilentFlowRequest): Promise<[AuthenticationResult, CacheOutcome]>;
28
- private setCacheOutcome;
29
- /**
30
- * Helper function to build response object from the CacheRecord
31
- * @param cacheRecord
32
- */
33
- private generateResultFromCacheRecord;
34
- }
35
- //# sourceMappingURL=SilentFlowClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SilentFlowClient.d.ts","sourceRoot":"","sources":["../../../src/client/SilentFlowClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,mBAAmB,EACnB,yBAAyB,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAQ3E,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAMpF,OAAO,EACH,SAAS,EAEZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAGvF,gBAAgB;AAChB,qBAAa,gBAAgB;IAElB,MAAM,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,MAAM,EAAE,yBAAyB,CAAC;IAG5C,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC;IAG/B,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAGrC,SAAS,CAAC,aAAa,EAAE,cAAc,CAAC;IAGxC,SAAS,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAGzD,SAAS,EAAE,SAAS,CAAC;IAG5B,SAAS,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;gBAG5C,aAAa,EAAE,mBAAmB,EAClC,iBAAiB,EAAE,kBAAkB;IA2BzC;;;OAGG;IACG,kBAAkB,CACpB,OAAO,EAAE,uBAAuB,GACjC,OAAO,CAAC,CAAC,oBAAoB,EAAE,YAAY,CAAC,CAAC;IAoHhD,OAAO,CAAC,eAAe;IAmBvB;;;OAGG;YACW,6BAA6B;CAkC9C"}
@@ -1,39 +0,0 @@
1
- /**
2
- * Extensibility interface, which allows the app developer to return a token, based on the passed-in parameters, instead of fetching tokens from
3
- * the Identity Provider (AAD).
4
- * Developers need to construct and return an AppTokenProviderResult object back to MSAL. MSAL will cache the token response
5
- * in the same way it would do if the result were comming from AAD.
6
- * This extensibility point is only defined for the client_credential flow, i.e. acquireTokenByClientCredential and
7
- * meant for Azure SDK to enhance Managed Identity support.
8
- */
9
- export interface IAppTokenProvider {
10
- (appTokenProviderParameters: AppTokenProviderParameters): Promise<AppTokenProviderResult>;
11
- }
12
- /**
13
- * Input object for the IAppTokenProvider extensiblity. MSAL will create this object, which can be used
14
- * to help create an AppTokenProviderResult.
15
- *
16
- * - correlationId - the correlation Id associated with the request
17
- * - tenantId - the tenant Id for which the token must be provided
18
- * - scopes - the scopes for which the token must be provided
19
- * - claims - any extra claims that the token must satisfy
20
- */
21
- export type AppTokenProviderParameters = {
22
- readonly correlationId?: string;
23
- readonly tenantId: string;
24
- readonly scopes: Array<string>;
25
- readonly claims?: string;
26
- };
27
- /**
28
- * Output object for IAppTokenProvider extensiblity.
29
- *
30
- * - accessToken - the actual access token, typically in JWT format, that satisfies the request data AppTokenProviderParameters
31
- * - expiresInSeconds - how long the tokens has before expiry, in seconds. Similar to the "expires_in" field in an AAD token response.
32
- * - refreshInSeconds - how long the token has before it should be proactively refreshed. Similar to the "refresh_in" field in an AAD token response.
33
- */
34
- export type AppTokenProviderResult = {
35
- accessToken: string;
36
- expiresInSeconds: number;
37
- refreshInSeconds?: number;
38
- };
39
- //# sourceMappingURL=AppTokenProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppTokenProvider.d.ts","sourceRoot":"","sources":["../../../src/config/AppTokenProvider.ts"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAC9B,CACI,0BAA0B,EAAE,0BAA0B,GACvD,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACtC;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACrC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC"}
@@ -1,145 +0,0 @@
1
- import { INetworkModule } from "../network/INetworkModule.js";
2
- import { ICrypto } from "../crypto/ICrypto.js";
3
- import { ILoggerCallback, LogLevel } from "../logger/Logger.js";
4
- import type { Authority } from "../authority/Authority.js";
5
- import { AzureCloudInstance } from "../authority/AuthorityOptions.js";
6
- import { CacheManager } from "../cache/CacheManager.js";
7
- import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js";
8
- import { ICachePlugin } from "../cache/interface/ICachePlugin.js";
9
- import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache.js";
10
- import { ClientCredentials } from "../account/ClientCredentials.js";
11
- /**
12
- * Use the configuration object to configure MSAL Modules and initialize the base interfaces for MSAL.
13
- *
14
- * This object allows you to configure important elements of MSAL functionality:
15
- * - authOptions - Authentication for application
16
- * - cryptoInterface - Implementation of crypto functions
17
- * - libraryInfo - Library metadata
18
- * - telemetry - Telemetry options and data
19
- * - loggerOptions - Logging for application
20
- * - networkInterface - Network implementation
21
- * - storageInterface - Storage implementation
22
- * - systemOptions - Additional library options
23
- * - clientCredentials - Credentials options for confidential clients
24
- * @internal
25
- */
26
- export type ClientConfiguration = {
27
- authOptions: AuthOptions;
28
- systemOptions?: SystemOptions;
29
- loggerOptions?: LoggerOptions;
30
- storageInterface?: CacheManager;
31
- networkInterface?: INetworkModule;
32
- cryptoInterface?: ICrypto;
33
- clientCredentials?: ClientCredentials;
34
- libraryInfo?: LibraryInfo;
35
- telemetry?: TelemetryOptions;
36
- serverTelemetryManager?: ServerTelemetryManager | null;
37
- persistencePlugin?: ICachePlugin | null;
38
- serializableCache?: ISerializableTokenCache | null;
39
- };
40
- export type CommonClientConfiguration = {
41
- authOptions: Required<AuthOptions>;
42
- systemOptions: Required<SystemOptions>;
43
- loggerOptions: Required<LoggerOptions>;
44
- storageInterface: CacheManager;
45
- networkInterface: INetworkModule;
46
- cryptoInterface: Required<ICrypto>;
47
- libraryInfo: LibraryInfo;
48
- telemetry: Required<TelemetryOptions>;
49
- serverTelemetryManager: ServerTelemetryManager | null;
50
- clientCredentials: ClientCredentials;
51
- persistencePlugin: ICachePlugin | null;
52
- serializableCache: ISerializableTokenCache | null;
53
- };
54
- /**
55
- * Use this to configure the auth options in the ClientConfiguration object
56
- *
57
- * - clientId - Client ID of your app registered with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview in Microsoft Identity Platform
58
- * - authority - You can configure a specific authority, defaults to " " or "https://login.microsoftonline.com/common"
59
- * - knownAuthorities - An array of URIs that are known to be valid. Used in B2C scenarios.
60
- * - cloudDiscoveryMetadata - A string containing the cloud discovery response. Used in AAD scenarios.
61
- * - clientCapabilities - Array of capabilities which will be added to the claims.access_token.xms_cc request property on every network request.
62
- * - instanceAware - A flag of whether the STS will send back additional parameters to specify where the tokens should be retrieved from.
63
- * - redirectUri - The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal.
64
- * - isMcp - A flag of whether the application is an MCP application, which requires a resource parameter to be sent in token requests.
65
- * @internal
66
- */
67
- export type AuthOptions = {
68
- clientId: string;
69
- authority: Authority;
70
- redirectUri: string;
71
- clientCapabilities?: Array<string>;
72
- azureCloudOptions?: AzureCloudOptions;
73
- instanceAware?: boolean;
74
- isMcp?: boolean;
75
- };
76
- /**
77
- * Use this to configure token renewal info in the Configuration object
78
- *
79
- * - tokenRenewalOffsetSeconds - Sets the window of offset needed to renew the token before expiry
80
- * - protocolMode - Enum that represents the protocol that msal follows. Used for configuring proper endpoints.
81
- */
82
- export type SystemOptions = {
83
- tokenRenewalOffsetSeconds?: number;
84
- preventCorsPreflight?: boolean;
85
- };
86
- /**
87
- * Use this to configure the logging that MSAL does, by configuring logger options in the Configuration object
88
- *
89
- * - loggerCallback - Callback for logger
90
- * - piiLoggingEnabled - Sets whether pii logging is enabled
91
- * - logLevel - Sets the level at which logging happens
92
- * - correlationId - Sets the correlationId printed by the logger
93
- */
94
- export type LoggerOptions = {
95
- loggerCallback?: ILoggerCallback;
96
- piiLoggingEnabled?: boolean;
97
- logLevel?: LogLevel;
98
- correlationId?: string;
99
- };
100
- /**
101
- * Library-specific options
102
- */
103
- export type LibraryInfo = {
104
- sku: string;
105
- version: string;
106
- cpu: string;
107
- os: string;
108
- };
109
- /**
110
- * AzureCloudInstance specific options
111
- *
112
- * - azureCloudInstance - string enum providing short notation for soverign and public cloud authorities
113
- * - tenant - provision to provide the tenant info
114
- */
115
- export type AzureCloudOptions = {
116
- azureCloudInstance: AzureCloudInstance;
117
- tenant?: string;
118
- };
119
- export type TelemetryOptions = {
120
- application: ApplicationTelemetry;
121
- };
122
- /**
123
- * Telemetry information sent on request
124
- * - appName: Unique string name of an application
125
- * - appVersion: Version of the application using MSAL
126
- */
127
- export type ApplicationTelemetry = {
128
- appName: string;
129
- appVersion: string;
130
- };
131
- export declare const DEFAULT_SYSTEM_OPTIONS: Required<SystemOptions>;
132
- /**
133
- * Function that sets the default options when not explicitly configured from app developer
134
- *
135
- * @param Configuration
136
- *
137
- * @returns Configuration
138
- */
139
- export declare function buildClientConfiguration({ authOptions: userAuthOptions, systemOptions: userSystemOptions, loggerOptions: userLoggerOption, storageInterface: storageImplementation, networkInterface: networkImplementation, cryptoInterface: cryptoImplementation, clientCredentials: clientCredentials, libraryInfo: libraryInfo, telemetry: telemetry, serverTelemetryManager: serverTelemetryManager, persistencePlugin: persistencePlugin, serializableCache: serializableCache, }: ClientConfiguration): CommonClientConfiguration;
140
- /**
141
- * Returns true if config has protocolMode set to ProtocolMode.OIDC, false otherwise
142
- * @param ClientConfiguration
143
- */
144
- export declare function isOidcProtocolMode(config: ClientConfiguration): boolean;
145
- //# sourceMappingURL=ClientConfiguration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClientConfiguration.d.ts","sourceRoot":"","sources":["../../../src/config/ClientConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAiC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAU,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAOxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAuB,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAQpE;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAC9B,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,gBAAgB,CAAC,EAAE,cAAc,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,sBAAsB,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACvD,iBAAiB,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IACxC,iBAAiB,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;CACtD,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACpC,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACnC,aAAa,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACvC,aAAa,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACvC,gBAAgB,EAAE,YAAY,CAAC;IAC/B,gBAAgB,EAAE,cAAc,CAAC;IACjC,eAAe,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACnC,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACtC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACtD,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,iBAAiB,EAAE,YAAY,GAAG,IAAI,CAAC;IACvC,iBAAiB,EAAE,uBAAuB,GAAG,IAAI,CAAC;CACrD,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,WAAW,EAAE,oBAAoB,CAAC;CACrC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,aAAa,CAG1D,CAAC;AA4CF;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,EACrC,WAAW,EAAE,eAAe,EAC5B,aAAa,EAAE,iBAAiB,EAChC,aAAa,EAAE,gBAAgB,EAC/B,gBAAgB,EAAE,qBAAqB,EACvC,gBAAgB,EAAE,qBAAqB,EACvC,eAAe,EAAE,oBAAoB,EACrC,iBAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,EACpB,sBAAsB,EAAE,sBAAsB,EAC9C,iBAAiB,EAAE,iBAAiB,EACpC,iBAAiB,EAAE,iBAAiB,GACvC,EAAE,mBAAmB,GAAG,yBAAyB,CA4BjD;AAgBD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAIvE"}
@@ -1,61 +0,0 @@
1
- export declare const CLIENT_ID = "client_id";
2
- export declare const REDIRECT_URI = "redirect_uri";
3
- export declare const RESPONSE_TYPE = "response_type";
4
- export declare const RESPONSE_MODE = "response_mode";
5
- export declare const GRANT_TYPE = "grant_type";
6
- export declare const CLAIMS = "claims";
7
- export declare const SCOPE = "scope";
8
- export declare const ERROR = "error";
9
- export declare const ERROR_DESCRIPTION = "error_description";
10
- export declare const ACCESS_TOKEN = "access_token";
11
- export declare const ID_TOKEN = "id_token";
12
- export declare const REFRESH_TOKEN = "refresh_token";
13
- export declare const EXPIRES_IN = "expires_in";
14
- export declare const REFRESH_TOKEN_EXPIRES_IN = "refresh_token_expires_in";
15
- export declare const STATE = "state";
16
- export declare const NONCE = "nonce";
17
- export declare const PROMPT = "prompt";
18
- export declare const SESSION_STATE = "session_state";
19
- export declare const CLIENT_INFO = "client_info";
20
- export declare const CODE = "code";
21
- export declare const CODE_CHALLENGE = "code_challenge";
22
- export declare const CODE_CHALLENGE_METHOD = "code_challenge_method";
23
- export declare const CODE_VERIFIER = "code_verifier";
24
- export declare const CLIENT_REQUEST_ID = "client-request-id";
25
- export declare const X_CLIENT_SKU = "x-client-SKU";
26
- export declare const X_CLIENT_VER = "x-client-VER";
27
- export declare const X_CLIENT_OS = "x-client-OS";
28
- export declare const X_CLIENT_CPU = "x-client-CPU";
29
- export declare const X_CLIENT_CURR_TELEM = "x-client-current-telemetry";
30
- export declare const X_CLIENT_LAST_TELEM = "x-client-last-telemetry";
31
- export declare const X_MS_LIB_CAPABILITY = "x-ms-lib-capability";
32
- export declare const X_APP_NAME = "x-app-name";
33
- export declare const X_APP_VER = "x-app-ver";
34
- export declare const POST_LOGOUT_URI = "post_logout_redirect_uri";
35
- export declare const ID_TOKEN_HINT = "id_token_hint";
36
- export declare const DEVICE_CODE = "device_code";
37
- export declare const CLIENT_SECRET = "client_secret";
38
- export declare const CLIENT_ASSERTION = "client_assertion";
39
- export declare const CLIENT_ASSERTION_TYPE = "client_assertion_type";
40
- export declare const TOKEN_TYPE = "token_type";
41
- export declare const REQ_CNF = "req_cnf";
42
- export declare const OBO_ASSERTION = "assertion";
43
- export declare const REQUESTED_TOKEN_USE = "requested_token_use";
44
- export declare const ON_BEHALF_OF = "on_behalf_of";
45
- export declare const FOCI = "foci";
46
- export declare const CCS_HEADER = "X-AnchorMailbox";
47
- export declare const RETURN_SPA_CODE = "return_spa_code";
48
- export declare const NATIVE_BROKER = "nativebroker";
49
- export declare const LOGOUT_HINT = "logout_hint";
50
- export declare const SID = "sid";
51
- export declare const LOGIN_HINT = "login_hint";
52
- export declare const DOMAIN_HINT = "domain_hint";
53
- export declare const X_CLIENT_EXTRA_SKU = "x-client-xtra-sku";
54
- export declare const BROKER_CLIENT_ID = "brk_client_id";
55
- export declare const BROKER_REDIRECT_URI = "brk_redirect_uri";
56
- export declare const INSTANCE_AWARE = "instance_aware";
57
- export declare const EAR_JWK = "ear_jwk";
58
- export declare const EAR_JWE_CRYPTO = "ear_jwe_crypto";
59
- export declare const RESOURCE = "resource";
60
- export declare const CLI_DATA = "clidata";
61
- //# sourceMappingURL=AADServerParamKeys.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AADServerParamKeys.d.ts","sourceRoot":"","sources":["../../../src/constants/AADServerParamKeys.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,QAAQ,aAAa,CAAC;AACnC,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,mBAAmB,+BAA+B,CAAC;AAChE,eAAO,MAAM,mBAAmB,4BAA4B,CAAC;AAC7D,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,aAAa,cAAc,CAAC;AACzC,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,UAAU,oBAAoB,CAAC;AAC5C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,aAAa,iBAAiB,CAAC;AAC5C,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,GAAG,QAAQ,CAAC;AACzB,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAChD,eAAO,MAAM,mBAAmB,qBAAqB,CAAC;AACtD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,QAAQ,aAAa,CAAC;AACnC,eAAO,MAAM,QAAQ,YAAY,CAAC"}
@@ -1,71 +0,0 @@
1
- import type { BaseAuthRequest } from "../request/BaseAuthRequest.js";
2
- import type { ShrOptions, SignedHttpRequest } from "./SignedHttpRequest.js";
3
- /**
4
- * The PkceCodes type describes the structure
5
- * of objects that contain PKCE code
6
- * challenge and verifier pairs
7
- */
8
- export type PkceCodes = {
9
- verifier: string;
10
- challenge: string;
11
- };
12
- export type SignedHttpRequestParameters = Pick<BaseAuthRequest, "resourceRequestMethod" | "resourceRequestUri" | "shrClaims" | "shrNonce" | "shrOptions"> & {
13
- correlationId: string;
14
- };
15
- /**
16
- * Interface for crypto functions used by library
17
- */
18
- export interface ICrypto {
19
- /**
20
- * Creates a guid randomly.
21
- */
22
- createNewGuid(): string;
23
- /**
24
- * base64 Encode string
25
- * @param input
26
- */
27
- base64Encode(input: string): string;
28
- /**
29
- * base64 decode string
30
- * @param input
31
- */
32
- base64Decode(input: string): string;
33
- /**
34
- * base64 URL safe encoded string
35
- */
36
- base64UrlEncode(input: string): string;
37
- /**
38
- * Stringifies and base64Url encodes input public key
39
- * @param inputKid
40
- * @returns Base64Url encoded public key
41
- */
42
- encodeKid(inputKid: string): string;
43
- /**
44
- * Generates an JWK RSA S256 Thumbprint
45
- * @param request
46
- */
47
- getPublicKeyThumbprint(request: SignedHttpRequestParameters): Promise<string>;
48
- /**
49
- * Removes cryptographic keypair from key store matching the keyId passed in
50
- * @param kid
51
- * @param correlationId
52
- */
53
- removeTokenBindingKey(kid: string, correlationId: string): Promise<void>;
54
- /**
55
- * Removes all cryptographic keys from IndexedDB storage
56
- * @param correlationId
57
- */
58
- clearKeystore(correlationId: string): Promise<boolean>;
59
- /**
60
- * Returns a signed proof-of-possession token with a given acces token that contains a cnf claim with the required kid.
61
- * @param accessToken
62
- */
63
- signJwt(payload: SignedHttpRequest, kid: string, shrOptions?: ShrOptions, correlationId?: string): Promise<string>;
64
- /**
65
- * Returns the SHA-256 hash of an input string
66
- * @param plainText
67
- */
68
- hashString(plainText: string): Promise<string>;
69
- }
70
- export declare const DEFAULT_CRYPTO_IMPLEMENTATION: ICrypto;
71
- //# sourceMappingURL=ICrypto.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ICrypto.d.ts","sourceRoot":"","sources":["../../../src/crypto/ICrypto.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE5E;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAC1C,eAAe,EACb,uBAAuB,GACvB,oBAAoB,GACpB,WAAW,GACX,UAAU,GACV,YAAY,CACjB,GAAG;IACA,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,OAAO;IACpB;;OAEG;IACH,aAAa,IAAI,MAAM,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC;;OAEG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvC;;;;OAIG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC;;;OAGG;IACH,sBAAsB,CAClB,OAAO,EAAE,2BAA2B,GACrC,OAAO,CAAC,MAAM,CAAC,CAAC;IACnB;;;;OAIG;IACH,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzE;;;OAGG;IACH,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACvD;;;OAGG;IACH,OAAO,CACH,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,MAAM,EACX,UAAU,CAAC,EAAE,UAAU,EACvB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,MAAM,CAAC,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAClD;AAED,eAAO,MAAM,6BAA6B,EAAE,OA+B3C,CAAC"}
@@ -1,5 +0,0 @@
1
- export interface IGuidGenerator {
2
- generateGuid(): string;
3
- isGuid(guid: string): boolean;
4
- }
5
- //# sourceMappingURL=IGuidGenerator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IGuidGenerator.d.ts","sourceRoot":"","sources":["../../../src/crypto/IGuidGenerator.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC3B,YAAY,IAAI,MAAM,CAAC;IACvB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC"}
@@ -1,23 +0,0 @@
1
- import { JsonWebTokenTypes } from "../utils/Constants.js";
2
- export type JoseHeaderOptions = {
3
- typ?: JsonWebTokenTypes;
4
- alg?: string;
5
- kid?: string;
6
- };
7
- /** @internal */
8
- export declare class JoseHeader {
9
- typ?: JsonWebTokenTypes;
10
- alg?: string;
11
- kid?: string;
12
- constructor(options: JoseHeaderOptions);
13
- /**
14
- * Builds SignedHttpRequest formatted JOSE Header from the
15
- * JOSE Header options provided or previously set on the object and returns
16
- * the stringified header object.
17
- * Throws if keyId or algorithm aren't provided since they are required for Access Token Binding.
18
- * @param shrHeaderOptions
19
- * @returns
20
- */
21
- static getShrHeaderString(shrHeaderOptions: JoseHeaderOptions): string;
22
- }
23
- //# sourceMappingURL=JoseHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JoseHeader.d.ts","sourceRoot":"","sources":["../../../src/crypto/JoseHeader.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,MAAM,MAAM,iBAAiB,GAAG;IAC5B,GAAG,CAAC,EAAE,iBAAiB,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,qBAAa,UAAU;IACZ,GAAG,CAAC,EAAE,iBAAiB,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;gBAER,OAAO,EAAE,iBAAiB;IAMtC;;;;;;;OAOG;IACH,MAAM,CAAC,kBAAkB,CAAC,gBAAgB,EAAE,iBAAiB,GAAG,MAAM;CAoBzE"}