@depup/azure__identity 4.13.0-depup.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 (1253) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +41 -0
  3. package/changes.json +50 -0
  4. package/dist/browser/client/identityClient.d.ts +65 -0
  5. package/dist/browser/client/identityClient.d.ts.map +1 -0
  6. package/dist/browser/client/identityClient.js +260 -0
  7. package/dist/browser/client/identityClient.js.map +1 -0
  8. package/dist/browser/constants.d.ts +69 -0
  9. package/dist/browser/constants.d.ts.map +1 -0
  10. package/dist/browser/constants.js +75 -0
  11. package/dist/browser/constants.js.map +1 -0
  12. package/dist/browser/credentials/authorityValidationOptions.d.ts +16 -0
  13. package/dist/browser/credentials/authorityValidationOptions.d.ts.map +1 -0
  14. package/dist/browser/credentials/authorityValidationOptions.js +4 -0
  15. package/dist/browser/credentials/authorityValidationOptions.js.map +1 -0
  16. package/dist/browser/credentials/authorizationCodeCredential-browser.d.mts.map +1 -0
  17. package/dist/browser/credentials/authorizationCodeCredential-browser.mjs.map +1 -0
  18. package/dist/browser/credentials/authorizationCodeCredential.d.ts +11 -0
  19. package/dist/browser/credentials/authorizationCodeCredential.js +16 -0
  20. package/dist/browser/credentials/authorizationCodeCredentialOptions.d.ts +8 -0
  21. package/dist/browser/credentials/authorizationCodeCredentialOptions.d.ts.map +1 -0
  22. package/dist/browser/credentials/authorizationCodeCredentialOptions.js +4 -0
  23. package/dist/browser/credentials/authorizationCodeCredentialOptions.js.map +1 -0
  24. package/dist/browser/credentials/azureCliCredential-browser.d.mts.map +1 -0
  25. package/dist/browser/credentials/azureCliCredential-browser.mjs.map +1 -0
  26. package/dist/browser/credentials/azureCliCredential.d.ts +13 -0
  27. package/dist/browser/credentials/azureCliCredential.js +23 -0
  28. package/dist/browser/credentials/azureCliCredentialOptions.d.ts +20 -0
  29. package/dist/browser/credentials/azureCliCredentialOptions.d.ts.map +1 -0
  30. package/dist/browser/credentials/azureCliCredentialOptions.js +4 -0
  31. package/dist/browser/credentials/azureCliCredentialOptions.js.map +1 -0
  32. package/dist/browser/credentials/azureDeveloperCliCredential-browser.d.mts.map +1 -0
  33. package/dist/browser/credentials/azureDeveloperCliCredential-browser.mjs.map +1 -0
  34. package/dist/browser/credentials/azureDeveloperCliCredential.d.ts +13 -0
  35. package/dist/browser/credentials/azureDeveloperCliCredential.js +23 -0
  36. package/dist/browser/credentials/azureDeveloperCliCredentialOptions.d.ts +15 -0
  37. package/dist/browser/credentials/azureDeveloperCliCredentialOptions.d.ts.map +1 -0
  38. package/dist/browser/credentials/azureDeveloperCliCredentialOptions.js +4 -0
  39. package/dist/browser/credentials/azureDeveloperCliCredentialOptions.js.map +1 -0
  40. package/dist/browser/credentials/azurePipelinesCredential-browser.d.mts.map +1 -0
  41. package/dist/browser/credentials/azurePipelinesCredential-browser.mjs.map +1 -0
  42. package/dist/browser/credentials/azurePipelinesCredential.d.ts +13 -0
  43. package/dist/browser/credentials/azurePipelinesCredential.js +23 -0
  44. package/dist/browser/credentials/azurePipelinesCredentialOptions.d.ts +9 -0
  45. package/dist/browser/credentials/azurePipelinesCredentialOptions.d.ts.map +1 -0
  46. package/dist/browser/credentials/azurePipelinesCredentialOptions.js +4 -0
  47. package/dist/browser/credentials/azurePipelinesCredentialOptions.js.map +1 -0
  48. package/dist/browser/credentials/azurePowerShellCredential-browser.d.mts.map +1 -0
  49. package/dist/browser/credentials/azurePowerShellCredential-browser.mjs.map +1 -0
  50. package/dist/browser/credentials/azurePowerShellCredential.d.ts +12 -0
  51. package/dist/browser/credentials/azurePowerShellCredential.js +22 -0
  52. package/dist/browser/credentials/azurePowerShellCredentialOptions.d.ts +15 -0
  53. package/dist/browser/credentials/azurePowerShellCredentialOptions.d.ts.map +1 -0
  54. package/dist/browser/credentials/azurePowerShellCredentialOptions.js +4 -0
  55. package/dist/browser/credentials/azurePowerShellCredentialOptions.js.map +1 -0
  56. package/dist/browser/credentials/brokerAuthOptions.d.ts +13 -0
  57. package/dist/browser/credentials/brokerAuthOptions.d.ts.map +1 -0
  58. package/dist/browser/credentials/brokerAuthOptions.js +2 -0
  59. package/dist/browser/credentials/brokerAuthOptions.js.map +1 -0
  60. package/dist/browser/credentials/brokerCredential.d.ts +35 -0
  61. package/dist/browser/credentials/brokerCredential.d.ts.map +1 -0
  62. package/dist/browser/credentials/brokerCredential.js +69 -0
  63. package/dist/browser/credentials/brokerCredential.js.map +1 -0
  64. package/dist/browser/credentials/browserCustomizationOptions.d.ts +19 -0
  65. package/dist/browser/credentials/browserCustomizationOptions.d.ts.map +1 -0
  66. package/dist/browser/credentials/browserCustomizationOptions.js +4 -0
  67. package/dist/browser/credentials/browserCustomizationOptions.js.map +1 -0
  68. package/dist/browser/credentials/chainedTokenCredential.d.ts +51 -0
  69. package/dist/browser/credentials/chainedTokenCredential.d.ts.map +1 -0
  70. package/dist/browser/credentials/chainedTokenCredential.js +92 -0
  71. package/dist/browser/credentials/chainedTokenCredential.js.map +1 -0
  72. package/dist/browser/credentials/clientAssertionCredential-browser.d.mts.map +1 -0
  73. package/dist/browser/credentials/clientAssertionCredential-browser.mjs.map +1 -0
  74. package/dist/browser/credentials/clientAssertionCredential.d.ts +12 -0
  75. package/dist/browser/credentials/clientAssertionCredential.js +22 -0
  76. package/dist/browser/credentials/clientAssertionCredentialOptions.d.ts +9 -0
  77. package/dist/browser/credentials/clientAssertionCredentialOptions.d.ts.map +1 -0
  78. package/dist/browser/credentials/clientAssertionCredentialOptions.js +4 -0
  79. package/dist/browser/credentials/clientAssertionCredentialOptions.js.map +1 -0
  80. package/dist/browser/credentials/clientCertificateCredential-browser.d.mts.map +1 -0
  81. package/dist/browser/credentials/clientCertificateCredential-browser.mjs.map +1 -0
  82. package/dist/browser/credentials/clientCertificateCredential.d.ts +13 -0
  83. package/dist/browser/credentials/clientCertificateCredential.js +23 -0
  84. package/dist/browser/credentials/clientCertificateCredentialModels.d.ts +32 -0
  85. package/dist/browser/credentials/clientCertificateCredentialModels.d.ts.map +1 -0
  86. package/dist/browser/credentials/clientCertificateCredentialModels.js +4 -0
  87. package/dist/browser/credentials/clientCertificateCredentialModels.js.map +1 -0
  88. package/dist/browser/credentials/clientCertificateCredentialOptions.d.ts +14 -0
  89. package/dist/browser/credentials/clientCertificateCredentialOptions.d.ts.map +1 -0
  90. package/dist/browser/credentials/clientCertificateCredentialOptions.js +4 -0
  91. package/dist/browser/credentials/clientCertificateCredentialOptions.js.map +1 -0
  92. package/dist/browser/credentials/clientSecretCredential-browser.d.mts.map +1 -0
  93. package/dist/browser/credentials/clientSecretCredential-browser.mjs.map +1 -0
  94. package/dist/browser/credentials/clientSecretCredential.d.ts +40 -0
  95. package/dist/browser/credentials/clientSecretCredential.js +88 -0
  96. package/dist/browser/credentials/clientSecretCredentialOptions.d.ts +9 -0
  97. package/dist/browser/credentials/clientSecretCredentialOptions.d.ts.map +1 -0
  98. package/dist/browser/credentials/clientSecretCredentialOptions.js +4 -0
  99. package/dist/browser/credentials/clientSecretCredentialOptions.js.map +1 -0
  100. package/dist/browser/credentials/credentialPersistenceOptions.d.ts +30 -0
  101. package/dist/browser/credentials/credentialPersistenceOptions.d.ts.map +1 -0
  102. package/dist/browser/credentials/credentialPersistenceOptions.js +4 -0
  103. package/dist/browser/credentials/credentialPersistenceOptions.js.map +1 -0
  104. package/dist/browser/credentials/defaultAzureCredential-browser.d.mts.map +1 -0
  105. package/dist/browser/credentials/defaultAzureCredential-browser.mjs.map +1 -0
  106. package/dist/browser/credentials/defaultAzureCredential.d.ts +19 -0
  107. package/dist/browser/credentials/defaultAzureCredential.js +29 -0
  108. package/dist/browser/credentials/defaultAzureCredentialFunctions.d.ts +64 -0
  109. package/dist/browser/credentials/defaultAzureCredentialFunctions.d.ts.map +1 -0
  110. package/dist/browser/credentials/defaultAzureCredentialFunctions.js +147 -0
  111. package/dist/browser/credentials/defaultAzureCredentialFunctions.js.map +1 -0
  112. package/dist/browser/credentials/defaultAzureCredentialOptions.d.ts +61 -0
  113. package/dist/browser/credentials/defaultAzureCredentialOptions.d.ts.map +1 -0
  114. package/dist/browser/credentials/defaultAzureCredentialOptions.js +4 -0
  115. package/dist/browser/credentials/defaultAzureCredentialOptions.js.map +1 -0
  116. package/dist/browser/credentials/deviceCodeCredential-browser.d.mts.map +1 -0
  117. package/dist/browser/credentials/deviceCodeCredential-browser.mjs.map +1 -0
  118. package/dist/browser/credentials/deviceCodeCredential.d.ts +13 -0
  119. package/dist/browser/credentials/deviceCodeCredential.js +23 -0
  120. package/dist/browser/credentials/deviceCodeCredentialOptions.d.ts +53 -0
  121. package/dist/browser/credentials/deviceCodeCredentialOptions.d.ts.map +1 -0
  122. package/dist/browser/credentials/deviceCodeCredentialOptions.js +4 -0
  123. package/dist/browser/credentials/deviceCodeCredentialOptions.js.map +1 -0
  124. package/dist/browser/credentials/environmentCredential-browser.d.mts.map +1 -0
  125. package/dist/browser/credentials/environmentCredential-browser.mjs.map +1 -0
  126. package/dist/browser/credentials/environmentCredential.d.ts +13 -0
  127. package/dist/browser/credentials/environmentCredential.js +23 -0
  128. package/dist/browser/credentials/environmentCredentialOptions.d.ts +9 -0
  129. package/dist/browser/credentials/environmentCredentialOptions.d.ts.map +1 -0
  130. package/dist/browser/credentials/environmentCredentialOptions.js +4 -0
  131. package/dist/browser/credentials/environmentCredentialOptions.js.map +1 -0
  132. package/dist/browser/credentials/interactiveBrowserCredential-browser.d.mts.map +1 -0
  133. package/dist/browser/credentials/interactiveBrowserCredential-browser.mjs.map +1 -0
  134. package/dist/browser/credentials/interactiveBrowserCredential.d.ts +53 -0
  135. package/dist/browser/credentials/interactiveBrowserCredential.js +99 -0
  136. package/dist/browser/credentials/interactiveBrowserCredentialOptions.d.ts +77 -0
  137. package/dist/browser/credentials/interactiveBrowserCredentialOptions.d.ts.map +1 -0
  138. package/dist/browser/credentials/interactiveBrowserCredentialOptions.js +4 -0
  139. package/dist/browser/credentials/interactiveBrowserCredentialOptions.js.map +1 -0
  140. package/dist/browser/credentials/interactiveCredentialOptions.d.ts +25 -0
  141. package/dist/browser/credentials/interactiveCredentialOptions.d.ts.map +1 -0
  142. package/dist/browser/credentials/interactiveCredentialOptions.js +4 -0
  143. package/dist/browser/credentials/interactiveCredentialOptions.js.map +1 -0
  144. package/dist/browser/credentials/managedIdentityCredential/imdsMsi.d.ts +18 -0
  145. package/dist/browser/credentials/managedIdentityCredential/imdsMsi.d.ts.map +1 -0
  146. package/dist/browser/credentials/managedIdentityCredential/imdsMsi.js +97 -0
  147. package/dist/browser/credentials/managedIdentityCredential/imdsMsi.js.map +1 -0
  148. package/dist/browser/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts +13 -0
  149. package/dist/browser/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts.map +1 -0
  150. package/dist/browser/credentials/managedIdentityCredential/imdsRetryPolicy.js +43 -0
  151. package/dist/browser/credentials/managedIdentityCredential/imdsRetryPolicy.js.map +1 -0
  152. package/dist/browser/credentials/managedIdentityCredential/index-browser.d.mts.map +1 -0
  153. package/dist/browser/credentials/managedIdentityCredential/index-browser.mjs.map +1 -0
  154. package/dist/browser/credentials/managedIdentityCredential/index.d.ts +6 -0
  155. package/dist/browser/credentials/managedIdentityCredential/index.js +16 -0
  156. package/dist/browser/credentials/managedIdentityCredential/models.d.ts +24 -0
  157. package/dist/browser/credentials/managedIdentityCredential/models.d.ts.map +1 -0
  158. package/dist/browser/credentials/managedIdentityCredential/models.js +4 -0
  159. package/dist/browser/credentials/managedIdentityCredential/models.js.map +1 -0
  160. package/dist/browser/credentials/managedIdentityCredential/options.d.ts +52 -0
  161. package/dist/browser/credentials/managedIdentityCredential/options.d.ts.map +1 -0
  162. package/dist/browser/credentials/managedIdentityCredential/options.js +4 -0
  163. package/dist/browser/credentials/managedIdentityCredential/options.js.map +1 -0
  164. package/dist/browser/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts +14 -0
  165. package/dist/browser/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts.map +1 -0
  166. package/dist/browser/credentials/managedIdentityCredential/tokenExchangeMsi.js +38 -0
  167. package/dist/browser/credentials/managedIdentityCredential/tokenExchangeMsi.js.map +1 -0
  168. package/dist/browser/credentials/managedIdentityCredential/utils.d.ts +37 -0
  169. package/dist/browser/credentials/managedIdentityCredential/utils.d.ts.map +1 -0
  170. package/dist/browser/credentials/managedIdentityCredential/utils.js +81 -0
  171. package/dist/browser/credentials/managedIdentityCredential/utils.js.map +1 -0
  172. package/dist/browser/credentials/multiTenantTokenCredentialOptions.d.ts +12 -0
  173. package/dist/browser/credentials/multiTenantTokenCredentialOptions.d.ts.map +1 -0
  174. package/dist/browser/credentials/multiTenantTokenCredentialOptions.js +4 -0
  175. package/dist/browser/credentials/multiTenantTokenCredentialOptions.js.map +1 -0
  176. package/dist/browser/credentials/onBehalfOfCredential-browser.d.mts.map +1 -0
  177. package/dist/browser/credentials/onBehalfOfCredential-browser.mjs.map +1 -0
  178. package/dist/browser/credentials/onBehalfOfCredential.d.ts +12 -0
  179. package/dist/browser/credentials/onBehalfOfCredential.js +23 -0
  180. package/dist/browser/credentials/onBehalfOfCredentialOptions.d.ts +76 -0
  181. package/dist/browser/credentials/onBehalfOfCredentialOptions.d.ts.map +1 -0
  182. package/dist/browser/credentials/onBehalfOfCredentialOptions.js +4 -0
  183. package/dist/browser/credentials/onBehalfOfCredentialOptions.js.map +1 -0
  184. package/dist/browser/credentials/usernamePasswordCredential-browser.d.mts.map +1 -0
  185. package/dist/browser/credentials/usernamePasswordCredential-browser.mjs.map +1 -0
  186. package/dist/browser/credentials/usernamePasswordCredential.d.ts +43 -0
  187. package/dist/browser/credentials/usernamePasswordCredential.js +86 -0
  188. package/dist/browser/credentials/usernamePasswordCredentialOptions.d.ts +10 -0
  189. package/dist/browser/credentials/usernamePasswordCredentialOptions.d.ts.map +1 -0
  190. package/dist/browser/credentials/usernamePasswordCredentialOptions.js +4 -0
  191. package/dist/browser/credentials/usernamePasswordCredentialOptions.js.map +1 -0
  192. package/dist/browser/credentials/visualStudioCodeCredential-browser.d.mts.map +1 -0
  193. package/dist/browser/credentials/visualStudioCodeCredential-browser.mjs.map +1 -0
  194. package/dist/browser/credentials/visualStudioCodeCredential.d.ts +20 -0
  195. package/dist/browser/credentials/visualStudioCodeCredential.js +32 -0
  196. package/dist/browser/credentials/visualStudioCodeCredentialOptions.d.ts +12 -0
  197. package/dist/browser/credentials/visualStudioCodeCredentialOptions.d.ts.map +1 -0
  198. package/dist/browser/credentials/visualStudioCodeCredentialOptions.js +4 -0
  199. package/dist/browser/credentials/visualStudioCodeCredentialOptions.js.map +1 -0
  200. package/dist/browser/credentials/visualStudioCodeCredentialPlugin.d.ts +12 -0
  201. package/dist/browser/credentials/visualStudioCodeCredentialPlugin.d.ts.map +1 -0
  202. package/dist/browser/credentials/visualStudioCodeCredentialPlugin.js +4 -0
  203. package/dist/browser/credentials/visualStudioCodeCredentialPlugin.js.map +1 -0
  204. package/dist/browser/credentials/workloadIdentityCredential-browser.d.mts.map +1 -0
  205. package/dist/browser/credentials/workloadIdentityCredential-browser.mjs.map +1 -0
  206. package/dist/browser/credentials/workloadIdentityCredential.d.ts +17 -0
  207. package/dist/browser/credentials/workloadIdentityCredential.js +27 -0
  208. package/dist/browser/credentials/workloadIdentityCredentialOptions.d.ts +20 -0
  209. package/dist/browser/credentials/workloadIdentityCredentialOptions.d.ts.map +1 -0
  210. package/dist/browser/credentials/workloadIdentityCredentialOptions.js +4 -0
  211. package/dist/browser/credentials/workloadIdentityCredentialOptions.js.map +1 -0
  212. package/dist/browser/errors.d.ts +139 -0
  213. package/dist/browser/errors.d.ts.map +1 -0
  214. package/dist/browser/errors.js +139 -0
  215. package/dist/browser/errors.js.map +1 -0
  216. package/dist/browser/index.d.ts +61 -0
  217. package/dist/browser/index.d.ts.map +1 -0
  218. package/dist/browser/index.js +34 -0
  219. package/dist/browser/index.js.map +1 -0
  220. package/dist/browser/msal/browserFlows/msalBrowserCommon.d.ts +19 -0
  221. package/dist/browser/msal/browserFlows/msalBrowserCommon.d.ts.map +1 -0
  222. package/dist/browser/msal/browserFlows/msalBrowserCommon.js +261 -0
  223. package/dist/browser/msal/browserFlows/msalBrowserCommon.js.map +1 -0
  224. package/dist/browser/msal/browserFlows/msalBrowserOptions.d.ts +87 -0
  225. package/dist/browser/msal/browserFlows/msalBrowserOptions.d.ts.map +1 -0
  226. package/dist/browser/msal/browserFlows/msalBrowserOptions.js +4 -0
  227. package/dist/browser/msal/browserFlows/msalBrowserOptions.js.map +1 -0
  228. package/dist/browser/msal/credentials.d.ts +52 -0
  229. package/dist/browser/msal/credentials.d.ts.map +1 -0
  230. package/dist/browser/msal/credentials.js +4 -0
  231. package/dist/browser/msal/credentials.js.map +1 -0
  232. package/dist/browser/msal/msal-browser.d.mts.map +1 -0
  233. package/dist/browser/msal/msal-browser.mjs.map +1 -0
  234. package/dist/browser/msal/msal.d.ts +3 -0
  235. package/dist/browser/msal/msal.js +5 -0
  236. package/dist/browser/msal/nodeFlows/brokerOptions.d.ts +44 -0
  237. package/dist/browser/msal/nodeFlows/brokerOptions.d.ts.map +1 -0
  238. package/dist/browser/msal/nodeFlows/brokerOptions.js +2 -0
  239. package/dist/browser/msal/nodeFlows/brokerOptions.js.map +1 -0
  240. package/dist/browser/msal/nodeFlows/msalClient.d.ts +199 -0
  241. package/dist/browser/msal/nodeFlows/msalClient.d.ts.map +1 -0
  242. package/dist/browser/msal/nodeFlows/msalClient.js +499 -0
  243. package/dist/browser/msal/nodeFlows/msalClient.js.map +1 -0
  244. package/dist/browser/msal/nodeFlows/msalPlugins.d.ts +109 -0
  245. package/dist/browser/msal/nodeFlows/msalPlugins.d.ts.map +1 -0
  246. package/dist/browser/msal/nodeFlows/msalPlugins.js +160 -0
  247. package/dist/browser/msal/nodeFlows/msalPlugins.js.map +1 -0
  248. package/dist/browser/msal/nodeFlows/tokenCachePersistenceOptions.d.ts +24 -0
  249. package/dist/browser/msal/nodeFlows/tokenCachePersistenceOptions.d.ts.map +1 -0
  250. package/dist/browser/msal/nodeFlows/tokenCachePersistenceOptions.js +4 -0
  251. package/dist/browser/msal/nodeFlows/tokenCachePersistenceOptions.js.map +1 -0
  252. package/dist/browser/msal/types.d.ts +93 -0
  253. package/dist/browser/msal/types.d.ts.map +1 -0
  254. package/dist/browser/msal/types.js +4 -0
  255. package/dist/browser/msal/types.js.map +1 -0
  256. package/dist/browser/msal/utils.d.ts +95 -0
  257. package/dist/browser/msal/utils.d.ts.map +1 -0
  258. package/dist/browser/msal/utils.js +233 -0
  259. package/dist/browser/msal/utils.js.map +1 -0
  260. package/dist/browser/package.json +3 -0
  261. package/dist/browser/plugins/consumer-browser.d.mts.map +1 -0
  262. package/dist/browser/plugins/consumer-browser.mjs.map +1 -0
  263. package/dist/browser/plugins/consumer.d.ts +2 -0
  264. package/dist/browser/plugins/consumer.js +7 -0
  265. package/dist/browser/plugins/provider.d.ts +36 -0
  266. package/dist/browser/plugins/provider.d.ts.map +1 -0
  267. package/dist/browser/plugins/provider.js +4 -0
  268. package/dist/browser/plugins/provider.js.map +1 -0
  269. package/dist/browser/regionalAuthority.d.ts +122 -0
  270. package/dist/browser/regionalAuthority.d.ts.map +1 -0
  271. package/dist/browser/regionalAuthority.js +139 -0
  272. package/dist/browser/regionalAuthority.js.map +1 -0
  273. package/dist/browser/tokenCredentialOptions.d.ts +28 -0
  274. package/dist/browser/tokenCredentialOptions.d.ts.map +1 -0
  275. package/dist/browser/tokenCredentialOptions.js +4 -0
  276. package/dist/browser/tokenCredentialOptions.js.map +1 -0
  277. package/dist/browser/tokenProvider.d.ts +39 -0
  278. package/dist/browser/tokenProvider.d.ts.map +1 -0
  279. package/dist/browser/tokenProvider.js +52 -0
  280. package/dist/browser/tokenProvider.js.map +1 -0
  281. package/dist/browser/util/authHostEnv-browser.d.mts +4 -0
  282. package/dist/browser/util/authHostEnv-browser.d.mts.map +1 -0
  283. package/dist/browser/util/authHostEnv-browser.mjs +7 -0
  284. package/dist/browser/util/authHostEnv-browser.mjs.map +1 -0
  285. package/dist/browser/util/identityTokenEndpoint.d.ts +2 -0
  286. package/dist/browser/util/identityTokenEndpoint.d.ts.map +1 -0
  287. package/dist/browser/util/identityTokenEndpoint.js +11 -0
  288. package/dist/browser/util/identityTokenEndpoint.js.map +1 -0
  289. package/dist/browser/util/logging.d.ts +70 -0
  290. package/dist/browser/util/logging.d.ts.map +1 -0
  291. package/dist/browser/util/logging.js +98 -0
  292. package/dist/browser/util/logging.js.map +1 -0
  293. package/dist/browser/util/processMultiTenantRequest-browser.d.mts.map +1 -0
  294. package/dist/browser/util/processMultiTenantRequest-browser.mjs.map +1 -0
  295. package/dist/browser/util/processMultiTenantRequest.d.ts +9 -0
  296. package/dist/browser/util/processMultiTenantRequest.js +28 -0
  297. package/dist/browser/util/processUtils.d.ts +13 -0
  298. package/dist/browser/util/processUtils.d.ts.map +1 -0
  299. package/dist/browser/util/processUtils.js +32 -0
  300. package/dist/browser/util/processUtils.js.map +1 -0
  301. package/dist/browser/util/scopeUtils.d.ts +17 -0
  302. package/dist/browser/util/scopeUtils.d.ts.map +1 -0
  303. package/dist/browser/util/scopeUtils.js +29 -0
  304. package/dist/browser/util/scopeUtils.js.map +1 -0
  305. package/dist/browser/util/subscriptionUtils.d.ts +6 -0
  306. package/dist/browser/util/subscriptionUtils.d.ts.map +1 -0
  307. package/dist/browser/util/subscriptionUtils.js +16 -0
  308. package/dist/browser/util/subscriptionUtils.js.map +1 -0
  309. package/dist/browser/util/tenantIdUtils.d.ts +15 -0
  310. package/dist/browser/util/tenantIdUtils.d.ts.map +1 -0
  311. package/dist/browser/util/tenantIdUtils.js +44 -0
  312. package/dist/browser/util/tenantIdUtils.js.map +1 -0
  313. package/dist/browser/util/tracing.d.ts +6 -0
  314. package/dist/browser/util/tracing.d.ts.map +1 -0
  315. package/dist/browser/util/tracing.js +14 -0
  316. package/dist/browser/util/tracing.js.map +1 -0
  317. package/dist/commonjs/client/identityClient.d.ts +65 -0
  318. package/dist/commonjs/client/identityClient.d.ts.map +1 -0
  319. package/dist/commonjs/client/identityClient.js +265 -0
  320. package/dist/commonjs/client/identityClient.js.map +1 -0
  321. package/dist/commonjs/constants.d.ts +69 -0
  322. package/dist/commonjs/constants.d.ts.map +1 -0
  323. package/dist/commonjs/constants.js +78 -0
  324. package/dist/commonjs/constants.js.map +1 -0
  325. package/dist/commonjs/credentials/authorityValidationOptions.d.ts +16 -0
  326. package/dist/commonjs/credentials/authorityValidationOptions.d.ts.map +1 -0
  327. package/dist/commonjs/credentials/authorityValidationOptions.js +5 -0
  328. package/dist/commonjs/credentials/authorityValidationOptions.js.map +1 -0
  329. package/dist/commonjs/credentials/authorizationCodeCredential.d.ts +73 -0
  330. package/dist/commonjs/credentials/authorizationCodeCredential.d.ts.map +1 -0
  331. package/dist/commonjs/credentials/authorizationCodeCredential.js +78 -0
  332. package/dist/commonjs/credentials/authorizationCodeCredential.js.map +1 -0
  333. package/dist/commonjs/credentials/authorizationCodeCredentialOptions.d.ts +8 -0
  334. package/dist/commonjs/credentials/authorizationCodeCredentialOptions.d.ts.map +1 -0
  335. package/dist/commonjs/credentials/authorizationCodeCredentialOptions.js +5 -0
  336. package/dist/commonjs/credentials/authorizationCodeCredentialOptions.js.map +1 -0
  337. package/dist/commonjs/credentials/azureCliCredential.d.ts +75 -0
  338. package/dist/commonjs/credentials/azureCliCredential.d.ts.map +1 -0
  339. package/dist/commonjs/credentials/azureCliCredential.js +224 -0
  340. package/dist/commonjs/credentials/azureCliCredential.js.map +1 -0
  341. package/dist/commonjs/credentials/azureCliCredentialOptions.d.ts +20 -0
  342. package/dist/commonjs/credentials/azureCliCredentialOptions.d.ts.map +1 -0
  343. package/dist/commonjs/credentials/azureCliCredentialOptions.js +5 -0
  344. package/dist/commonjs/credentials/azureCliCredentialOptions.js.map +1 -0
  345. package/dist/commonjs/credentials/azureDeveloperCliCredential.d.ts +81 -0
  346. package/dist/commonjs/credentials/azureDeveloperCliCredential.d.ts.map +1 -0
  347. package/dist/commonjs/credentials/azureDeveloperCliCredential.js +210 -0
  348. package/dist/commonjs/credentials/azureDeveloperCliCredential.js.map +1 -0
  349. package/dist/commonjs/credentials/azureDeveloperCliCredentialOptions.d.ts +15 -0
  350. package/dist/commonjs/credentials/azureDeveloperCliCredentialOptions.d.ts.map +1 -0
  351. package/dist/commonjs/credentials/azureDeveloperCliCredentialOptions.js +5 -0
  352. package/dist/commonjs/credentials/azureDeveloperCliCredentialOptions.js.map +1 -0
  353. package/dist/commonjs/credentials/azurePipelinesCredential.d.ts +38 -0
  354. package/dist/commonjs/credentials/azurePipelinesCredential.d.ts.map +1 -0
  355. package/dist/commonjs/credentials/azurePipelinesCredential.js +150 -0
  356. package/dist/commonjs/credentials/azurePipelinesCredential.js.map +1 -0
  357. package/dist/commonjs/credentials/azurePipelinesCredentialOptions.d.ts +9 -0
  358. package/dist/commonjs/credentials/azurePipelinesCredentialOptions.d.ts.map +1 -0
  359. package/dist/commonjs/credentials/azurePipelinesCredentialOptions.js +5 -0
  360. package/dist/commonjs/credentials/azurePipelinesCredentialOptions.js.map +1 -0
  361. package/dist/commonjs/credentials/azurePowerShellCredential.d.ts +76 -0
  362. package/dist/commonjs/credentials/azurePowerShellCredential.d.ts.map +1 -0
  363. package/dist/commonjs/credentials/azurePowerShellCredential.js +264 -0
  364. package/dist/commonjs/credentials/azurePowerShellCredential.js.map +1 -0
  365. package/dist/commonjs/credentials/azurePowerShellCredentialOptions.d.ts +15 -0
  366. package/dist/commonjs/credentials/azurePowerShellCredentialOptions.d.ts.map +1 -0
  367. package/dist/commonjs/credentials/azurePowerShellCredentialOptions.js +5 -0
  368. package/dist/commonjs/credentials/azurePowerShellCredentialOptions.js.map +1 -0
  369. package/dist/commonjs/credentials/brokerAuthOptions.d.ts +13 -0
  370. package/dist/commonjs/credentials/brokerAuthOptions.d.ts.map +1 -0
  371. package/dist/commonjs/credentials/brokerAuthOptions.js +3 -0
  372. package/dist/commonjs/credentials/brokerAuthOptions.js.map +1 -0
  373. package/dist/commonjs/credentials/brokerCredential.d.ts +35 -0
  374. package/dist/commonjs/credentials/brokerCredential.d.ts.map +1 -0
  375. package/dist/commonjs/credentials/brokerCredential.js +73 -0
  376. package/dist/commonjs/credentials/brokerCredential.js.map +1 -0
  377. package/dist/commonjs/credentials/browserCustomizationOptions.d.ts +19 -0
  378. package/dist/commonjs/credentials/browserCustomizationOptions.d.ts.map +1 -0
  379. package/dist/commonjs/credentials/browserCustomizationOptions.js +5 -0
  380. package/dist/commonjs/credentials/browserCustomizationOptions.js.map +1 -0
  381. package/dist/commonjs/credentials/chainedTokenCredential.d.ts +51 -0
  382. package/dist/commonjs/credentials/chainedTokenCredential.d.ts.map +1 -0
  383. package/dist/commonjs/credentials/chainedTokenCredential.js +96 -0
  384. package/dist/commonjs/credentials/chainedTokenCredential.js.map +1 -0
  385. package/dist/commonjs/credentials/clientAssertionCredential.d.ts +33 -0
  386. package/dist/commonjs/credentials/clientAssertionCredential.d.ts.map +1 -0
  387. package/dist/commonjs/credentials/clientAssertionCredential.js +68 -0
  388. package/dist/commonjs/credentials/clientAssertionCredential.js.map +1 -0
  389. package/dist/commonjs/credentials/clientAssertionCredentialOptions.d.ts +9 -0
  390. package/dist/commonjs/credentials/clientAssertionCredentialOptions.d.ts.map +1 -0
  391. package/dist/commonjs/credentials/clientAssertionCredentialOptions.js +5 -0
  392. package/dist/commonjs/credentials/clientAssertionCredentialOptions.js.map +1 -0
  393. package/dist/commonjs/credentials/clientCertificateCredential.d.ts +73 -0
  394. package/dist/commonjs/credentials/clientCertificateCredential.d.ts.map +1 -0
  395. package/dist/commonjs/credentials/clientCertificateCredential.js +143 -0
  396. package/dist/commonjs/credentials/clientCertificateCredential.js.map +1 -0
  397. package/dist/commonjs/credentials/clientCertificateCredentialModels.d.ts +32 -0
  398. package/dist/commonjs/credentials/clientCertificateCredentialModels.d.ts.map +1 -0
  399. package/dist/commonjs/credentials/clientCertificateCredentialModels.js +5 -0
  400. package/dist/commonjs/credentials/clientCertificateCredentialModels.js.map +1 -0
  401. package/dist/commonjs/credentials/clientCertificateCredentialOptions.d.ts +14 -0
  402. package/dist/commonjs/credentials/clientCertificateCredentialOptions.d.ts.map +1 -0
  403. package/dist/commonjs/credentials/clientCertificateCredentialOptions.js +5 -0
  404. package/dist/commonjs/credentials/clientCertificateCredentialOptions.js.map +1 -0
  405. package/dist/commonjs/credentials/clientSecretCredential.d.ts +37 -0
  406. package/dist/commonjs/credentials/clientSecretCredential.d.ts.map +1 -0
  407. package/dist/commonjs/credentials/clientSecretCredential.js +72 -0
  408. package/dist/commonjs/credentials/clientSecretCredential.js.map +1 -0
  409. package/dist/commonjs/credentials/clientSecretCredentialOptions.d.ts +9 -0
  410. package/dist/commonjs/credentials/clientSecretCredentialOptions.d.ts.map +1 -0
  411. package/dist/commonjs/credentials/clientSecretCredentialOptions.js +5 -0
  412. package/dist/commonjs/credentials/clientSecretCredentialOptions.js.map +1 -0
  413. package/dist/commonjs/credentials/credentialPersistenceOptions.d.ts +30 -0
  414. package/dist/commonjs/credentials/credentialPersistenceOptions.d.ts.map +1 -0
  415. package/dist/commonjs/credentials/credentialPersistenceOptions.js +5 -0
  416. package/dist/commonjs/credentials/credentialPersistenceOptions.js.map +1 -0
  417. package/dist/commonjs/credentials/defaultAzureCredential.d.ts +70 -0
  418. package/dist/commonjs/credentials/defaultAzureCredential.d.ts.map +1 -0
  419. package/dist/commonjs/credentials/defaultAzureCredential.js +167 -0
  420. package/dist/commonjs/credentials/defaultAzureCredential.js.map +1 -0
  421. package/dist/commonjs/credentials/defaultAzureCredentialFunctions.d.ts +64 -0
  422. package/dist/commonjs/credentials/defaultAzureCredentialFunctions.d.ts.map +1 -0
  423. package/dist/commonjs/credentials/defaultAzureCredentialFunctions.js +157 -0
  424. package/dist/commonjs/credentials/defaultAzureCredentialFunctions.js.map +1 -0
  425. package/dist/commonjs/credentials/defaultAzureCredentialOptions.d.ts +61 -0
  426. package/dist/commonjs/credentials/defaultAzureCredentialOptions.d.ts.map +1 -0
  427. package/dist/commonjs/credentials/defaultAzureCredentialOptions.js +5 -0
  428. package/dist/commonjs/credentials/defaultAzureCredentialOptions.js.map +1 -0
  429. package/dist/commonjs/credentials/deviceCodeCredential.d.ts +67 -0
  430. package/dist/commonjs/credentials/deviceCodeCredential.d.ts.map +1 -0
  431. package/dist/commonjs/credentials/deviceCodeCredential.js +110 -0
  432. package/dist/commonjs/credentials/deviceCodeCredential.js.map +1 -0
  433. package/dist/commonjs/credentials/deviceCodeCredentialOptions.d.ts +53 -0
  434. package/dist/commonjs/credentials/deviceCodeCredentialOptions.d.ts.map +1 -0
  435. package/dist/commonjs/credentials/deviceCodeCredentialOptions.js +5 -0
  436. package/dist/commonjs/credentials/deviceCodeCredentialOptions.js.map +1 -0
  437. package/dist/commonjs/credentials/environmentCredential.d.ts +51 -0
  438. package/dist/commonjs/credentials/environmentCredential.d.ts.map +1 -0
  439. package/dist/commonjs/credentials/environmentCredential.js +133 -0
  440. package/dist/commonjs/credentials/environmentCredential.js.map +1 -0
  441. package/dist/commonjs/credentials/environmentCredentialOptions.d.ts +9 -0
  442. package/dist/commonjs/credentials/environmentCredentialOptions.d.ts.map +1 -0
  443. package/dist/commonjs/credentials/environmentCredentialOptions.js +5 -0
  444. package/dist/commonjs/credentials/environmentCredentialOptions.js.map +1 -0
  445. package/dist/commonjs/credentials/interactiveBrowserCredential.d.ts +56 -0
  446. package/dist/commonjs/credentials/interactiveBrowserCredential.d.ts.map +1 -0
  447. package/dist/commonjs/credentials/interactiveBrowserCredential.js +114 -0
  448. package/dist/commonjs/credentials/interactiveBrowserCredential.js.map +1 -0
  449. package/dist/commonjs/credentials/interactiveBrowserCredentialOptions.d.ts +77 -0
  450. package/dist/commonjs/credentials/interactiveBrowserCredentialOptions.d.ts.map +1 -0
  451. package/dist/commonjs/credentials/interactiveBrowserCredentialOptions.js +5 -0
  452. package/dist/commonjs/credentials/interactiveBrowserCredentialOptions.js.map +1 -0
  453. package/dist/commonjs/credentials/interactiveCredentialOptions.d.ts +25 -0
  454. package/dist/commonjs/credentials/interactiveCredentialOptions.d.ts.map +1 -0
  455. package/dist/commonjs/credentials/interactiveCredentialOptions.js +5 -0
  456. package/dist/commonjs/credentials/interactiveCredentialOptions.js.map +1 -0
  457. package/dist/commonjs/credentials/managedIdentityCredential/imdsMsi.d.ts +18 -0
  458. package/dist/commonjs/credentials/managedIdentityCredential/imdsMsi.d.ts.map +1 -0
  459. package/dist/commonjs/credentials/managedIdentityCredential/imdsMsi.js +100 -0
  460. package/dist/commonjs/credentials/managedIdentityCredential/imdsMsi.js.map +1 -0
  461. package/dist/commonjs/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts +13 -0
  462. package/dist/commonjs/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts.map +1 -0
  463. package/dist/commonjs/credentials/managedIdentityCredential/imdsRetryPolicy.js +46 -0
  464. package/dist/commonjs/credentials/managedIdentityCredential/imdsRetryPolicy.js.map +1 -0
  465. package/dist/commonjs/credentials/managedIdentityCredential/index.d.ts +62 -0
  466. package/dist/commonjs/credentials/managedIdentityCredential/index.d.ts.map +1 -0
  467. package/dist/commonjs/credentials/managedIdentityCredential/index.js +257 -0
  468. package/dist/commonjs/credentials/managedIdentityCredential/index.js.map +1 -0
  469. package/dist/commonjs/credentials/managedIdentityCredential/models.d.ts +24 -0
  470. package/dist/commonjs/credentials/managedIdentityCredential/models.d.ts.map +1 -0
  471. package/dist/commonjs/credentials/managedIdentityCredential/models.js +5 -0
  472. package/dist/commonjs/credentials/managedIdentityCredential/models.js.map +1 -0
  473. package/dist/commonjs/credentials/managedIdentityCredential/options.d.ts +52 -0
  474. package/dist/commonjs/credentials/managedIdentityCredential/options.d.ts.map +1 -0
  475. package/dist/commonjs/credentials/managedIdentityCredential/options.js +5 -0
  476. package/dist/commonjs/credentials/managedIdentityCredential/options.js.map +1 -0
  477. package/dist/commonjs/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts +14 -0
  478. package/dist/commonjs/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts.map +1 -0
  479. package/dist/commonjs/credentials/managedIdentityCredential/tokenExchangeMsi.js +41 -0
  480. package/dist/commonjs/credentials/managedIdentityCredential/tokenExchangeMsi.js.map +1 -0
  481. package/dist/commonjs/credentials/managedIdentityCredential/utils.d.ts +37 -0
  482. package/dist/commonjs/credentials/managedIdentityCredential/utils.d.ts.map +1 -0
  483. package/dist/commonjs/credentials/managedIdentityCredential/utils.js +87 -0
  484. package/dist/commonjs/credentials/managedIdentityCredential/utils.js.map +1 -0
  485. package/dist/commonjs/credentials/multiTenantTokenCredentialOptions.d.ts +12 -0
  486. package/dist/commonjs/credentials/multiTenantTokenCredentialOptions.d.ts.map +1 -0
  487. package/dist/commonjs/credentials/multiTenantTokenCredentialOptions.js +5 -0
  488. package/dist/commonjs/credentials/multiTenantTokenCredentialOptions.js.map +1 -0
  489. package/dist/commonjs/credentials/onBehalfOfCredential.d.ts +105 -0
  490. package/dist/commonjs/credentials/onBehalfOfCredential.d.ts.map +1 -0
  491. package/dist/commonjs/credentials/onBehalfOfCredential.js +134 -0
  492. package/dist/commonjs/credentials/onBehalfOfCredential.js.map +1 -0
  493. package/dist/commonjs/credentials/onBehalfOfCredentialOptions.d.ts +76 -0
  494. package/dist/commonjs/credentials/onBehalfOfCredentialOptions.d.ts.map +1 -0
  495. package/dist/commonjs/credentials/onBehalfOfCredentialOptions.js +5 -0
  496. package/dist/commonjs/credentials/onBehalfOfCredentialOptions.js.map +1 -0
  497. package/dist/commonjs/credentials/usernamePasswordCredential.d.ts +42 -0
  498. package/dist/commonjs/credentials/usernamePasswordCredential.d.ts.map +1 -0
  499. package/dist/commonjs/credentials/usernamePasswordCredential.js +80 -0
  500. package/dist/commonjs/credentials/usernamePasswordCredential.js.map +1 -0
  501. package/dist/commonjs/credentials/usernamePasswordCredentialOptions.d.ts +10 -0
  502. package/dist/commonjs/credentials/usernamePasswordCredentialOptions.d.ts.map +1 -0
  503. package/dist/commonjs/credentials/usernamePasswordCredentialOptions.js +5 -0
  504. package/dist/commonjs/credentials/usernamePasswordCredentialOptions.js.map +1 -0
  505. package/dist/commonjs/credentials/visualStudioCodeCredential.d.ts +55 -0
  506. package/dist/commonjs/credentials/visualStudioCodeCredential.d.ts.map +1 -0
  507. package/dist/commonjs/credentials/visualStudioCodeCredential.js +145 -0
  508. package/dist/commonjs/credentials/visualStudioCodeCredential.js.map +1 -0
  509. package/dist/commonjs/credentials/visualStudioCodeCredentialOptions.d.ts +12 -0
  510. package/dist/commonjs/credentials/visualStudioCodeCredentialOptions.d.ts.map +1 -0
  511. package/dist/commonjs/credentials/visualStudioCodeCredentialOptions.js +5 -0
  512. package/dist/commonjs/credentials/visualStudioCodeCredentialOptions.js.map +1 -0
  513. package/dist/commonjs/credentials/visualStudioCodeCredentialPlugin.d.ts +12 -0
  514. package/dist/commonjs/credentials/visualStudioCodeCredentialPlugin.d.ts.map +1 -0
  515. package/dist/commonjs/credentials/visualStudioCodeCredentialPlugin.js +5 -0
  516. package/dist/commonjs/credentials/visualStudioCodeCredentialPlugin.js.map +1 -0
  517. package/dist/commonjs/credentials/workloadIdentityCredential.d.ts +47 -0
  518. package/dist/commonjs/credentials/workloadIdentityCredential.d.ts.map +1 -0
  519. package/dist/commonjs/credentials/workloadIdentityCredential.js +120 -0
  520. package/dist/commonjs/credentials/workloadIdentityCredential.js.map +1 -0
  521. package/dist/commonjs/credentials/workloadIdentityCredentialOptions.d.ts +20 -0
  522. package/dist/commonjs/credentials/workloadIdentityCredentialOptions.d.ts.map +1 -0
  523. package/dist/commonjs/credentials/workloadIdentityCredentialOptions.js +5 -0
  524. package/dist/commonjs/credentials/workloadIdentityCredentialOptions.js.map +1 -0
  525. package/dist/commonjs/errors.d.ts +139 -0
  526. package/dist/commonjs/errors.d.ts.map +1 -0
  527. package/dist/commonjs/errors.js +146 -0
  528. package/dist/commonjs/errors.js.map +1 -0
  529. package/dist/commonjs/index.d.ts +61 -0
  530. package/dist/commonjs/index.d.ts.map +1 -0
  531. package/dist/commonjs/index.js +69 -0
  532. package/dist/commonjs/index.js.map +1 -0
  533. package/dist/commonjs/msal/browserFlows/msalBrowserCommon.d.ts +19 -0
  534. package/dist/commonjs/msal/browserFlows/msalBrowserCommon.d.ts.map +1 -0
  535. package/dist/commonjs/msal/browserFlows/msalBrowserCommon.js +265 -0
  536. package/dist/commonjs/msal/browserFlows/msalBrowserCommon.js.map +1 -0
  537. package/dist/commonjs/msal/browserFlows/msalBrowserOptions.d.ts +87 -0
  538. package/dist/commonjs/msal/browserFlows/msalBrowserOptions.d.ts.map +1 -0
  539. package/dist/commonjs/msal/browserFlows/msalBrowserOptions.js +5 -0
  540. package/dist/commonjs/msal/browserFlows/msalBrowserOptions.js.map +1 -0
  541. package/dist/commonjs/msal/credentials.d.ts +52 -0
  542. package/dist/commonjs/msal/credentials.d.ts.map +1 -0
  543. package/dist/commonjs/msal/credentials.js +5 -0
  544. package/dist/commonjs/msal/credentials.js.map +1 -0
  545. package/dist/commonjs/msal/msal.d.ts +3 -0
  546. package/dist/commonjs/msal/msal.d.ts.map +1 -0
  547. package/dist/commonjs/msal/msal.js +9 -0
  548. package/dist/commonjs/msal/msal.js.map +1 -0
  549. package/dist/commonjs/msal/nodeFlows/brokerOptions.d.ts +44 -0
  550. package/dist/commonjs/msal/nodeFlows/brokerOptions.d.ts.map +1 -0
  551. package/dist/commonjs/msal/nodeFlows/brokerOptions.js +3 -0
  552. package/dist/commonjs/msal/nodeFlows/brokerOptions.js.map +1 -0
  553. package/dist/commonjs/msal/nodeFlows/msalClient.d.ts +199 -0
  554. package/dist/commonjs/msal/nodeFlows/msalClient.d.ts.map +1 -0
  555. package/dist/commonjs/msal/nodeFlows/msalClient.js +504 -0
  556. package/dist/commonjs/msal/nodeFlows/msalClient.js.map +1 -0
  557. package/dist/commonjs/msal/nodeFlows/msalPlugins.d.ts +109 -0
  558. package/dist/commonjs/msal/nodeFlows/msalPlugins.d.ts.map +1 -0
  559. package/dist/commonjs/msal/nodeFlows/msalPlugins.js +165 -0
  560. package/dist/commonjs/msal/nodeFlows/msalPlugins.js.map +1 -0
  561. package/dist/commonjs/msal/nodeFlows/tokenCachePersistenceOptions.d.ts +24 -0
  562. package/dist/commonjs/msal/nodeFlows/tokenCachePersistenceOptions.d.ts.map +1 -0
  563. package/dist/commonjs/msal/nodeFlows/tokenCachePersistenceOptions.js +5 -0
  564. package/dist/commonjs/msal/nodeFlows/tokenCachePersistenceOptions.js.map +1 -0
  565. package/dist/commonjs/msal/types.d.ts +93 -0
  566. package/dist/commonjs/msal/types.d.ts.map +1 -0
  567. package/dist/commonjs/msal/types.js +5 -0
  568. package/dist/commonjs/msal/types.js.map +1 -0
  569. package/dist/commonjs/msal/utils.d.ts +95 -0
  570. package/dist/commonjs/msal/utils.d.ts.map +1 -0
  571. package/dist/commonjs/msal/utils.js +248 -0
  572. package/dist/commonjs/msal/utils.js.map +1 -0
  573. package/dist/commonjs/package.json +3 -0
  574. package/dist/commonjs/plugins/consumer.d.ts +28 -0
  575. package/dist/commonjs/plugins/consumer.d.ts.map +1 -0
  576. package/dist/commonjs/plugins/consumer.js +44 -0
  577. package/dist/commonjs/plugins/consumer.js.map +1 -0
  578. package/dist/commonjs/plugins/provider.d.ts +36 -0
  579. package/dist/commonjs/plugins/provider.d.ts.map +1 -0
  580. package/dist/commonjs/plugins/provider.js +5 -0
  581. package/dist/commonjs/plugins/provider.js.map +1 -0
  582. package/dist/commonjs/regionalAuthority.d.ts +122 -0
  583. package/dist/commonjs/regionalAuthority.d.ts.map +1 -0
  584. package/dist/commonjs/regionalAuthority.js +143 -0
  585. package/dist/commonjs/regionalAuthority.js.map +1 -0
  586. package/dist/commonjs/tokenCredentialOptions.d.ts +28 -0
  587. package/dist/commonjs/tokenCredentialOptions.d.ts.map +1 -0
  588. package/dist/commonjs/tokenCredentialOptions.js +5 -0
  589. package/dist/commonjs/tokenCredentialOptions.js.map +1 -0
  590. package/dist/commonjs/tokenProvider.d.ts +39 -0
  591. package/dist/commonjs/tokenProvider.d.ts.map +1 -0
  592. package/dist/commonjs/tokenProvider.js +55 -0
  593. package/dist/commonjs/tokenProvider.js.map +1 -0
  594. package/dist/commonjs/tsdoc-metadata.json +11 -0
  595. package/dist/commonjs/util/identityTokenEndpoint.d.ts +2 -0
  596. package/dist/commonjs/util/identityTokenEndpoint.d.ts.map +1 -0
  597. package/dist/commonjs/util/identityTokenEndpoint.js +14 -0
  598. package/dist/commonjs/util/identityTokenEndpoint.js.map +1 -0
  599. package/dist/commonjs/util/logging.d.ts +70 -0
  600. package/dist/commonjs/util/logging.d.ts.map +1 -0
  601. package/dist/commonjs/util/logging.js +107 -0
  602. package/dist/commonjs/util/logging.js.map +1 -0
  603. package/dist/commonjs/util/processMultiTenantRequest.d.ts +10 -0
  604. package/dist/commonjs/util/processMultiTenantRequest.d.ts.map +1 -0
  605. package/dist/commonjs/util/processMultiTenantRequest.js +37 -0
  606. package/dist/commonjs/util/processMultiTenantRequest.js.map +1 -0
  607. package/dist/commonjs/util/processUtils.d.ts +13 -0
  608. package/dist/commonjs/util/processUtils.d.ts.map +1 -0
  609. package/dist/commonjs/util/processUtils.js +36 -0
  610. package/dist/commonjs/util/processUtils.js.map +1 -0
  611. package/dist/commonjs/util/scopeUtils.d.ts +17 -0
  612. package/dist/commonjs/util/scopeUtils.d.ts.map +1 -0
  613. package/dist/commonjs/util/scopeUtils.js +34 -0
  614. package/dist/commonjs/util/scopeUtils.js.map +1 -0
  615. package/dist/commonjs/util/subscriptionUtils.d.ts +6 -0
  616. package/dist/commonjs/util/subscriptionUtils.d.ts.map +1 -0
  617. package/dist/commonjs/util/subscriptionUtils.js +19 -0
  618. package/dist/commonjs/util/subscriptionUtils.js.map +1 -0
  619. package/dist/commonjs/util/tenantIdUtils.d.ts +15 -0
  620. package/dist/commonjs/util/tenantIdUtils.d.ts.map +1 -0
  621. package/dist/commonjs/util/tenantIdUtils.js +51 -0
  622. package/dist/commonjs/util/tenantIdUtils.js.map +1 -0
  623. package/dist/commonjs/util/tracing.d.ts +6 -0
  624. package/dist/commonjs/util/tracing.d.ts.map +1 -0
  625. package/dist/commonjs/util/tracing.js +17 -0
  626. package/dist/commonjs/util/tracing.js.map +1 -0
  627. package/dist/esm/client/identityClient.d.ts +65 -0
  628. package/dist/esm/client/identityClient.d.ts.map +1 -0
  629. package/dist/esm/client/identityClient.js +260 -0
  630. package/dist/esm/client/identityClient.js.map +1 -0
  631. package/dist/esm/constants.d.ts +69 -0
  632. package/dist/esm/constants.d.ts.map +1 -0
  633. package/dist/esm/constants.js +75 -0
  634. package/dist/esm/constants.js.map +1 -0
  635. package/dist/esm/credentials/authorityValidationOptions.d.ts +16 -0
  636. package/dist/esm/credentials/authorityValidationOptions.d.ts.map +1 -0
  637. package/dist/esm/credentials/authorityValidationOptions.js +4 -0
  638. package/dist/esm/credentials/authorityValidationOptions.js.map +1 -0
  639. package/dist/esm/credentials/authorizationCodeCredential.d.ts +73 -0
  640. package/dist/esm/credentials/authorizationCodeCredential.d.ts.map +1 -0
  641. package/dist/esm/credentials/authorizationCodeCredential.js +74 -0
  642. package/dist/esm/credentials/authorizationCodeCredential.js.map +1 -0
  643. package/dist/esm/credentials/authorizationCodeCredentialOptions.d.ts +8 -0
  644. package/dist/esm/credentials/authorizationCodeCredentialOptions.d.ts.map +1 -0
  645. package/dist/esm/credentials/authorizationCodeCredentialOptions.js +4 -0
  646. package/dist/esm/credentials/authorizationCodeCredentialOptions.js.map +1 -0
  647. package/dist/esm/credentials/azureCliCredential.d.ts +75 -0
  648. package/dist/esm/credentials/azureCliCredential.d.ts.map +1 -0
  649. package/dist/esm/credentials/azureCliCredential.js +219 -0
  650. package/dist/esm/credentials/azureCliCredential.js.map +1 -0
  651. package/dist/esm/credentials/azureCliCredentialOptions.d.ts +20 -0
  652. package/dist/esm/credentials/azureCliCredentialOptions.d.ts.map +1 -0
  653. package/dist/esm/credentials/azureCliCredentialOptions.js +4 -0
  654. package/dist/esm/credentials/azureCliCredentialOptions.js.map +1 -0
  655. package/dist/esm/credentials/azureDeveloperCliCredential.d.ts +81 -0
  656. package/dist/esm/credentials/azureDeveloperCliCredential.d.ts.map +1 -0
  657. package/dist/esm/credentials/azureDeveloperCliCredential.js +205 -0
  658. package/dist/esm/credentials/azureDeveloperCliCredential.js.map +1 -0
  659. package/dist/esm/credentials/azureDeveloperCliCredentialOptions.d.ts +15 -0
  660. package/dist/esm/credentials/azureDeveloperCliCredentialOptions.d.ts.map +1 -0
  661. package/dist/esm/credentials/azureDeveloperCliCredentialOptions.js +4 -0
  662. package/dist/esm/credentials/azureDeveloperCliCredentialOptions.js.map +1 -0
  663. package/dist/esm/credentials/azurePipelinesCredential.d.ts +38 -0
  664. package/dist/esm/credentials/azurePipelinesCredential.d.ts.map +1 -0
  665. package/dist/esm/credentials/azurePipelinesCredential.js +145 -0
  666. package/dist/esm/credentials/azurePipelinesCredential.js.map +1 -0
  667. package/dist/esm/credentials/azurePipelinesCredentialOptions.d.ts +9 -0
  668. package/dist/esm/credentials/azurePipelinesCredentialOptions.d.ts.map +1 -0
  669. package/dist/esm/credentials/azurePipelinesCredentialOptions.js +4 -0
  670. package/dist/esm/credentials/azurePipelinesCredentialOptions.js.map +1 -0
  671. package/dist/esm/credentials/azurePowerShellCredential.d.ts +76 -0
  672. package/dist/esm/credentials/azurePowerShellCredential.d.ts.map +1 -0
  673. package/dist/esm/credentials/azurePowerShellCredential.js +258 -0
  674. package/dist/esm/credentials/azurePowerShellCredential.js.map +1 -0
  675. package/dist/esm/credentials/azurePowerShellCredentialOptions.d.ts +15 -0
  676. package/dist/esm/credentials/azurePowerShellCredentialOptions.d.ts.map +1 -0
  677. package/dist/esm/credentials/azurePowerShellCredentialOptions.js +4 -0
  678. package/dist/esm/credentials/azurePowerShellCredentialOptions.js.map +1 -0
  679. package/dist/esm/credentials/brokerAuthOptions.d.ts +13 -0
  680. package/dist/esm/credentials/brokerAuthOptions.d.ts.map +1 -0
  681. package/dist/esm/credentials/brokerAuthOptions.js +2 -0
  682. package/dist/esm/credentials/brokerAuthOptions.js.map +1 -0
  683. package/dist/esm/credentials/brokerCredential.d.ts +35 -0
  684. package/dist/esm/credentials/brokerCredential.d.ts.map +1 -0
  685. package/dist/esm/credentials/brokerCredential.js +69 -0
  686. package/dist/esm/credentials/brokerCredential.js.map +1 -0
  687. package/dist/esm/credentials/browserCustomizationOptions.d.ts +19 -0
  688. package/dist/esm/credentials/browserCustomizationOptions.d.ts.map +1 -0
  689. package/dist/esm/credentials/browserCustomizationOptions.js +4 -0
  690. package/dist/esm/credentials/browserCustomizationOptions.js.map +1 -0
  691. package/dist/esm/credentials/chainedTokenCredential.d.ts +51 -0
  692. package/dist/esm/credentials/chainedTokenCredential.d.ts.map +1 -0
  693. package/dist/esm/credentials/chainedTokenCredential.js +92 -0
  694. package/dist/esm/credentials/chainedTokenCredential.js.map +1 -0
  695. package/dist/esm/credentials/clientAssertionCredential.d.ts +33 -0
  696. package/dist/esm/credentials/clientAssertionCredential.d.ts.map +1 -0
  697. package/dist/esm/credentials/clientAssertionCredential.js +64 -0
  698. package/dist/esm/credentials/clientAssertionCredential.js.map +1 -0
  699. package/dist/esm/credentials/clientAssertionCredentialOptions.d.ts +9 -0
  700. package/dist/esm/credentials/clientAssertionCredentialOptions.d.ts.map +1 -0
  701. package/dist/esm/credentials/clientAssertionCredentialOptions.js +4 -0
  702. package/dist/esm/credentials/clientAssertionCredentialOptions.js.map +1 -0
  703. package/dist/esm/credentials/clientCertificateCredential.d.ts +73 -0
  704. package/dist/esm/credentials/clientCertificateCredential.d.ts.map +1 -0
  705. package/dist/esm/credentials/clientCertificateCredential.js +138 -0
  706. package/dist/esm/credentials/clientCertificateCredential.js.map +1 -0
  707. package/dist/esm/credentials/clientCertificateCredentialModels.d.ts +32 -0
  708. package/dist/esm/credentials/clientCertificateCredentialModels.d.ts.map +1 -0
  709. package/dist/esm/credentials/clientCertificateCredentialModels.js +4 -0
  710. package/dist/esm/credentials/clientCertificateCredentialModels.js.map +1 -0
  711. package/dist/esm/credentials/clientCertificateCredentialOptions.d.ts +14 -0
  712. package/dist/esm/credentials/clientCertificateCredentialOptions.d.ts.map +1 -0
  713. package/dist/esm/credentials/clientCertificateCredentialOptions.js +4 -0
  714. package/dist/esm/credentials/clientCertificateCredentialOptions.js.map +1 -0
  715. package/dist/esm/credentials/clientSecretCredential.d.ts +37 -0
  716. package/dist/esm/credentials/clientSecretCredential.d.ts.map +1 -0
  717. package/dist/esm/credentials/clientSecretCredential.js +68 -0
  718. package/dist/esm/credentials/clientSecretCredential.js.map +1 -0
  719. package/dist/esm/credentials/clientSecretCredentialOptions.d.ts +9 -0
  720. package/dist/esm/credentials/clientSecretCredentialOptions.d.ts.map +1 -0
  721. package/dist/esm/credentials/clientSecretCredentialOptions.js +4 -0
  722. package/dist/esm/credentials/clientSecretCredentialOptions.js.map +1 -0
  723. package/dist/esm/credentials/credentialPersistenceOptions.d.ts +30 -0
  724. package/dist/esm/credentials/credentialPersistenceOptions.d.ts.map +1 -0
  725. package/dist/esm/credentials/credentialPersistenceOptions.js +4 -0
  726. package/dist/esm/credentials/credentialPersistenceOptions.js.map +1 -0
  727. package/dist/esm/credentials/defaultAzureCredential.d.ts +70 -0
  728. package/dist/esm/credentials/defaultAzureCredential.d.ts.map +1 -0
  729. package/dist/esm/credentials/defaultAzureCredential.js +162 -0
  730. package/dist/esm/credentials/defaultAzureCredential.js.map +1 -0
  731. package/dist/esm/credentials/defaultAzureCredentialFunctions.d.ts +64 -0
  732. package/dist/esm/credentials/defaultAzureCredentialFunctions.d.ts.map +1 -0
  733. package/dist/esm/credentials/defaultAzureCredentialFunctions.js +147 -0
  734. package/dist/esm/credentials/defaultAzureCredentialFunctions.js.map +1 -0
  735. package/dist/esm/credentials/defaultAzureCredentialOptions.d.ts +61 -0
  736. package/dist/esm/credentials/defaultAzureCredentialOptions.d.ts.map +1 -0
  737. package/dist/esm/credentials/defaultAzureCredentialOptions.js +4 -0
  738. package/dist/esm/credentials/defaultAzureCredentialOptions.js.map +1 -0
  739. package/dist/esm/credentials/deviceCodeCredential.d.ts +67 -0
  740. package/dist/esm/credentials/deviceCodeCredential.d.ts.map +1 -0
  741. package/dist/esm/credentials/deviceCodeCredential.js +105 -0
  742. package/dist/esm/credentials/deviceCodeCredential.js.map +1 -0
  743. package/dist/esm/credentials/deviceCodeCredentialOptions.d.ts +53 -0
  744. package/dist/esm/credentials/deviceCodeCredentialOptions.d.ts.map +1 -0
  745. package/dist/esm/credentials/deviceCodeCredentialOptions.js +4 -0
  746. package/dist/esm/credentials/deviceCodeCredentialOptions.js.map +1 -0
  747. package/dist/esm/credentials/environmentCredential.d.ts +51 -0
  748. package/dist/esm/credentials/environmentCredential.d.ts.map +1 -0
  749. package/dist/esm/credentials/environmentCredential.js +128 -0
  750. package/dist/esm/credentials/environmentCredential.js.map +1 -0
  751. package/dist/esm/credentials/environmentCredentialOptions.d.ts +9 -0
  752. package/dist/esm/credentials/environmentCredentialOptions.d.ts.map +1 -0
  753. package/dist/esm/credentials/environmentCredentialOptions.js +4 -0
  754. package/dist/esm/credentials/environmentCredentialOptions.js.map +1 -0
  755. package/dist/esm/credentials/interactiveBrowserCredential.d.ts +56 -0
  756. package/dist/esm/credentials/interactiveBrowserCredential.d.ts.map +1 -0
  757. package/dist/esm/credentials/interactiveBrowserCredential.js +110 -0
  758. package/dist/esm/credentials/interactiveBrowserCredential.js.map +1 -0
  759. package/dist/esm/credentials/interactiveBrowserCredentialOptions.d.ts +77 -0
  760. package/dist/esm/credentials/interactiveBrowserCredentialOptions.d.ts.map +1 -0
  761. package/dist/esm/credentials/interactiveBrowserCredentialOptions.js +4 -0
  762. package/dist/esm/credentials/interactiveBrowserCredentialOptions.js.map +1 -0
  763. package/dist/esm/credentials/interactiveCredentialOptions.d.ts +25 -0
  764. package/dist/esm/credentials/interactiveCredentialOptions.d.ts.map +1 -0
  765. package/dist/esm/credentials/interactiveCredentialOptions.js +4 -0
  766. package/dist/esm/credentials/interactiveCredentialOptions.js.map +1 -0
  767. package/dist/esm/credentials/managedIdentityCredential/imdsMsi.d.ts +18 -0
  768. package/dist/esm/credentials/managedIdentityCredential/imdsMsi.d.ts.map +1 -0
  769. package/dist/esm/credentials/managedIdentityCredential/imdsMsi.js +97 -0
  770. package/dist/esm/credentials/managedIdentityCredential/imdsMsi.js.map +1 -0
  771. package/dist/esm/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts +13 -0
  772. package/dist/esm/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts.map +1 -0
  773. package/dist/esm/credentials/managedIdentityCredential/imdsRetryPolicy.js +43 -0
  774. package/dist/esm/credentials/managedIdentityCredential/imdsRetryPolicy.js.map +1 -0
  775. package/dist/esm/credentials/managedIdentityCredential/index.d.ts +62 -0
  776. package/dist/esm/credentials/managedIdentityCredential/index.d.ts.map +1 -0
  777. package/dist/esm/credentials/managedIdentityCredential/index.js +253 -0
  778. package/dist/esm/credentials/managedIdentityCredential/index.js.map +1 -0
  779. package/dist/esm/credentials/managedIdentityCredential/models.d.ts +24 -0
  780. package/dist/esm/credentials/managedIdentityCredential/models.d.ts.map +1 -0
  781. package/dist/esm/credentials/managedIdentityCredential/models.js +4 -0
  782. package/dist/esm/credentials/managedIdentityCredential/models.js.map +1 -0
  783. package/dist/esm/credentials/managedIdentityCredential/options.d.ts +52 -0
  784. package/dist/esm/credentials/managedIdentityCredential/options.d.ts.map +1 -0
  785. package/dist/esm/credentials/managedIdentityCredential/options.js +4 -0
  786. package/dist/esm/credentials/managedIdentityCredential/options.js.map +1 -0
  787. package/dist/esm/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts +14 -0
  788. package/dist/esm/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts.map +1 -0
  789. package/dist/esm/credentials/managedIdentityCredential/tokenExchangeMsi.js +38 -0
  790. package/dist/esm/credentials/managedIdentityCredential/tokenExchangeMsi.js.map +1 -0
  791. package/dist/esm/credentials/managedIdentityCredential/utils.d.ts +37 -0
  792. package/dist/esm/credentials/managedIdentityCredential/utils.d.ts.map +1 -0
  793. package/dist/esm/credentials/managedIdentityCredential/utils.js +81 -0
  794. package/dist/esm/credentials/managedIdentityCredential/utils.js.map +1 -0
  795. package/dist/esm/credentials/multiTenantTokenCredentialOptions.d.ts +12 -0
  796. package/dist/esm/credentials/multiTenantTokenCredentialOptions.d.ts.map +1 -0
  797. package/dist/esm/credentials/multiTenantTokenCredentialOptions.js +4 -0
  798. package/dist/esm/credentials/multiTenantTokenCredentialOptions.js.map +1 -0
  799. package/dist/esm/credentials/onBehalfOfCredential.d.ts +105 -0
  800. package/dist/esm/credentials/onBehalfOfCredential.d.ts.map +1 -0
  801. package/dist/esm/credentials/onBehalfOfCredential.js +130 -0
  802. package/dist/esm/credentials/onBehalfOfCredential.js.map +1 -0
  803. package/dist/esm/credentials/onBehalfOfCredentialOptions.d.ts +76 -0
  804. package/dist/esm/credentials/onBehalfOfCredentialOptions.d.ts.map +1 -0
  805. package/dist/esm/credentials/onBehalfOfCredentialOptions.js +4 -0
  806. package/dist/esm/credentials/onBehalfOfCredentialOptions.js.map +1 -0
  807. package/dist/esm/credentials/usernamePasswordCredential.d.ts +42 -0
  808. package/dist/esm/credentials/usernamePasswordCredential.d.ts.map +1 -0
  809. package/dist/esm/credentials/usernamePasswordCredential.js +76 -0
  810. package/dist/esm/credentials/usernamePasswordCredential.js.map +1 -0
  811. package/dist/esm/credentials/usernamePasswordCredentialOptions.d.ts +10 -0
  812. package/dist/esm/credentials/usernamePasswordCredentialOptions.d.ts.map +1 -0
  813. package/dist/esm/credentials/usernamePasswordCredentialOptions.js +4 -0
  814. package/dist/esm/credentials/usernamePasswordCredentialOptions.js.map +1 -0
  815. package/dist/esm/credentials/visualStudioCodeCredential.d.ts +55 -0
  816. package/dist/esm/credentials/visualStudioCodeCredential.d.ts.map +1 -0
  817. package/dist/esm/credentials/visualStudioCodeCredential.js +141 -0
  818. package/dist/esm/credentials/visualStudioCodeCredential.js.map +1 -0
  819. package/dist/esm/credentials/visualStudioCodeCredentialOptions.d.ts +12 -0
  820. package/dist/esm/credentials/visualStudioCodeCredentialOptions.d.ts.map +1 -0
  821. package/dist/esm/credentials/visualStudioCodeCredentialOptions.js +4 -0
  822. package/dist/esm/credentials/visualStudioCodeCredentialOptions.js.map +1 -0
  823. package/dist/esm/credentials/visualStudioCodeCredentialPlugin.d.ts +12 -0
  824. package/dist/esm/credentials/visualStudioCodeCredentialPlugin.d.ts.map +1 -0
  825. package/dist/esm/credentials/visualStudioCodeCredentialPlugin.js +4 -0
  826. package/dist/esm/credentials/visualStudioCodeCredentialPlugin.js.map +1 -0
  827. package/dist/esm/credentials/workloadIdentityCredential.d.ts +47 -0
  828. package/dist/esm/credentials/workloadIdentityCredential.d.ts.map +1 -0
  829. package/dist/esm/credentials/workloadIdentityCredential.js +116 -0
  830. package/dist/esm/credentials/workloadIdentityCredential.js.map +1 -0
  831. package/dist/esm/credentials/workloadIdentityCredentialOptions.d.ts +20 -0
  832. package/dist/esm/credentials/workloadIdentityCredentialOptions.d.ts.map +1 -0
  833. package/dist/esm/credentials/workloadIdentityCredentialOptions.js +4 -0
  834. package/dist/esm/credentials/workloadIdentityCredentialOptions.js.map +1 -0
  835. package/dist/esm/errors.d.ts +139 -0
  836. package/dist/esm/errors.d.ts.map +1 -0
  837. package/dist/esm/errors.js +139 -0
  838. package/dist/esm/errors.js.map +1 -0
  839. package/dist/esm/index.d.ts +61 -0
  840. package/dist/esm/index.d.ts.map +1 -0
  841. package/dist/esm/index.js +34 -0
  842. package/dist/esm/index.js.map +1 -0
  843. package/dist/esm/msal/browserFlows/msalBrowserCommon.d.ts +19 -0
  844. package/dist/esm/msal/browserFlows/msalBrowserCommon.d.ts.map +1 -0
  845. package/dist/esm/msal/browserFlows/msalBrowserCommon.js +261 -0
  846. package/dist/esm/msal/browserFlows/msalBrowserCommon.js.map +1 -0
  847. package/dist/esm/msal/browserFlows/msalBrowserOptions.d.ts +87 -0
  848. package/dist/esm/msal/browserFlows/msalBrowserOptions.d.ts.map +1 -0
  849. package/dist/esm/msal/browserFlows/msalBrowserOptions.js +4 -0
  850. package/dist/esm/msal/browserFlows/msalBrowserOptions.js.map +1 -0
  851. package/dist/esm/msal/credentials.d.ts +52 -0
  852. package/dist/esm/msal/credentials.d.ts.map +1 -0
  853. package/dist/esm/msal/credentials.js +4 -0
  854. package/dist/esm/msal/credentials.js.map +1 -0
  855. package/dist/esm/msal/msal.d.ts +3 -0
  856. package/dist/esm/msal/msal.d.ts.map +1 -0
  857. package/dist/esm/msal/msal.js +5 -0
  858. package/dist/esm/msal/msal.js.map +1 -0
  859. package/dist/esm/msal/nodeFlows/brokerOptions.d.ts +44 -0
  860. package/dist/esm/msal/nodeFlows/brokerOptions.d.ts.map +1 -0
  861. package/dist/esm/msal/nodeFlows/brokerOptions.js +2 -0
  862. package/dist/esm/msal/nodeFlows/brokerOptions.js.map +1 -0
  863. package/dist/esm/msal/nodeFlows/msalClient.d.ts +199 -0
  864. package/dist/esm/msal/nodeFlows/msalClient.d.ts.map +1 -0
  865. package/dist/esm/msal/nodeFlows/msalClient.js +499 -0
  866. package/dist/esm/msal/nodeFlows/msalClient.js.map +1 -0
  867. package/dist/esm/msal/nodeFlows/msalPlugins.d.ts +109 -0
  868. package/dist/esm/msal/nodeFlows/msalPlugins.d.ts.map +1 -0
  869. package/dist/esm/msal/nodeFlows/msalPlugins.js +160 -0
  870. package/dist/esm/msal/nodeFlows/msalPlugins.js.map +1 -0
  871. package/dist/esm/msal/nodeFlows/tokenCachePersistenceOptions.d.ts +24 -0
  872. package/dist/esm/msal/nodeFlows/tokenCachePersistenceOptions.d.ts.map +1 -0
  873. package/dist/esm/msal/nodeFlows/tokenCachePersistenceOptions.js +4 -0
  874. package/dist/esm/msal/nodeFlows/tokenCachePersistenceOptions.js.map +1 -0
  875. package/dist/esm/msal/types.d.ts +93 -0
  876. package/dist/esm/msal/types.d.ts.map +1 -0
  877. package/dist/esm/msal/types.js +4 -0
  878. package/dist/esm/msal/types.js.map +1 -0
  879. package/dist/esm/msal/utils.d.ts +95 -0
  880. package/dist/esm/msal/utils.d.ts.map +1 -0
  881. package/dist/esm/msal/utils.js +233 -0
  882. package/dist/esm/msal/utils.js.map +1 -0
  883. package/dist/esm/package.json +3 -0
  884. package/dist/esm/plugins/consumer.d.ts +28 -0
  885. package/dist/esm/plugins/consumer.d.ts.map +1 -0
  886. package/dist/esm/plugins/consumer.js +41 -0
  887. package/dist/esm/plugins/consumer.js.map +1 -0
  888. package/dist/esm/plugins/provider.d.ts +36 -0
  889. package/dist/esm/plugins/provider.d.ts.map +1 -0
  890. package/dist/esm/plugins/provider.js +4 -0
  891. package/dist/esm/plugins/provider.js.map +1 -0
  892. package/dist/esm/regionalAuthority.d.ts +122 -0
  893. package/dist/esm/regionalAuthority.d.ts.map +1 -0
  894. package/dist/esm/regionalAuthority.js +139 -0
  895. package/dist/esm/regionalAuthority.js.map +1 -0
  896. package/dist/esm/tokenCredentialOptions.d.ts +28 -0
  897. package/dist/esm/tokenCredentialOptions.d.ts.map +1 -0
  898. package/dist/esm/tokenCredentialOptions.js +4 -0
  899. package/dist/esm/tokenCredentialOptions.js.map +1 -0
  900. package/dist/esm/tokenProvider.d.ts +39 -0
  901. package/dist/esm/tokenProvider.d.ts.map +1 -0
  902. package/dist/esm/tokenProvider.js +52 -0
  903. package/dist/esm/tokenProvider.js.map +1 -0
  904. package/dist/esm/util/authHostEnv-browser.d.mts +4 -0
  905. package/dist/esm/util/authHostEnv-browser.d.mts.map +1 -0
  906. package/dist/esm/util/authHostEnv-browser.mjs +7 -0
  907. package/dist/esm/util/authHostEnv-browser.mjs.map +1 -0
  908. package/dist/esm/util/identityTokenEndpoint.d.ts +2 -0
  909. package/dist/esm/util/identityTokenEndpoint.d.ts.map +1 -0
  910. package/dist/esm/util/identityTokenEndpoint.js +11 -0
  911. package/dist/esm/util/identityTokenEndpoint.js.map +1 -0
  912. package/dist/esm/util/logging.d.ts +70 -0
  913. package/dist/esm/util/logging.d.ts.map +1 -0
  914. package/dist/esm/util/logging.js +98 -0
  915. package/dist/esm/util/logging.js.map +1 -0
  916. package/dist/esm/util/processMultiTenantRequest.d.ts +10 -0
  917. package/dist/esm/util/processMultiTenantRequest.d.ts.map +1 -0
  918. package/dist/esm/util/processMultiTenantRequest.js +34 -0
  919. package/dist/esm/util/processMultiTenantRequest.js.map +1 -0
  920. package/dist/esm/util/processUtils.d.ts +13 -0
  921. package/dist/esm/util/processUtils.d.ts.map +1 -0
  922. package/dist/esm/util/processUtils.js +32 -0
  923. package/dist/esm/util/processUtils.js.map +1 -0
  924. package/dist/esm/util/scopeUtils.d.ts +17 -0
  925. package/dist/esm/util/scopeUtils.d.ts.map +1 -0
  926. package/dist/esm/util/scopeUtils.js +29 -0
  927. package/dist/esm/util/scopeUtils.js.map +1 -0
  928. package/dist/esm/util/subscriptionUtils.d.ts +6 -0
  929. package/dist/esm/util/subscriptionUtils.d.ts.map +1 -0
  930. package/dist/esm/util/subscriptionUtils.js +16 -0
  931. package/dist/esm/util/subscriptionUtils.js.map +1 -0
  932. package/dist/esm/util/tenantIdUtils.d.ts +15 -0
  933. package/dist/esm/util/tenantIdUtils.d.ts.map +1 -0
  934. package/dist/esm/util/tenantIdUtils.js +44 -0
  935. package/dist/esm/util/tenantIdUtils.js.map +1 -0
  936. package/dist/esm/util/tracing.d.ts +6 -0
  937. package/dist/esm/util/tracing.d.ts.map +1 -0
  938. package/dist/esm/util/tracing.js +14 -0
  939. package/dist/esm/util/tracing.js.map +1 -0
  940. package/dist/workerd/client/identityClient.d.ts +65 -0
  941. package/dist/workerd/client/identityClient.d.ts.map +1 -0
  942. package/dist/workerd/client/identityClient.js +260 -0
  943. package/dist/workerd/client/identityClient.js.map +1 -0
  944. package/dist/workerd/constants.d.ts +69 -0
  945. package/dist/workerd/constants.d.ts.map +1 -0
  946. package/dist/workerd/constants.js +75 -0
  947. package/dist/workerd/constants.js.map +1 -0
  948. package/dist/workerd/credentials/authorityValidationOptions.d.ts +16 -0
  949. package/dist/workerd/credentials/authorityValidationOptions.d.ts.map +1 -0
  950. package/dist/workerd/credentials/authorityValidationOptions.js +4 -0
  951. package/dist/workerd/credentials/authorityValidationOptions.js.map +1 -0
  952. package/dist/workerd/credentials/authorizationCodeCredential.d.ts +73 -0
  953. package/dist/workerd/credentials/authorizationCodeCredential.d.ts.map +1 -0
  954. package/dist/workerd/credentials/authorizationCodeCredential.js +74 -0
  955. package/dist/workerd/credentials/authorizationCodeCredential.js.map +1 -0
  956. package/dist/workerd/credentials/authorizationCodeCredentialOptions.d.ts +8 -0
  957. package/dist/workerd/credentials/authorizationCodeCredentialOptions.d.ts.map +1 -0
  958. package/dist/workerd/credentials/authorizationCodeCredentialOptions.js +4 -0
  959. package/dist/workerd/credentials/authorizationCodeCredentialOptions.js.map +1 -0
  960. package/dist/workerd/credentials/azureCliCredential.d.ts +75 -0
  961. package/dist/workerd/credentials/azureCliCredential.d.ts.map +1 -0
  962. package/dist/workerd/credentials/azureCliCredential.js +219 -0
  963. package/dist/workerd/credentials/azureCliCredential.js.map +1 -0
  964. package/dist/workerd/credentials/azureCliCredentialOptions.d.ts +20 -0
  965. package/dist/workerd/credentials/azureCliCredentialOptions.d.ts.map +1 -0
  966. package/dist/workerd/credentials/azureCliCredentialOptions.js +4 -0
  967. package/dist/workerd/credentials/azureCliCredentialOptions.js.map +1 -0
  968. package/dist/workerd/credentials/azureDeveloperCliCredential.d.ts +81 -0
  969. package/dist/workerd/credentials/azureDeveloperCliCredential.d.ts.map +1 -0
  970. package/dist/workerd/credentials/azureDeveloperCliCredential.js +205 -0
  971. package/dist/workerd/credentials/azureDeveloperCliCredential.js.map +1 -0
  972. package/dist/workerd/credentials/azureDeveloperCliCredentialOptions.d.ts +15 -0
  973. package/dist/workerd/credentials/azureDeveloperCliCredentialOptions.d.ts.map +1 -0
  974. package/dist/workerd/credentials/azureDeveloperCliCredentialOptions.js +4 -0
  975. package/dist/workerd/credentials/azureDeveloperCliCredentialOptions.js.map +1 -0
  976. package/dist/workerd/credentials/azurePipelinesCredential.d.ts +38 -0
  977. package/dist/workerd/credentials/azurePipelinesCredential.d.ts.map +1 -0
  978. package/dist/workerd/credentials/azurePipelinesCredential.js +145 -0
  979. package/dist/workerd/credentials/azurePipelinesCredential.js.map +1 -0
  980. package/dist/workerd/credentials/azurePipelinesCredentialOptions.d.ts +9 -0
  981. package/dist/workerd/credentials/azurePipelinesCredentialOptions.d.ts.map +1 -0
  982. package/dist/workerd/credentials/azurePipelinesCredentialOptions.js +4 -0
  983. package/dist/workerd/credentials/azurePipelinesCredentialOptions.js.map +1 -0
  984. package/dist/workerd/credentials/azurePowerShellCredential.d.ts +76 -0
  985. package/dist/workerd/credentials/azurePowerShellCredential.d.ts.map +1 -0
  986. package/dist/workerd/credentials/azurePowerShellCredential.js +258 -0
  987. package/dist/workerd/credentials/azurePowerShellCredential.js.map +1 -0
  988. package/dist/workerd/credentials/azurePowerShellCredentialOptions.d.ts +15 -0
  989. package/dist/workerd/credentials/azurePowerShellCredentialOptions.d.ts.map +1 -0
  990. package/dist/workerd/credentials/azurePowerShellCredentialOptions.js +4 -0
  991. package/dist/workerd/credentials/azurePowerShellCredentialOptions.js.map +1 -0
  992. package/dist/workerd/credentials/brokerAuthOptions.d.ts +13 -0
  993. package/dist/workerd/credentials/brokerAuthOptions.d.ts.map +1 -0
  994. package/dist/workerd/credentials/brokerAuthOptions.js +2 -0
  995. package/dist/workerd/credentials/brokerAuthOptions.js.map +1 -0
  996. package/dist/workerd/credentials/brokerCredential.d.ts +35 -0
  997. package/dist/workerd/credentials/brokerCredential.d.ts.map +1 -0
  998. package/dist/workerd/credentials/brokerCredential.js +69 -0
  999. package/dist/workerd/credentials/brokerCredential.js.map +1 -0
  1000. package/dist/workerd/credentials/browserCustomizationOptions.d.ts +19 -0
  1001. package/dist/workerd/credentials/browserCustomizationOptions.d.ts.map +1 -0
  1002. package/dist/workerd/credentials/browserCustomizationOptions.js +4 -0
  1003. package/dist/workerd/credentials/browserCustomizationOptions.js.map +1 -0
  1004. package/dist/workerd/credentials/chainedTokenCredential.d.ts +51 -0
  1005. package/dist/workerd/credentials/chainedTokenCredential.d.ts.map +1 -0
  1006. package/dist/workerd/credentials/chainedTokenCredential.js +92 -0
  1007. package/dist/workerd/credentials/chainedTokenCredential.js.map +1 -0
  1008. package/dist/workerd/credentials/clientAssertionCredential.d.ts +33 -0
  1009. package/dist/workerd/credentials/clientAssertionCredential.d.ts.map +1 -0
  1010. package/dist/workerd/credentials/clientAssertionCredential.js +64 -0
  1011. package/dist/workerd/credentials/clientAssertionCredential.js.map +1 -0
  1012. package/dist/workerd/credentials/clientAssertionCredentialOptions.d.ts +9 -0
  1013. package/dist/workerd/credentials/clientAssertionCredentialOptions.d.ts.map +1 -0
  1014. package/dist/workerd/credentials/clientAssertionCredentialOptions.js +4 -0
  1015. package/dist/workerd/credentials/clientAssertionCredentialOptions.js.map +1 -0
  1016. package/dist/workerd/credentials/clientCertificateCredential.d.ts +73 -0
  1017. package/dist/workerd/credentials/clientCertificateCredential.d.ts.map +1 -0
  1018. package/dist/workerd/credentials/clientCertificateCredential.js +138 -0
  1019. package/dist/workerd/credentials/clientCertificateCredential.js.map +1 -0
  1020. package/dist/workerd/credentials/clientCertificateCredentialModels.d.ts +32 -0
  1021. package/dist/workerd/credentials/clientCertificateCredentialModels.d.ts.map +1 -0
  1022. package/dist/workerd/credentials/clientCertificateCredentialModels.js +4 -0
  1023. package/dist/workerd/credentials/clientCertificateCredentialModels.js.map +1 -0
  1024. package/dist/workerd/credentials/clientCertificateCredentialOptions.d.ts +14 -0
  1025. package/dist/workerd/credentials/clientCertificateCredentialOptions.d.ts.map +1 -0
  1026. package/dist/workerd/credentials/clientCertificateCredentialOptions.js +4 -0
  1027. package/dist/workerd/credentials/clientCertificateCredentialOptions.js.map +1 -0
  1028. package/dist/workerd/credentials/clientSecretCredential.d.ts +37 -0
  1029. package/dist/workerd/credentials/clientSecretCredential.d.ts.map +1 -0
  1030. package/dist/workerd/credentials/clientSecretCredential.js +68 -0
  1031. package/dist/workerd/credentials/clientSecretCredential.js.map +1 -0
  1032. package/dist/workerd/credentials/clientSecretCredentialOptions.d.ts +9 -0
  1033. package/dist/workerd/credentials/clientSecretCredentialOptions.d.ts.map +1 -0
  1034. package/dist/workerd/credentials/clientSecretCredentialOptions.js +4 -0
  1035. package/dist/workerd/credentials/clientSecretCredentialOptions.js.map +1 -0
  1036. package/dist/workerd/credentials/credentialPersistenceOptions.d.ts +30 -0
  1037. package/dist/workerd/credentials/credentialPersistenceOptions.d.ts.map +1 -0
  1038. package/dist/workerd/credentials/credentialPersistenceOptions.js +4 -0
  1039. package/dist/workerd/credentials/credentialPersistenceOptions.js.map +1 -0
  1040. package/dist/workerd/credentials/defaultAzureCredential.d.ts +70 -0
  1041. package/dist/workerd/credentials/defaultAzureCredential.d.ts.map +1 -0
  1042. package/dist/workerd/credentials/defaultAzureCredential.js +162 -0
  1043. package/dist/workerd/credentials/defaultAzureCredential.js.map +1 -0
  1044. package/dist/workerd/credentials/defaultAzureCredentialFunctions.d.ts +64 -0
  1045. package/dist/workerd/credentials/defaultAzureCredentialFunctions.d.ts.map +1 -0
  1046. package/dist/workerd/credentials/defaultAzureCredentialFunctions.js +147 -0
  1047. package/dist/workerd/credentials/defaultAzureCredentialFunctions.js.map +1 -0
  1048. package/dist/workerd/credentials/defaultAzureCredentialOptions.d.ts +61 -0
  1049. package/dist/workerd/credentials/defaultAzureCredentialOptions.d.ts.map +1 -0
  1050. package/dist/workerd/credentials/defaultAzureCredentialOptions.js +4 -0
  1051. package/dist/workerd/credentials/defaultAzureCredentialOptions.js.map +1 -0
  1052. package/dist/workerd/credentials/deviceCodeCredential.d.ts +67 -0
  1053. package/dist/workerd/credentials/deviceCodeCredential.d.ts.map +1 -0
  1054. package/dist/workerd/credentials/deviceCodeCredential.js +105 -0
  1055. package/dist/workerd/credentials/deviceCodeCredential.js.map +1 -0
  1056. package/dist/workerd/credentials/deviceCodeCredentialOptions.d.ts +53 -0
  1057. package/dist/workerd/credentials/deviceCodeCredentialOptions.d.ts.map +1 -0
  1058. package/dist/workerd/credentials/deviceCodeCredentialOptions.js +4 -0
  1059. package/dist/workerd/credentials/deviceCodeCredentialOptions.js.map +1 -0
  1060. package/dist/workerd/credentials/environmentCredential.d.ts +51 -0
  1061. package/dist/workerd/credentials/environmentCredential.d.ts.map +1 -0
  1062. package/dist/workerd/credentials/environmentCredential.js +128 -0
  1063. package/dist/workerd/credentials/environmentCredential.js.map +1 -0
  1064. package/dist/workerd/credentials/environmentCredentialOptions.d.ts +9 -0
  1065. package/dist/workerd/credentials/environmentCredentialOptions.d.ts.map +1 -0
  1066. package/dist/workerd/credentials/environmentCredentialOptions.js +4 -0
  1067. package/dist/workerd/credentials/environmentCredentialOptions.js.map +1 -0
  1068. package/dist/workerd/credentials/interactiveBrowserCredential.d.ts +56 -0
  1069. package/dist/workerd/credentials/interactiveBrowserCredential.d.ts.map +1 -0
  1070. package/dist/workerd/credentials/interactiveBrowserCredential.js +110 -0
  1071. package/dist/workerd/credentials/interactiveBrowserCredential.js.map +1 -0
  1072. package/dist/workerd/credentials/interactiveBrowserCredentialOptions.d.ts +77 -0
  1073. package/dist/workerd/credentials/interactiveBrowserCredentialOptions.d.ts.map +1 -0
  1074. package/dist/workerd/credentials/interactiveBrowserCredentialOptions.js +4 -0
  1075. package/dist/workerd/credentials/interactiveBrowserCredentialOptions.js.map +1 -0
  1076. package/dist/workerd/credentials/interactiveCredentialOptions.d.ts +25 -0
  1077. package/dist/workerd/credentials/interactiveCredentialOptions.d.ts.map +1 -0
  1078. package/dist/workerd/credentials/interactiveCredentialOptions.js +4 -0
  1079. package/dist/workerd/credentials/interactiveCredentialOptions.js.map +1 -0
  1080. package/dist/workerd/credentials/managedIdentityCredential/imdsMsi.d.ts +18 -0
  1081. package/dist/workerd/credentials/managedIdentityCredential/imdsMsi.d.ts.map +1 -0
  1082. package/dist/workerd/credentials/managedIdentityCredential/imdsMsi.js +97 -0
  1083. package/dist/workerd/credentials/managedIdentityCredential/imdsMsi.js.map +1 -0
  1084. package/dist/workerd/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts +13 -0
  1085. package/dist/workerd/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts.map +1 -0
  1086. package/dist/workerd/credentials/managedIdentityCredential/imdsRetryPolicy.js +43 -0
  1087. package/dist/workerd/credentials/managedIdentityCredential/imdsRetryPolicy.js.map +1 -0
  1088. package/dist/workerd/credentials/managedIdentityCredential/index.d.ts +62 -0
  1089. package/dist/workerd/credentials/managedIdentityCredential/index.d.ts.map +1 -0
  1090. package/dist/workerd/credentials/managedIdentityCredential/index.js +253 -0
  1091. package/dist/workerd/credentials/managedIdentityCredential/index.js.map +1 -0
  1092. package/dist/workerd/credentials/managedIdentityCredential/models.d.ts +24 -0
  1093. package/dist/workerd/credentials/managedIdentityCredential/models.d.ts.map +1 -0
  1094. package/dist/workerd/credentials/managedIdentityCredential/models.js +4 -0
  1095. package/dist/workerd/credentials/managedIdentityCredential/models.js.map +1 -0
  1096. package/dist/workerd/credentials/managedIdentityCredential/options.d.ts +52 -0
  1097. package/dist/workerd/credentials/managedIdentityCredential/options.d.ts.map +1 -0
  1098. package/dist/workerd/credentials/managedIdentityCredential/options.js +4 -0
  1099. package/dist/workerd/credentials/managedIdentityCredential/options.js.map +1 -0
  1100. package/dist/workerd/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts +14 -0
  1101. package/dist/workerd/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts.map +1 -0
  1102. package/dist/workerd/credentials/managedIdentityCredential/tokenExchangeMsi.js +38 -0
  1103. package/dist/workerd/credentials/managedIdentityCredential/tokenExchangeMsi.js.map +1 -0
  1104. package/dist/workerd/credentials/managedIdentityCredential/utils.d.ts +37 -0
  1105. package/dist/workerd/credentials/managedIdentityCredential/utils.d.ts.map +1 -0
  1106. package/dist/workerd/credentials/managedIdentityCredential/utils.js +81 -0
  1107. package/dist/workerd/credentials/managedIdentityCredential/utils.js.map +1 -0
  1108. package/dist/workerd/credentials/multiTenantTokenCredentialOptions.d.ts +12 -0
  1109. package/dist/workerd/credentials/multiTenantTokenCredentialOptions.d.ts.map +1 -0
  1110. package/dist/workerd/credentials/multiTenantTokenCredentialOptions.js +4 -0
  1111. package/dist/workerd/credentials/multiTenantTokenCredentialOptions.js.map +1 -0
  1112. package/dist/workerd/credentials/onBehalfOfCredential.d.ts +105 -0
  1113. package/dist/workerd/credentials/onBehalfOfCredential.d.ts.map +1 -0
  1114. package/dist/workerd/credentials/onBehalfOfCredential.js +130 -0
  1115. package/dist/workerd/credentials/onBehalfOfCredential.js.map +1 -0
  1116. package/dist/workerd/credentials/onBehalfOfCredentialOptions.d.ts +76 -0
  1117. package/dist/workerd/credentials/onBehalfOfCredentialOptions.d.ts.map +1 -0
  1118. package/dist/workerd/credentials/onBehalfOfCredentialOptions.js +4 -0
  1119. package/dist/workerd/credentials/onBehalfOfCredentialOptions.js.map +1 -0
  1120. package/dist/workerd/credentials/usernamePasswordCredential.d.ts +42 -0
  1121. package/dist/workerd/credentials/usernamePasswordCredential.d.ts.map +1 -0
  1122. package/dist/workerd/credentials/usernamePasswordCredential.js +76 -0
  1123. package/dist/workerd/credentials/usernamePasswordCredential.js.map +1 -0
  1124. package/dist/workerd/credentials/usernamePasswordCredentialOptions.d.ts +10 -0
  1125. package/dist/workerd/credentials/usernamePasswordCredentialOptions.d.ts.map +1 -0
  1126. package/dist/workerd/credentials/usernamePasswordCredentialOptions.js +4 -0
  1127. package/dist/workerd/credentials/usernamePasswordCredentialOptions.js.map +1 -0
  1128. package/dist/workerd/credentials/visualStudioCodeCredential.d.ts +55 -0
  1129. package/dist/workerd/credentials/visualStudioCodeCredential.d.ts.map +1 -0
  1130. package/dist/workerd/credentials/visualStudioCodeCredential.js +141 -0
  1131. package/dist/workerd/credentials/visualStudioCodeCredential.js.map +1 -0
  1132. package/dist/workerd/credentials/visualStudioCodeCredentialOptions.d.ts +12 -0
  1133. package/dist/workerd/credentials/visualStudioCodeCredentialOptions.d.ts.map +1 -0
  1134. package/dist/workerd/credentials/visualStudioCodeCredentialOptions.js +4 -0
  1135. package/dist/workerd/credentials/visualStudioCodeCredentialOptions.js.map +1 -0
  1136. package/dist/workerd/credentials/visualStudioCodeCredentialPlugin.d.ts +12 -0
  1137. package/dist/workerd/credentials/visualStudioCodeCredentialPlugin.d.ts.map +1 -0
  1138. package/dist/workerd/credentials/visualStudioCodeCredentialPlugin.js +4 -0
  1139. package/dist/workerd/credentials/visualStudioCodeCredentialPlugin.js.map +1 -0
  1140. package/dist/workerd/credentials/workloadIdentityCredential.d.ts +47 -0
  1141. package/dist/workerd/credentials/workloadIdentityCredential.d.ts.map +1 -0
  1142. package/dist/workerd/credentials/workloadIdentityCredential.js +116 -0
  1143. package/dist/workerd/credentials/workloadIdentityCredential.js.map +1 -0
  1144. package/dist/workerd/credentials/workloadIdentityCredentialOptions.d.ts +20 -0
  1145. package/dist/workerd/credentials/workloadIdentityCredentialOptions.d.ts.map +1 -0
  1146. package/dist/workerd/credentials/workloadIdentityCredentialOptions.js +4 -0
  1147. package/dist/workerd/credentials/workloadIdentityCredentialOptions.js.map +1 -0
  1148. package/dist/workerd/errors.d.ts +139 -0
  1149. package/dist/workerd/errors.d.ts.map +1 -0
  1150. package/dist/workerd/errors.js +139 -0
  1151. package/dist/workerd/errors.js.map +1 -0
  1152. package/dist/workerd/index.d.ts +61 -0
  1153. package/dist/workerd/index.d.ts.map +1 -0
  1154. package/dist/workerd/index.js +34 -0
  1155. package/dist/workerd/index.js.map +1 -0
  1156. package/dist/workerd/msal/browserFlows/msalBrowserCommon.d.ts +19 -0
  1157. package/dist/workerd/msal/browserFlows/msalBrowserCommon.d.ts.map +1 -0
  1158. package/dist/workerd/msal/browserFlows/msalBrowserCommon.js +261 -0
  1159. package/dist/workerd/msal/browserFlows/msalBrowserCommon.js.map +1 -0
  1160. package/dist/workerd/msal/browserFlows/msalBrowserOptions.d.ts +87 -0
  1161. package/dist/workerd/msal/browserFlows/msalBrowserOptions.d.ts.map +1 -0
  1162. package/dist/workerd/msal/browserFlows/msalBrowserOptions.js +4 -0
  1163. package/dist/workerd/msal/browserFlows/msalBrowserOptions.js.map +1 -0
  1164. package/dist/workerd/msal/credentials.d.ts +52 -0
  1165. package/dist/workerd/msal/credentials.d.ts.map +1 -0
  1166. package/dist/workerd/msal/credentials.js +4 -0
  1167. package/dist/workerd/msal/credentials.js.map +1 -0
  1168. package/dist/workerd/msal/msal.d.ts +3 -0
  1169. package/dist/workerd/msal/msal.d.ts.map +1 -0
  1170. package/dist/workerd/msal/msal.js +5 -0
  1171. package/dist/workerd/msal/msal.js.map +1 -0
  1172. package/dist/workerd/msal/nodeFlows/brokerOptions.d.ts +44 -0
  1173. package/dist/workerd/msal/nodeFlows/brokerOptions.d.ts.map +1 -0
  1174. package/dist/workerd/msal/nodeFlows/brokerOptions.js +2 -0
  1175. package/dist/workerd/msal/nodeFlows/brokerOptions.js.map +1 -0
  1176. package/dist/workerd/msal/nodeFlows/msalClient.d.ts +199 -0
  1177. package/dist/workerd/msal/nodeFlows/msalClient.d.ts.map +1 -0
  1178. package/dist/workerd/msal/nodeFlows/msalClient.js +499 -0
  1179. package/dist/workerd/msal/nodeFlows/msalClient.js.map +1 -0
  1180. package/dist/workerd/msal/nodeFlows/msalPlugins.d.ts +109 -0
  1181. package/dist/workerd/msal/nodeFlows/msalPlugins.d.ts.map +1 -0
  1182. package/dist/workerd/msal/nodeFlows/msalPlugins.js +160 -0
  1183. package/dist/workerd/msal/nodeFlows/msalPlugins.js.map +1 -0
  1184. package/dist/workerd/msal/nodeFlows/tokenCachePersistenceOptions.d.ts +24 -0
  1185. package/dist/workerd/msal/nodeFlows/tokenCachePersistenceOptions.d.ts.map +1 -0
  1186. package/dist/workerd/msal/nodeFlows/tokenCachePersistenceOptions.js +4 -0
  1187. package/dist/workerd/msal/nodeFlows/tokenCachePersistenceOptions.js.map +1 -0
  1188. package/dist/workerd/msal/types.d.ts +93 -0
  1189. package/dist/workerd/msal/types.d.ts.map +1 -0
  1190. package/dist/workerd/msal/types.js +4 -0
  1191. package/dist/workerd/msal/types.js.map +1 -0
  1192. package/dist/workerd/msal/utils.d.ts +95 -0
  1193. package/dist/workerd/msal/utils.d.ts.map +1 -0
  1194. package/dist/workerd/msal/utils.js +233 -0
  1195. package/dist/workerd/msal/utils.js.map +1 -0
  1196. package/dist/workerd/package.json +3 -0
  1197. package/dist/workerd/plugins/consumer.d.ts +28 -0
  1198. package/dist/workerd/plugins/consumer.d.ts.map +1 -0
  1199. package/dist/workerd/plugins/consumer.js +41 -0
  1200. package/dist/workerd/plugins/consumer.js.map +1 -0
  1201. package/dist/workerd/plugins/provider.d.ts +36 -0
  1202. package/dist/workerd/plugins/provider.d.ts.map +1 -0
  1203. package/dist/workerd/plugins/provider.js +4 -0
  1204. package/dist/workerd/plugins/provider.js.map +1 -0
  1205. package/dist/workerd/regionalAuthority.d.ts +122 -0
  1206. package/dist/workerd/regionalAuthority.d.ts.map +1 -0
  1207. package/dist/workerd/regionalAuthority.js +139 -0
  1208. package/dist/workerd/regionalAuthority.js.map +1 -0
  1209. package/dist/workerd/tokenCredentialOptions.d.ts +28 -0
  1210. package/dist/workerd/tokenCredentialOptions.d.ts.map +1 -0
  1211. package/dist/workerd/tokenCredentialOptions.js +4 -0
  1212. package/dist/workerd/tokenCredentialOptions.js.map +1 -0
  1213. package/dist/workerd/tokenProvider.d.ts +39 -0
  1214. package/dist/workerd/tokenProvider.d.ts.map +1 -0
  1215. package/dist/workerd/tokenProvider.js +52 -0
  1216. package/dist/workerd/tokenProvider.js.map +1 -0
  1217. package/dist/workerd/util/authHostEnv-browser.d.mts +4 -0
  1218. package/dist/workerd/util/authHostEnv-browser.d.mts.map +1 -0
  1219. package/dist/workerd/util/authHostEnv-browser.mjs +7 -0
  1220. package/dist/workerd/util/authHostEnv-browser.mjs.map +1 -0
  1221. package/dist/workerd/util/identityTokenEndpoint.d.ts +2 -0
  1222. package/dist/workerd/util/identityTokenEndpoint.d.ts.map +1 -0
  1223. package/dist/workerd/util/identityTokenEndpoint.js +11 -0
  1224. package/dist/workerd/util/identityTokenEndpoint.js.map +1 -0
  1225. package/dist/workerd/util/logging.d.ts +70 -0
  1226. package/dist/workerd/util/logging.d.ts.map +1 -0
  1227. package/dist/workerd/util/logging.js +98 -0
  1228. package/dist/workerd/util/logging.js.map +1 -0
  1229. package/dist/workerd/util/processMultiTenantRequest.d.ts +10 -0
  1230. package/dist/workerd/util/processMultiTenantRequest.d.ts.map +1 -0
  1231. package/dist/workerd/util/processMultiTenantRequest.js +34 -0
  1232. package/dist/workerd/util/processMultiTenantRequest.js.map +1 -0
  1233. package/dist/workerd/util/processUtils.d.ts +13 -0
  1234. package/dist/workerd/util/processUtils.d.ts.map +1 -0
  1235. package/dist/workerd/util/processUtils.js +32 -0
  1236. package/dist/workerd/util/processUtils.js.map +1 -0
  1237. package/dist/workerd/util/scopeUtils.d.ts +17 -0
  1238. package/dist/workerd/util/scopeUtils.d.ts.map +1 -0
  1239. package/dist/workerd/util/scopeUtils.js +29 -0
  1240. package/dist/workerd/util/scopeUtils.js.map +1 -0
  1241. package/dist/workerd/util/subscriptionUtils.d.ts +6 -0
  1242. package/dist/workerd/util/subscriptionUtils.d.ts.map +1 -0
  1243. package/dist/workerd/util/subscriptionUtils.js +16 -0
  1244. package/dist/workerd/util/subscriptionUtils.js.map +1 -0
  1245. package/dist/workerd/util/tenantIdUtils.d.ts +15 -0
  1246. package/dist/workerd/util/tenantIdUtils.d.ts.map +1 -0
  1247. package/dist/workerd/util/tenantIdUtils.js +44 -0
  1248. package/dist/workerd/util/tenantIdUtils.js.map +1 -0
  1249. package/dist/workerd/util/tracing.d.ts +6 -0
  1250. package/dist/workerd/util/tracing.d.ts.map +1 -0
  1251. package/dist/workerd/util/tracing.js +14 -0
  1252. package/dist/workerd/util/tracing.js.map +1 -0
  1253. package/package.json +206 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ Copyright (c) Microsoft Corporation.
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # @depup/azure__identity
2
+
3
+ > Dependency-bumped version of [@azure/identity](https://www.npmjs.com/package/@azure/identity)
4
+
5
+ Generated by [DepUp](https://github.com/depup/npm) -- all production
6
+ dependencies bumped to latest versions.
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install @depup/azure__identity
12
+ ```
13
+
14
+ | Field | Value |
15
+ |-------|-------|
16
+ | Original | [@azure/identity](https://www.npmjs.com/package/@azure/identity) @ 4.13.0 |
17
+ | Processed | 2026-03-17 |
18
+ | Smoke test | failed |
19
+ | Deps updated | 11 |
20
+
21
+ ## Dependency Changes
22
+
23
+ | Dependency | From | To |
24
+ |------------|------|-----|
25
+ | @azure/abort-controller | ^2.0.0 | ^2.1.2 |
26
+ | @azure/core-auth | ^1.9.0 | ^1.10.1 |
27
+ | @azure/core-client | ^1.9.2 | ^1.10.1 |
28
+ | @azure/core-rest-pipeline | ^1.17.0 | ^1.23.0 |
29
+ | @azure/core-tracing | ^1.0.0 | ^1.3.1 |
30
+ | @azure/core-util | ^1.11.0 | ^1.13.1 |
31
+ | @azure/logger | ^1.0.0 | ^1.3.0 |
32
+ | @azure/msal-browser | ^4.2.0 | ^5.5.0 |
33
+ | @azure/msal-node | ^3.5.0 | ^5.1.0 |
34
+ | open | ^10.1.0 | ^11.0.0 |
35
+ | tslib | ^2.2.0 | ^2.8.1 |
36
+
37
+ ---
38
+
39
+ Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/@azure/identity
40
+
41
+ License inherited from the original package.
package/changes.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "bumped": {
3
+ "@azure/abort-controller": {
4
+ "from": "^2.0.0",
5
+ "to": "^2.1.2"
6
+ },
7
+ "@azure/core-auth": {
8
+ "from": "^1.9.0",
9
+ "to": "^1.10.1"
10
+ },
11
+ "@azure/core-client": {
12
+ "from": "^1.9.2",
13
+ "to": "^1.10.1"
14
+ },
15
+ "@azure/core-rest-pipeline": {
16
+ "from": "^1.17.0",
17
+ "to": "^1.23.0"
18
+ },
19
+ "@azure/core-tracing": {
20
+ "from": "^1.0.0",
21
+ "to": "^1.3.1"
22
+ },
23
+ "@azure/core-util": {
24
+ "from": "^1.11.0",
25
+ "to": "^1.13.1"
26
+ },
27
+ "@azure/logger": {
28
+ "from": "^1.0.0",
29
+ "to": "^1.3.0"
30
+ },
31
+ "@azure/msal-browser": {
32
+ "from": "^4.2.0",
33
+ "to": "^5.5.0"
34
+ },
35
+ "@azure/msal-node": {
36
+ "from": "^3.5.0",
37
+ "to": "^5.1.0"
38
+ },
39
+ "open": {
40
+ "from": "^10.1.0",
41
+ "to": "^11.0.0"
42
+ },
43
+ "tslib": {
44
+ "from": "^2.2.0",
45
+ "to": "^2.8.1"
46
+ }
47
+ },
48
+ "timestamp": "2026-03-17T22:56:24.853Z",
49
+ "totalUpdated": 11
50
+ }
@@ -0,0 +1,65 @@
1
+ import type { INetworkModule, NetworkRequestOptions, NetworkResponse } from "@azure/msal-node";
2
+ import type { AccessToken, GetTokenOptions } from "@azure/core-auth";
3
+ import { ServiceClient } from "@azure/core-client";
4
+ import type { PipelineRequest } from "@azure/core-rest-pipeline";
5
+ import type { AbortSignalLike } from "@azure/abort-controller";
6
+ import type { TokenCredentialOptions } from "../tokenCredentialOptions.js";
7
+ /**
8
+ * An internal type used to communicate details of a token request's
9
+ * response that should not be sent back as part of the access token.
10
+ */
11
+ export interface TokenResponse {
12
+ /**
13
+ * The AccessToken to be returned from getToken.
14
+ */
15
+ accessToken: AccessToken;
16
+ /**
17
+ * The refresh token if the 'offline_access' scope was used.
18
+ */
19
+ refreshToken?: string;
20
+ }
21
+ /**
22
+ * @internal
23
+ */
24
+ export declare function getIdentityClientAuthorityHost(options?: TokenCredentialOptions): string;
25
+ /**
26
+ * The network module used by the Identity credentials.
27
+ *
28
+ * It allows for credentials to abort any pending request independently of the MSAL flow,
29
+ * by calling to the `abortRequests()` method.
30
+ *
31
+ */
32
+ export declare class IdentityClient extends ServiceClient implements INetworkModule {
33
+ authorityHost: string;
34
+ private allowLoggingAccountIdentifiers?;
35
+ private abortControllers;
36
+ private allowInsecureConnection;
37
+ private tokenCredentialOptions;
38
+ constructor(options?: TokenCredentialOptions);
39
+ sendTokenRequest(request: PipelineRequest): Promise<TokenResponse | null>;
40
+ refreshAccessToken(tenantId: string, clientId: string, scopes: string, refreshToken: string | undefined, clientSecret: string | undefined, options?: GetTokenOptions): Promise<TokenResponse | null>;
41
+ generateAbortSignal(correlationId: string): AbortSignalLike;
42
+ abortRequests(correlationId?: string): void;
43
+ getCorrelationId(options?: NetworkRequestOptions): string;
44
+ sendGetRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
45
+ sendPostRequestAsync<T>(url: string, options?: NetworkRequestOptions): Promise<NetworkResponse<T>>;
46
+ /**
47
+ *
48
+ * @internal
49
+ */
50
+ getTokenCredentialOptions(): TokenCredentialOptions;
51
+ /**
52
+ * If allowLoggingAccountIdentifiers was set on the constructor options
53
+ * we try to log the account identifiers by parsing the received access token.
54
+ *
55
+ * The account identifiers we try to log are:
56
+ * - `appid`: The application or Client Identifier.
57
+ * - `upn`: User Principal Name.
58
+ * - It might not be available in some authentication scenarios.
59
+ * - If it's not available, we put a placeholder: "No User Principal Name available".
60
+ * - `tid`: Tenant Identifier.
61
+ * - `oid`: Object Identifier of the authenticated user.
62
+ */
63
+ private logIdentifiers;
64
+ }
65
+ //# sourceMappingURL=identityClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identityClient.d.ts","sourceRoot":"","sources":["../../../src/client/identityClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC/F,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,KAAK,EAAE,eAAe,EAAoB,MAAM,2BAA2B,CAAC;AAEnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAM/D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAS3E;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,CAAC,EAAE,sBAAsB,GAAG,MAAM,CAWvF;AAED;;;;;;GAMG;AACH,qBAAa,cAAe,SAAQ,aAAc,YAAW,cAAc;IAClE,aAAa,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,8BAA8B,CAAC,CAAU;IACjD,OAAO,CAAC,gBAAgB,CAA6C;IACrE,OAAO,CAAC,uBAAuB,CAAkB;IAEjD,OAAO,CAAC,sBAAsB,CAAyB;gBAE3C,OAAO,CAAC,EAAE,sBAAsB;IAmCtC,gBAAgB,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;IAmCzE,kBAAkB,CACtB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,OAAO,GAAE,eAAoB,GAC5B,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;IAkEhC,mBAAmB,CAAC,aAAa,EAAE,MAAM,GAAG,eAAe;IAe3D,aAAa,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI;IAgB3C,gBAAgB,CAAC,OAAO,CAAC,EAAE,qBAAqB,GAAG,MAAM;IAUnD,mBAAmB,CAAC,CAAC,EACzB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAC9B,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAqBxB,oBAAoB,CAAC,CAAC,EAC1B,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,qBAAqB,GAC9B,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAsB9B;;;OAGG;IACH,yBAAyB,IAAI,sBAAsB;IAGnD;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,cAAc;CA6BvB"}
@@ -0,0 +1,260 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { ServiceClient } from "@azure/core-client";
4
+ import { isNode } from "@azure/core-util";
5
+ import { createHttpHeaders, createPipelineRequest } from "@azure/core-rest-pipeline";
6
+ import { AuthenticationError, AuthenticationErrorName } from "../errors.js";
7
+ import { getIdentityTokenEndpointSuffix } from "../util/identityTokenEndpoint.js";
8
+ import { DefaultAuthorityHost, SDK_VERSION } from "../constants.js";
9
+ import { tracingClient } from "../util/tracing.js";
10
+ import { logger } from "../util/logging.js";
11
+ import { parseExpirationTimestamp, parseRefreshTimestamp, } from "../credentials/managedIdentityCredential/utils.js";
12
+ const noCorrelationId = "noCorrelationId";
13
+ /**
14
+ * @internal
15
+ */
16
+ export function getIdentityClientAuthorityHost(options) {
17
+ // The authorityHost can come from options or from the AZURE_AUTHORITY_HOST environment variable.
18
+ let authorityHost = options?.authorityHost;
19
+ // The AZURE_AUTHORITY_HOST environment variable can only be provided in Node.js.
20
+ if (isNode) {
21
+ authorityHost = authorityHost ?? process.env.AZURE_AUTHORITY_HOST;
22
+ }
23
+ // If the authorityHost is not provided, we use the default one from the public cloud: https://login.microsoftonline.com
24
+ return authorityHost ?? DefaultAuthorityHost;
25
+ }
26
+ /**
27
+ * The network module used by the Identity credentials.
28
+ *
29
+ * It allows for credentials to abort any pending request independently of the MSAL flow,
30
+ * by calling to the `abortRequests()` method.
31
+ *
32
+ */
33
+ export class IdentityClient extends ServiceClient {
34
+ authorityHost;
35
+ allowLoggingAccountIdentifiers;
36
+ abortControllers;
37
+ allowInsecureConnection = false;
38
+ // used for WorkloadIdentity
39
+ tokenCredentialOptions;
40
+ constructor(options) {
41
+ const packageDetails = `azsdk-js-identity/${SDK_VERSION}`;
42
+ const userAgentPrefix = options?.userAgentOptions?.userAgentPrefix
43
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
44
+ : `${packageDetails}`;
45
+ const baseUri = getIdentityClientAuthorityHost(options);
46
+ if (!baseUri.startsWith("https:")) {
47
+ throw new Error("The authorityHost address must use the 'https' protocol.");
48
+ }
49
+ super({
50
+ requestContentType: "application/json; charset=utf-8",
51
+ retryOptions: {
52
+ maxRetries: 3,
53
+ },
54
+ ...options,
55
+ userAgentOptions: {
56
+ userAgentPrefix,
57
+ },
58
+ baseUri,
59
+ });
60
+ this.authorityHost = baseUri;
61
+ this.abortControllers = new Map();
62
+ this.allowLoggingAccountIdentifiers = options?.loggingOptions?.allowLoggingAccountIdentifiers;
63
+ // used for WorkloadIdentity
64
+ this.tokenCredentialOptions = { ...options };
65
+ // used for ManagedIdentity
66
+ if (options?.allowInsecureConnection) {
67
+ this.allowInsecureConnection = options.allowInsecureConnection;
68
+ }
69
+ }
70
+ async sendTokenRequest(request) {
71
+ logger.info(`IdentityClient: sending token request to [${request.url}]`);
72
+ const response = await this.sendRequest(request);
73
+ if (response.bodyAsText && (response.status === 200 || response.status === 201)) {
74
+ const parsedBody = JSON.parse(response.bodyAsText);
75
+ if (!parsedBody.access_token) {
76
+ return null;
77
+ }
78
+ this.logIdentifiers(response);
79
+ const token = {
80
+ accessToken: {
81
+ token: parsedBody.access_token,
82
+ expiresOnTimestamp: parseExpirationTimestamp(parsedBody),
83
+ refreshAfterTimestamp: parseRefreshTimestamp(parsedBody),
84
+ tokenType: "Bearer",
85
+ },
86
+ refreshToken: parsedBody.refresh_token,
87
+ };
88
+ logger.info(`IdentityClient: [${request.url}] token acquired, expires on ${token.accessToken.expiresOnTimestamp}`);
89
+ return token;
90
+ }
91
+ else {
92
+ const error = new AuthenticationError(response.status, response.bodyAsText);
93
+ logger.warning(`IdentityClient: authentication error. HTTP status: ${response.status}, ${error.errorResponse.errorDescription}`);
94
+ throw error;
95
+ }
96
+ }
97
+ async refreshAccessToken(tenantId, clientId, scopes, refreshToken, clientSecret, options = {}) {
98
+ if (refreshToken === undefined) {
99
+ return null;
100
+ }
101
+ logger.info(`IdentityClient: refreshing access token with client ID: ${clientId}, scopes: ${scopes} started`);
102
+ const refreshParams = {
103
+ grant_type: "refresh_token",
104
+ client_id: clientId,
105
+ refresh_token: refreshToken,
106
+ scope: scopes,
107
+ };
108
+ if (clientSecret !== undefined) {
109
+ refreshParams.client_secret = clientSecret;
110
+ }
111
+ const query = new URLSearchParams(refreshParams);
112
+ return tracingClient.withSpan("IdentityClient.refreshAccessToken", options, async (updatedOptions) => {
113
+ try {
114
+ const urlSuffix = getIdentityTokenEndpointSuffix(tenantId);
115
+ const request = createPipelineRequest({
116
+ url: `${this.authorityHost}/${tenantId}/${urlSuffix}`,
117
+ method: "POST",
118
+ body: query.toString(),
119
+ abortSignal: options.abortSignal,
120
+ headers: createHttpHeaders({
121
+ Accept: "application/json",
122
+ "Content-Type": "application/x-www-form-urlencoded",
123
+ }),
124
+ tracingOptions: updatedOptions.tracingOptions,
125
+ });
126
+ const response = await this.sendTokenRequest(request);
127
+ logger.info(`IdentityClient: refreshed token for client ID: ${clientId}`);
128
+ return response;
129
+ }
130
+ catch (err) {
131
+ if (err.name === AuthenticationErrorName &&
132
+ err.errorResponse.error === "interaction_required") {
133
+ // It's likely that the refresh token has expired, so
134
+ // return null so that the credential implementation will
135
+ // initiate the authentication flow again.
136
+ logger.info(`IdentityClient: interaction required for client ID: ${clientId}`);
137
+ return null;
138
+ }
139
+ else {
140
+ logger.warning(`IdentityClient: failed refreshing token for client ID: ${clientId}: ${err}`);
141
+ throw err;
142
+ }
143
+ }
144
+ });
145
+ }
146
+ // Here is a custom layer that allows us to abort requests that go through MSAL,
147
+ // since MSAL doesn't allow us to pass options all the way through.
148
+ generateAbortSignal(correlationId) {
149
+ const controller = new AbortController();
150
+ const controllers = this.abortControllers.get(correlationId) || [];
151
+ controllers.push(controller);
152
+ this.abortControllers.set(correlationId, controllers);
153
+ const existingOnAbort = controller.signal.onabort;
154
+ controller.signal.onabort = (...params) => {
155
+ this.abortControllers.set(correlationId, undefined);
156
+ if (existingOnAbort) {
157
+ existingOnAbort.apply(controller.signal, params);
158
+ }
159
+ };
160
+ return controller.signal;
161
+ }
162
+ abortRequests(correlationId) {
163
+ const key = correlationId || noCorrelationId;
164
+ const controllers = [
165
+ ...(this.abortControllers.get(key) || []),
166
+ // MSAL passes no correlation ID to the get requests...
167
+ ...(this.abortControllers.get(noCorrelationId) || []),
168
+ ];
169
+ if (!controllers.length) {
170
+ return;
171
+ }
172
+ for (const controller of controllers) {
173
+ controller.abort();
174
+ }
175
+ this.abortControllers.set(key, undefined);
176
+ }
177
+ getCorrelationId(options) {
178
+ const parameter = options?.body
179
+ ?.split("&")
180
+ .map((part) => part.split("="))
181
+ .find(([key]) => key === "client-request-id");
182
+ return parameter && parameter.length ? parameter[1] || noCorrelationId : noCorrelationId;
183
+ }
184
+ // The MSAL network module methods follow
185
+ async sendGetRequestAsync(url, options) {
186
+ const request = createPipelineRequest({
187
+ url,
188
+ method: "GET",
189
+ body: options?.body,
190
+ allowInsecureConnection: this.allowInsecureConnection,
191
+ headers: createHttpHeaders(options?.headers),
192
+ abortSignal: this.generateAbortSignal(noCorrelationId),
193
+ });
194
+ const response = await this.sendRequest(request);
195
+ this.logIdentifiers(response);
196
+ return {
197
+ body: response.bodyAsText ? JSON.parse(response.bodyAsText) : undefined,
198
+ headers: response.headers.toJSON(),
199
+ status: response.status,
200
+ };
201
+ }
202
+ async sendPostRequestAsync(url, options) {
203
+ const request = createPipelineRequest({
204
+ url,
205
+ method: "POST",
206
+ body: options?.body,
207
+ headers: createHttpHeaders(options?.headers),
208
+ allowInsecureConnection: this.allowInsecureConnection,
209
+ // MSAL doesn't send the correlation ID on the get requests.
210
+ abortSignal: this.generateAbortSignal(this.getCorrelationId(options)),
211
+ });
212
+ const response = await this.sendRequest(request);
213
+ this.logIdentifiers(response);
214
+ return {
215
+ body: response.bodyAsText ? JSON.parse(response.bodyAsText) : undefined,
216
+ headers: response.headers.toJSON(),
217
+ status: response.status,
218
+ };
219
+ }
220
+ /**
221
+ *
222
+ * @internal
223
+ */
224
+ getTokenCredentialOptions() {
225
+ return this.tokenCredentialOptions;
226
+ }
227
+ /**
228
+ * If allowLoggingAccountIdentifiers was set on the constructor options
229
+ * we try to log the account identifiers by parsing the received access token.
230
+ *
231
+ * The account identifiers we try to log are:
232
+ * - `appid`: The application or Client Identifier.
233
+ * - `upn`: User Principal Name.
234
+ * - It might not be available in some authentication scenarios.
235
+ * - If it's not available, we put a placeholder: "No User Principal Name available".
236
+ * - `tid`: Tenant Identifier.
237
+ * - `oid`: Object Identifier of the authenticated user.
238
+ */
239
+ logIdentifiers(response) {
240
+ if (!this.allowLoggingAccountIdentifiers || !response.bodyAsText) {
241
+ return;
242
+ }
243
+ const unavailableUpn = "No User Principal Name available";
244
+ try {
245
+ const parsed = response.parsedBody || JSON.parse(response.bodyAsText);
246
+ const accessToken = parsed.access_token;
247
+ if (!accessToken) {
248
+ // Without an access token allowLoggingAccountIdentifiers isn't useful.
249
+ return;
250
+ }
251
+ const base64Metadata = accessToken.split(".")[1];
252
+ const { appid, upn, tid, oid } = JSON.parse(Buffer.from(base64Metadata, "base64").toString("utf8"));
253
+ logger.info(`[Authenticated account] Client ID: ${appid}. Tenant ID: ${tid}. User Principal Name: ${upn || unavailableUpn}. Object ID (user): ${oid}`);
254
+ }
255
+ catch (e) {
256
+ logger.warning("allowLoggingAccountIdentifiers was set, but we couldn't log the account information. Error:", e.message);
257
+ }
258
+ }
259
+ }
260
+ //# sourceMappingURL=identityClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identityClient.js","sourceRoot":"","sources":["../../../src/client/identityClient.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { INetworkModule, NetworkRequestOptions, NetworkResponse } from \"@azure/msal-node\";\nimport type { AccessToken, GetTokenOptions } from \"@azure/core-auth\";\nimport { ServiceClient } from \"@azure/core-client\";\nimport { isNode } from \"@azure/core-util\";\nimport type { PipelineRequest, PipelineResponse } from \"@azure/core-rest-pipeline\";\nimport { createHttpHeaders, createPipelineRequest } from \"@azure/core-rest-pipeline\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport { AuthenticationError, AuthenticationErrorName } from \"../errors.js\";\nimport { getIdentityTokenEndpointSuffix } from \"../util/identityTokenEndpoint.js\";\nimport { DefaultAuthorityHost, SDK_VERSION } from \"../constants.js\";\nimport { tracingClient } from \"../util/tracing.js\";\nimport { logger } from \"../util/logging.js\";\nimport type { TokenCredentialOptions } from \"../tokenCredentialOptions.js\";\nimport type { TokenResponseParsedBody } from \"../credentials/managedIdentityCredential/utils.js\";\nimport {\n parseExpirationTimestamp,\n parseRefreshTimestamp,\n} from \"../credentials/managedIdentityCredential/utils.js\";\n\nconst noCorrelationId = \"noCorrelationId\";\n\n/**\n * An internal type used to communicate details of a token request's\n * response that should not be sent back as part of the access token.\n */\nexport interface TokenResponse {\n /**\n * The AccessToken to be returned from getToken.\n */\n accessToken: AccessToken;\n /**\n * The refresh token if the 'offline_access' scope was used.\n */\n refreshToken?: string;\n}\n\n/**\n * @internal\n */\nexport function getIdentityClientAuthorityHost(options?: TokenCredentialOptions): string {\n // The authorityHost can come from options or from the AZURE_AUTHORITY_HOST environment variable.\n let authorityHost = options?.authorityHost;\n\n // The AZURE_AUTHORITY_HOST environment variable can only be provided in Node.js.\n if (isNode) {\n authorityHost = authorityHost ?? process.env.AZURE_AUTHORITY_HOST;\n }\n\n // If the authorityHost is not provided, we use the default one from the public cloud: https://login.microsoftonline.com\n return authorityHost ?? DefaultAuthorityHost;\n}\n\n/**\n * The network module used by the Identity credentials.\n *\n * It allows for credentials to abort any pending request independently of the MSAL flow,\n * by calling to the `abortRequests()` method.\n *\n */\nexport class IdentityClient extends ServiceClient implements INetworkModule {\n public authorityHost: string;\n private allowLoggingAccountIdentifiers?: boolean;\n private abortControllers: Map<string, AbortController[] | undefined>;\n private allowInsecureConnection: boolean = false;\n // used for WorkloadIdentity\n private tokenCredentialOptions: TokenCredentialOptions;\n\n constructor(options?: TokenCredentialOptions) {\n const packageDetails = `azsdk-js-identity/${SDK_VERSION}`;\n const userAgentPrefix = options?.userAgentOptions?.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const baseUri = getIdentityClientAuthorityHost(options);\n if (!baseUri.startsWith(\"https:\")) {\n throw new Error(\"The authorityHost address must use the 'https' protocol.\");\n }\n\n super({\n requestContentType: \"application/json; charset=utf-8\",\n retryOptions: {\n maxRetries: 3,\n },\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n baseUri,\n });\n\n this.authorityHost = baseUri;\n this.abortControllers = new Map();\n this.allowLoggingAccountIdentifiers = options?.loggingOptions?.allowLoggingAccountIdentifiers;\n // used for WorkloadIdentity\n this.tokenCredentialOptions = { ...options };\n\n // used for ManagedIdentity\n if (options?.allowInsecureConnection) {\n this.allowInsecureConnection = options.allowInsecureConnection;\n }\n }\n\n async sendTokenRequest(request: PipelineRequest): Promise<TokenResponse | null> {\n logger.info(`IdentityClient: sending token request to [${request.url}]`);\n const response = await this.sendRequest(request);\n if (response.bodyAsText && (response.status === 200 || response.status === 201)) {\n const parsedBody: TokenResponseParsedBody = JSON.parse(response.bodyAsText);\n\n if (!parsedBody.access_token) {\n return null;\n }\n\n this.logIdentifiers(response);\n\n const token = {\n accessToken: {\n token: parsedBody.access_token,\n expiresOnTimestamp: parseExpirationTimestamp(parsedBody),\n refreshAfterTimestamp: parseRefreshTimestamp(parsedBody),\n tokenType: \"Bearer\",\n } as AccessToken,\n refreshToken: parsedBody.refresh_token,\n };\n\n logger.info(\n `IdentityClient: [${request.url}] token acquired, expires on ${token.accessToken.expiresOnTimestamp}`,\n );\n return token;\n } else {\n const error = new AuthenticationError(response.status, response.bodyAsText);\n logger.warning(\n `IdentityClient: authentication error. HTTP status: ${response.status}, ${error.errorResponse.errorDescription}`,\n );\n throw error;\n }\n }\n\n async refreshAccessToken(\n tenantId: string,\n clientId: string,\n scopes: string,\n refreshToken: string | undefined,\n clientSecret: string | undefined,\n options: GetTokenOptions = {},\n ): Promise<TokenResponse | null> {\n if (refreshToken === undefined) {\n return null;\n }\n logger.info(\n `IdentityClient: refreshing access token with client ID: ${clientId}, scopes: ${scopes} started`,\n );\n\n const refreshParams = {\n grant_type: \"refresh_token\",\n client_id: clientId,\n refresh_token: refreshToken,\n scope: scopes,\n };\n\n if (clientSecret !== undefined) {\n (refreshParams as any).client_secret = clientSecret;\n }\n\n const query = new URLSearchParams(refreshParams);\n\n return tracingClient.withSpan(\n \"IdentityClient.refreshAccessToken\",\n options,\n async (updatedOptions) => {\n try {\n const urlSuffix = getIdentityTokenEndpointSuffix(tenantId);\n const request = createPipelineRequest({\n url: `${this.authorityHost}/${tenantId}/${urlSuffix}`,\n method: \"POST\",\n body: query.toString(),\n abortSignal: options.abortSignal,\n headers: createHttpHeaders({\n Accept: \"application/json\",\n \"Content-Type\": \"application/x-www-form-urlencoded\",\n }),\n tracingOptions: updatedOptions.tracingOptions,\n });\n\n const response = await this.sendTokenRequest(request);\n logger.info(`IdentityClient: refreshed token for client ID: ${clientId}`);\n return response;\n } catch (err: any) {\n if (\n err.name === AuthenticationErrorName &&\n err.errorResponse.error === \"interaction_required\"\n ) {\n // It's likely that the refresh token has expired, so\n // return null so that the credential implementation will\n // initiate the authentication flow again.\n logger.info(`IdentityClient: interaction required for client ID: ${clientId}`);\n return null;\n } else {\n logger.warning(\n `IdentityClient: failed refreshing token for client ID: ${clientId}: ${err}`,\n );\n throw err;\n }\n }\n },\n );\n }\n\n // Here is a custom layer that allows us to abort requests that go through MSAL,\n // since MSAL doesn't allow us to pass options all the way through.\n\n generateAbortSignal(correlationId: string): AbortSignalLike {\n const controller = new AbortController();\n const controllers = this.abortControllers.get(correlationId) || [];\n controllers.push(controller);\n this.abortControllers.set(correlationId, controllers);\n const existingOnAbort = controller.signal.onabort;\n controller.signal.onabort = (...params) => {\n this.abortControllers.set(correlationId, undefined);\n if (existingOnAbort) {\n existingOnAbort.apply(controller.signal, params);\n }\n };\n return controller.signal;\n }\n\n abortRequests(correlationId?: string): void {\n const key = correlationId || noCorrelationId;\n const controllers = [\n ...(this.abortControllers.get(key) || []),\n // MSAL passes no correlation ID to the get requests...\n ...(this.abortControllers.get(noCorrelationId) || []),\n ];\n if (!controllers.length) {\n return;\n }\n for (const controller of controllers) {\n controller.abort();\n }\n this.abortControllers.set(key, undefined);\n }\n\n getCorrelationId(options?: NetworkRequestOptions): string {\n const parameter = options?.body\n ?.split(\"&\")\n .map((part) => part.split(\"=\"))\n .find(([key]) => key === \"client-request-id\");\n return parameter && parameter.length ? parameter[1] || noCorrelationId : noCorrelationId;\n }\n\n // The MSAL network module methods follow\n\n async sendGetRequestAsync<T>(\n url: string,\n options?: NetworkRequestOptions,\n ): Promise<NetworkResponse<T>> {\n const request = createPipelineRequest({\n url,\n method: \"GET\",\n body: options?.body,\n allowInsecureConnection: this.allowInsecureConnection,\n headers: createHttpHeaders(options?.headers),\n abortSignal: this.generateAbortSignal(noCorrelationId),\n });\n\n const response = await this.sendRequest(request);\n\n this.logIdentifiers(response);\n\n return {\n body: response.bodyAsText ? JSON.parse(response.bodyAsText) : undefined,\n headers: response.headers.toJSON(),\n status: response.status,\n };\n }\n\n async sendPostRequestAsync<T>(\n url: string,\n options?: NetworkRequestOptions,\n ): Promise<NetworkResponse<T>> {\n const request = createPipelineRequest({\n url,\n method: \"POST\",\n body: options?.body,\n headers: createHttpHeaders(options?.headers),\n allowInsecureConnection: this.allowInsecureConnection,\n // MSAL doesn't send the correlation ID on the get requests.\n abortSignal: this.generateAbortSignal(this.getCorrelationId(options)),\n });\n\n const response = await this.sendRequest(request);\n\n this.logIdentifiers(response);\n\n return {\n body: response.bodyAsText ? JSON.parse(response.bodyAsText) : undefined,\n headers: response.headers.toJSON(),\n status: response.status,\n };\n }\n\n /**\n *\n * @internal\n */\n getTokenCredentialOptions(): TokenCredentialOptions {\n return this.tokenCredentialOptions;\n }\n /**\n * If allowLoggingAccountIdentifiers was set on the constructor options\n * we try to log the account identifiers by parsing the received access token.\n *\n * The account identifiers we try to log are:\n * - `appid`: The application or Client Identifier.\n * - `upn`: User Principal Name.\n * - It might not be available in some authentication scenarios.\n * - If it's not available, we put a placeholder: \"No User Principal Name available\".\n * - `tid`: Tenant Identifier.\n * - `oid`: Object Identifier of the authenticated user.\n */\n private logIdentifiers(response: PipelineResponse): void {\n if (!this.allowLoggingAccountIdentifiers || !response.bodyAsText) {\n return;\n }\n const unavailableUpn = \"No User Principal Name available\";\n try {\n const parsed = (response as any).parsedBody || JSON.parse(response.bodyAsText);\n const accessToken = parsed.access_token;\n if (!accessToken) {\n // Without an access token allowLoggingAccountIdentifiers isn't useful.\n return;\n }\n const base64Metadata = accessToken.split(\".\")[1];\n const { appid, upn, tid, oid } = JSON.parse(\n Buffer.from(base64Metadata, \"base64\").toString(\"utf8\"),\n );\n\n logger.info(\n `[Authenticated account] Client ID: ${appid}. Tenant ID: ${tid}. User Principal Name: ${\n upn || unavailableUpn\n }. Object ID (user): ${oid}`,\n );\n } catch (e: any) {\n logger.warning(\n \"allowLoggingAccountIdentifiers was set, but we couldn't log the account information. Error:\",\n e.message,\n );\n }\n }\n}\n"]}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Current version of the `@azure/identity` package.
3
+ */
4
+ export declare const SDK_VERSION = "4.13.0";
5
+ /**
6
+ * The default client ID for authentication
7
+ * @internal
8
+ */
9
+ export declare const DeveloperSignOnClientId = "04b07795-8ddb-461a-bbee-02f9e1bf7b46";
10
+ /**
11
+ * The default tenant for authentication
12
+ * @internal
13
+ */
14
+ export declare const DefaultTenantId = "common";
15
+ /**
16
+ * A list of known Azure authority hosts
17
+ */
18
+ export declare enum AzureAuthorityHosts {
19
+ /**
20
+ * China-based Azure Authority Host
21
+ */
22
+ AzureChina = "https://login.chinacloudapi.cn",
23
+ /**
24
+ * Germany-based Azure Authority Host
25
+ *
26
+ * @deprecated Microsoft Cloud Germany was closed on October 29th, 2021.
27
+ *
28
+ * */
29
+ AzureGermany = "https://login.microsoftonline.de",
30
+ /**
31
+ * US Government Azure Authority Host
32
+ */
33
+ AzureGovernment = "https://login.microsoftonline.us",
34
+ /**
35
+ * Public Cloud Azure Authority Host
36
+ */
37
+ AzurePublicCloud = "https://login.microsoftonline.com"
38
+ }
39
+ /**
40
+ * @internal
41
+ * The default authority host.
42
+ */
43
+ export declare const DefaultAuthorityHost = AzureAuthorityHosts.AzurePublicCloud;
44
+ /**
45
+ * @internal
46
+ * The default environment host for Azure Public Cloud
47
+ */
48
+ export declare const DefaultAuthority = "login.microsoftonline.com";
49
+ /**
50
+ * @internal
51
+ * Allow acquiring tokens for any tenant for multi-tentant auth.
52
+ */
53
+ export declare const ALL_TENANTS: string[];
54
+ /**
55
+ * @internal
56
+ */
57
+ export declare const CACHE_CAE_SUFFIX = "cae";
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const CACHE_NON_CAE_SUFFIX = "nocae";
62
+ /**
63
+ * @internal
64
+ *
65
+ * The default name for the cache persistence plugin.
66
+ * Matches the constant defined in the cache persistence package.
67
+ */
68
+ export declare const DEFAULT_TOKEN_CACHE_NAME = "msal.cache";
69
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,WAAW,WAAW,CAAC;AAEpC;;;GAGG;AAIH,eAAO,MAAM,uBAAuB,yCAAyC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,eAAe,WAAW,CAAC;AAExC;;GAEG;AACH,oBAAY,mBAAmB;IAC7B;;OAEG;IACH,UAAU,mCAAmC;IAC7C;;;;;SAKK;IACL,YAAY,qCAAqC;IACjD;;OAEG;IACH,eAAe,qCAAqC;IACpD;;OAEG;IACH,gBAAgB,sCAAsC;CACvD;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,uCAAuC,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,gBAAgB,8BAA8B,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,EAAU,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,gBAAgB,QAAQ,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,oBAAoB,UAAU,CAAC;AAE5C;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,eAAe,CAAC"}
@@ -0,0 +1,75 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ /**
4
+ * Current version of the `@azure/identity` package.
5
+ */
6
+ export const SDK_VERSION = `4.13.0`;
7
+ /**
8
+ * The default client ID for authentication
9
+ * @internal
10
+ */
11
+ // TODO: temporary - this is the Azure CLI clientID - we'll replace it when
12
+ // Developer Sign On application is available
13
+ // https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/src/Constants.cs#L9
14
+ export const DeveloperSignOnClientId = "04b07795-8ddb-461a-bbee-02f9e1bf7b46";
15
+ /**
16
+ * The default tenant for authentication
17
+ * @internal
18
+ */
19
+ export const DefaultTenantId = "common";
20
+ /**
21
+ * A list of known Azure authority hosts
22
+ */
23
+ export var AzureAuthorityHosts;
24
+ (function (AzureAuthorityHosts) {
25
+ /**
26
+ * China-based Azure Authority Host
27
+ */
28
+ AzureAuthorityHosts["AzureChina"] = "https://login.chinacloudapi.cn";
29
+ /**
30
+ * Germany-based Azure Authority Host
31
+ *
32
+ * @deprecated Microsoft Cloud Germany was closed on October 29th, 2021.
33
+ *
34
+ * */
35
+ AzureAuthorityHosts["AzureGermany"] = "https://login.microsoftonline.de";
36
+ /**
37
+ * US Government Azure Authority Host
38
+ */
39
+ AzureAuthorityHosts["AzureGovernment"] = "https://login.microsoftonline.us";
40
+ /**
41
+ * Public Cloud Azure Authority Host
42
+ */
43
+ AzureAuthorityHosts["AzurePublicCloud"] = "https://login.microsoftonline.com";
44
+ })(AzureAuthorityHosts || (AzureAuthorityHosts = {}));
45
+ /**
46
+ * @internal
47
+ * The default authority host.
48
+ */
49
+ export const DefaultAuthorityHost = AzureAuthorityHosts.AzurePublicCloud;
50
+ /**
51
+ * @internal
52
+ * The default environment host for Azure Public Cloud
53
+ */
54
+ export const DefaultAuthority = "login.microsoftonline.com";
55
+ /**
56
+ * @internal
57
+ * Allow acquiring tokens for any tenant for multi-tentant auth.
58
+ */
59
+ export const ALL_TENANTS = ["*"];
60
+ /**
61
+ * @internal
62
+ */
63
+ export const CACHE_CAE_SUFFIX = "cae";
64
+ /**
65
+ * @internal
66
+ */
67
+ export const CACHE_NON_CAE_SUFFIX = "nocae";
68
+ /**
69
+ * @internal
70
+ *
71
+ * The default name for the cache persistence plugin.
72
+ * Matches the constant defined in the cache persistence package.
73
+ */
74
+ export const DEFAULT_TOKEN_CACHE_NAME = "msal.cache";
75
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC;AAEpC;;;GAGG;AACH,2EAA2E;AAC3E,6CAA6C;AAC7C,uGAAuG;AACvG,MAAM,CAAC,MAAM,uBAAuB,GAAG,sCAAsC,CAAC;AAE9E;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC;AAExC;;GAEG;AACH,MAAM,CAAN,IAAY,mBAoBX;AApBD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,oEAA6C,CAAA;IAC7C;;;;;SAKK;IACL,wEAAiD,CAAA;IACjD;;OAEG;IACH,2EAAoD,CAAA;IACpD;;OAEG;IACH,6EAAsD,CAAA;AACxD,CAAC,EApBW,mBAAmB,KAAnB,mBAAmB,QAoB9B;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC;AAEzE;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAa,CAAC,GAAG,CAAC,CAAC;AAE3C;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,OAAO,CAAC;AAE5C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,YAAY,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Current version of the `@azure/identity` package.\n */\nexport const SDK_VERSION = `4.13.0`;\n\n/**\n * The default client ID for authentication\n * @internal\n */\n// TODO: temporary - this is the Azure CLI clientID - we'll replace it when\n// Developer Sign On application is available\n// https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/src/Constants.cs#L9\nexport const DeveloperSignOnClientId = \"04b07795-8ddb-461a-bbee-02f9e1bf7b46\";\n\n/**\n * The default tenant for authentication\n * @internal\n */\nexport const DefaultTenantId = \"common\";\n\n/**\n * A list of known Azure authority hosts\n */\nexport enum AzureAuthorityHosts {\n /**\n * China-based Azure Authority Host\n */\n AzureChina = \"https://login.chinacloudapi.cn\",\n /**\n * Germany-based Azure Authority Host\n *\n * @deprecated Microsoft Cloud Germany was closed on October 29th, 2021.\n *\n * */\n AzureGermany = \"https://login.microsoftonline.de\",\n /**\n * US Government Azure Authority Host\n */\n AzureGovernment = \"https://login.microsoftonline.us\",\n /**\n * Public Cloud Azure Authority Host\n */\n AzurePublicCloud = \"https://login.microsoftonline.com\",\n}\n\n/**\n * @internal\n * The default authority host.\n */\nexport const DefaultAuthorityHost = AzureAuthorityHosts.AzurePublicCloud;\n\n/**\n * @internal\n * The default environment host for Azure Public Cloud\n */\nexport const DefaultAuthority = \"login.microsoftonline.com\";\n\n/**\n * @internal\n * Allow acquiring tokens for any tenant for multi-tentant auth.\n */\nexport const ALL_TENANTS: string[] = [\"*\"];\n\n/**\n * @internal\n */\nexport const CACHE_CAE_SUFFIX = \"cae\";\n\n/**\n * @internal\n */\nexport const CACHE_NON_CAE_SUFFIX = \"nocae\";\n\n/**\n * @internal\n *\n * The default name for the cache persistence plugin.\n * Matches the constant defined in the cache persistence package.\n */\nexport const DEFAULT_TOKEN_CACHE_NAME = \"msal.cache\";\n"]}