@azure/identity 4.5.0-alpha.20240826.2 → 4.5.0-alpha.20240827.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. package/dist/index.js +41 -41
  2. package/dist/index.js.map +1 -1
  3. package/dist-esm/src/client/identityClient.js +1 -1
  4. package/dist-esm/src/client/identityClient.js.map +1 -1
  5. package/dist-esm/src/constants.js +1 -1
  6. package/dist-esm/src/constants.js.map +1 -1
  7. package/dist-esm/src/credentials/authorityValidationOptions.js +1 -1
  8. package/dist-esm/src/credentials/authorityValidationOptions.js.map +1 -1
  9. package/dist-esm/src/credentials/authorizationCodeCredential.browser.js +1 -1
  10. package/dist-esm/src/credentials/authorizationCodeCredential.browser.js.map +1 -1
  11. package/dist-esm/src/credentials/authorizationCodeCredential.js +1 -1
  12. package/dist-esm/src/credentials/authorizationCodeCredential.js.map +1 -1
  13. package/dist-esm/src/credentials/authorizationCodeCredentialOptions.js +1 -1
  14. package/dist-esm/src/credentials/authorizationCodeCredentialOptions.js.map +1 -1
  15. package/dist-esm/src/credentials/azureApplicationCredential.browser.js +1 -1
  16. package/dist-esm/src/credentials/azureApplicationCredential.browser.js.map +1 -1
  17. package/dist-esm/src/credentials/azureApplicationCredential.js +1 -1
  18. package/dist-esm/src/credentials/azureApplicationCredential.js.map +1 -1
  19. package/dist-esm/src/credentials/azureApplicationCredentialOptions.js +1 -1
  20. package/dist-esm/src/credentials/azureApplicationCredentialOptions.js.map +1 -1
  21. package/dist-esm/src/credentials/azureCliCredential.browser.js +1 -1
  22. package/dist-esm/src/credentials/azureCliCredential.browser.js.map +1 -1
  23. package/dist-esm/src/credentials/azureCliCredential.js +1 -1
  24. package/dist-esm/src/credentials/azureCliCredential.js.map +1 -1
  25. package/dist-esm/src/credentials/azureCliCredentialOptions.js +1 -1
  26. package/dist-esm/src/credentials/azureCliCredentialOptions.js.map +1 -1
  27. package/dist-esm/src/credentials/azureDeveloperCliCredential.browser.js +1 -1
  28. package/dist-esm/src/credentials/azureDeveloperCliCredential.browser.js.map +1 -1
  29. package/dist-esm/src/credentials/azureDeveloperCliCredential.js +1 -1
  30. package/dist-esm/src/credentials/azureDeveloperCliCredential.js.map +1 -1
  31. package/dist-esm/src/credentials/azureDeveloperCliCredentialOptions.js +1 -1
  32. package/dist-esm/src/credentials/azureDeveloperCliCredentialOptions.js.map +1 -1
  33. package/dist-esm/src/credentials/azurePipelinesCredential.browser.js +1 -1
  34. package/dist-esm/src/credentials/azurePipelinesCredential.browser.js.map +1 -1
  35. package/dist-esm/src/credentials/azurePipelinesCredential.js +1 -1
  36. package/dist-esm/src/credentials/azurePipelinesCredential.js.map +1 -1
  37. package/dist-esm/src/credentials/azurePipelinesCredentialOptions.js +1 -1
  38. package/dist-esm/src/credentials/azurePipelinesCredentialOptions.js.map +1 -1
  39. package/dist-esm/src/credentials/azurePowerShellCredential.browser.js +1 -1
  40. package/dist-esm/src/credentials/azurePowerShellCredential.browser.js.map +1 -1
  41. package/dist-esm/src/credentials/azurePowerShellCredential.js +1 -1
  42. package/dist-esm/src/credentials/azurePowerShellCredential.js.map +1 -1
  43. package/dist-esm/src/credentials/azurePowerShellCredentialOptions.js +1 -1
  44. package/dist-esm/src/credentials/azurePowerShellCredentialOptions.js.map +1 -1
  45. package/dist-esm/src/credentials/brokerAuthOptions.js.map +1 -1
  46. package/dist-esm/src/credentials/browserCustomizationOptions.js +1 -1
  47. package/dist-esm/src/credentials/browserCustomizationOptions.js.map +1 -1
  48. package/dist-esm/src/credentials/chainedTokenCredential.js +1 -1
  49. package/dist-esm/src/credentials/chainedTokenCredential.js.map +1 -1
  50. package/dist-esm/src/credentials/clientAssertionCredential.browser.js +1 -1
  51. package/dist-esm/src/credentials/clientAssertionCredential.browser.js.map +1 -1
  52. package/dist-esm/src/credentials/clientAssertionCredential.js +1 -1
  53. package/dist-esm/src/credentials/clientAssertionCredential.js.map +1 -1
  54. package/dist-esm/src/credentials/clientAssertionCredentialOptions.js +1 -1
  55. package/dist-esm/src/credentials/clientAssertionCredentialOptions.js.map +1 -1
  56. package/dist-esm/src/credentials/clientCertificateCredential.browser.js +1 -1
  57. package/dist-esm/src/credentials/clientCertificateCredential.browser.js.map +1 -1
  58. package/dist-esm/src/credentials/clientCertificateCredential.js +1 -1
  59. package/dist-esm/src/credentials/clientCertificateCredential.js.map +1 -1
  60. package/dist-esm/src/credentials/clientCertificateCredentialOptions.js +1 -1
  61. package/dist-esm/src/credentials/clientCertificateCredentialOptions.js.map +1 -1
  62. package/dist-esm/src/credentials/clientSecretCredential.browser.js +1 -1
  63. package/dist-esm/src/credentials/clientSecretCredential.browser.js.map +1 -1
  64. package/dist-esm/src/credentials/clientSecretCredential.js +1 -1
  65. package/dist-esm/src/credentials/clientSecretCredential.js.map +1 -1
  66. package/dist-esm/src/credentials/clientSecretCredentialOptions.js +1 -1
  67. package/dist-esm/src/credentials/clientSecretCredentialOptions.js.map +1 -1
  68. package/dist-esm/src/credentials/credentialPersistenceOptions.js +1 -1
  69. package/dist-esm/src/credentials/credentialPersistenceOptions.js.map +1 -1
  70. package/dist-esm/src/credentials/defaultAzureCredential.browser.js +1 -1
  71. package/dist-esm/src/credentials/defaultAzureCredential.browser.js.map +1 -1
  72. package/dist-esm/src/credentials/defaultAzureCredential.js +1 -1
  73. package/dist-esm/src/credentials/defaultAzureCredential.js.map +1 -1
  74. package/dist-esm/src/credentials/defaultAzureCredentialOptions.js +1 -1
  75. package/dist-esm/src/credentials/defaultAzureCredentialOptions.js.map +1 -1
  76. package/dist-esm/src/credentials/deviceCodeCredential.browser.js +1 -1
  77. package/dist-esm/src/credentials/deviceCodeCredential.browser.js.map +1 -1
  78. package/dist-esm/src/credentials/deviceCodeCredential.js +1 -1
  79. package/dist-esm/src/credentials/deviceCodeCredential.js.map +1 -1
  80. package/dist-esm/src/credentials/deviceCodeCredentialOptions.js +1 -1
  81. package/dist-esm/src/credentials/deviceCodeCredentialOptions.js.map +1 -1
  82. package/dist-esm/src/credentials/environmentCredential.browser.js +1 -1
  83. package/dist-esm/src/credentials/environmentCredential.browser.js.map +1 -1
  84. package/dist-esm/src/credentials/environmentCredential.js +1 -1
  85. package/dist-esm/src/credentials/environmentCredential.js.map +1 -1
  86. package/dist-esm/src/credentials/environmentCredentialOptions.js +1 -1
  87. package/dist-esm/src/credentials/environmentCredentialOptions.js.map +1 -1
  88. package/dist-esm/src/credentials/interactiveBrowserCredential.browser.js +1 -1
  89. package/dist-esm/src/credentials/interactiveBrowserCredential.browser.js.map +1 -1
  90. package/dist-esm/src/credentials/interactiveBrowserCredential.js +1 -1
  91. package/dist-esm/src/credentials/interactiveBrowserCredential.js.map +1 -1
  92. package/dist-esm/src/credentials/interactiveBrowserCredentialOptions.js +1 -1
  93. package/dist-esm/src/credentials/interactiveBrowserCredentialOptions.js.map +1 -1
  94. package/dist-esm/src/credentials/interactiveCredentialOptions.js +1 -1
  95. package/dist-esm/src/credentials/interactiveCredentialOptions.js.map +1 -1
  96. package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2017.js +1 -1
  97. package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2017.js.map +1 -1
  98. package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2019.js +1 -1
  99. package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2019.js.map +1 -1
  100. package/dist-esm/src/credentials/managedIdentityCredential/arcMsi.js +1 -1
  101. package/dist-esm/src/credentials/managedIdentityCredential/arcMsi.js.map +1 -1
  102. package/dist-esm/src/credentials/managedIdentityCredential/cloudShellMsi.js +1 -1
  103. package/dist-esm/src/credentials/managedIdentityCredential/cloudShellMsi.js.map +1 -1
  104. package/dist-esm/src/credentials/managedIdentityCredential/constants.js +1 -1
  105. package/dist-esm/src/credentials/managedIdentityCredential/constants.js.map +1 -1
  106. package/dist-esm/src/credentials/managedIdentityCredential/fabricMsi.js +1 -1
  107. package/dist-esm/src/credentials/managedIdentityCredential/fabricMsi.js.map +1 -1
  108. package/dist-esm/src/credentials/managedIdentityCredential/imdsMsi.js +1 -1
  109. package/dist-esm/src/credentials/managedIdentityCredential/imdsMsi.js.map +1 -1
  110. package/dist-esm/src/credentials/managedIdentityCredential/imdsRetryPolicy.js +1 -1
  111. package/dist-esm/src/credentials/managedIdentityCredential/imdsRetryPolicy.js.map +1 -1
  112. package/dist-esm/src/credentials/managedIdentityCredential/index.browser.js +1 -1
  113. package/dist-esm/src/credentials/managedIdentityCredential/index.browser.js.map +1 -1
  114. package/dist-esm/src/credentials/managedIdentityCredential/index.js +1 -1
  115. package/dist-esm/src/credentials/managedIdentityCredential/index.js.map +1 -1
  116. package/dist-esm/src/credentials/managedIdentityCredential/legacyMsiProvider.js +1 -1
  117. package/dist-esm/src/credentials/managedIdentityCredential/legacyMsiProvider.js.map +1 -1
  118. package/dist-esm/src/credentials/managedIdentityCredential/models.js +1 -1
  119. package/dist-esm/src/credentials/managedIdentityCredential/models.js.map +1 -1
  120. package/dist-esm/src/credentials/managedIdentityCredential/msalMsiProvider.js +1 -1
  121. package/dist-esm/src/credentials/managedIdentityCredential/msalMsiProvider.js.map +1 -1
  122. package/dist-esm/src/credentials/managedIdentityCredential/tokenExchangeMsi.js +1 -1
  123. package/dist-esm/src/credentials/managedIdentityCredential/tokenExchangeMsi.js.map +1 -1
  124. package/dist-esm/src/credentials/managedIdentityCredential/utils.js +1 -1
  125. package/dist-esm/src/credentials/managedIdentityCredential/utils.js.map +1 -1
  126. package/dist-esm/src/credentials/multiTenantTokenCredentialOptions.js +1 -1
  127. package/dist-esm/src/credentials/multiTenantTokenCredentialOptions.js.map +1 -1
  128. package/dist-esm/src/credentials/onBehalfOfCredential.browser.js +1 -1
  129. package/dist-esm/src/credentials/onBehalfOfCredential.browser.js.map +1 -1
  130. package/dist-esm/src/credentials/onBehalfOfCredential.js +1 -1
  131. package/dist-esm/src/credentials/onBehalfOfCredential.js.map +1 -1
  132. package/dist-esm/src/credentials/onBehalfOfCredentialOptions.js +1 -1
  133. package/dist-esm/src/credentials/onBehalfOfCredentialOptions.js.map +1 -1
  134. package/dist-esm/src/credentials/usernamePasswordCredential.browser.js +1 -1
  135. package/dist-esm/src/credentials/usernamePasswordCredential.browser.js.map +1 -1
  136. package/dist-esm/src/credentials/usernamePasswordCredential.js +1 -1
  137. package/dist-esm/src/credentials/usernamePasswordCredential.js.map +1 -1
  138. package/dist-esm/src/credentials/usernamePasswordCredentialOptions.js +1 -1
  139. package/dist-esm/src/credentials/usernamePasswordCredentialOptions.js.map +1 -1
  140. package/dist-esm/src/credentials/visualStudioCodeCredential.browser.js +1 -1
  141. package/dist-esm/src/credentials/visualStudioCodeCredential.browser.js.map +1 -1
  142. package/dist-esm/src/credentials/visualStudioCodeCredential.js +1 -1
  143. package/dist-esm/src/credentials/visualStudioCodeCredential.js.map +1 -1
  144. package/dist-esm/src/credentials/visualStudioCodeCredentialOptions.js +1 -1
  145. package/dist-esm/src/credentials/visualStudioCodeCredentialOptions.js.map +1 -1
  146. package/dist-esm/src/credentials/visualStudioCodeCredentialPlugin.js +1 -1
  147. package/dist-esm/src/credentials/visualStudioCodeCredentialPlugin.js.map +1 -1
  148. package/dist-esm/src/credentials/workloadIdentityCredential.browser.js +1 -1
  149. package/dist-esm/src/credentials/workloadIdentityCredential.browser.js.map +1 -1
  150. package/dist-esm/src/credentials/workloadIdentityCredential.js +1 -1
  151. package/dist-esm/src/credentials/workloadIdentityCredential.js.map +1 -1
  152. package/dist-esm/src/credentials/workloadIdentityCredentialOptions.js +1 -1
  153. package/dist-esm/src/credentials/workloadIdentityCredentialOptions.js.map +1 -1
  154. package/dist-esm/src/errors.js +1 -1
  155. package/dist-esm/src/errors.js.map +1 -1
  156. package/dist-esm/src/index.js +1 -1
  157. package/dist-esm/src/index.js.map +1 -1
  158. package/dist-esm/src/msal/browserFlows/flows.js +1 -1
  159. package/dist-esm/src/msal/browserFlows/flows.js.map +1 -1
  160. package/dist-esm/src/msal/browserFlows/msalAuthCode.js +1 -1
  161. package/dist-esm/src/msal/browserFlows/msalAuthCode.js.map +1 -1
  162. package/dist-esm/src/msal/browserFlows/msalBrowserCommon.js +1 -1
  163. package/dist-esm/src/msal/browserFlows/msalBrowserCommon.js.map +1 -1
  164. package/dist-esm/src/msal/credentials.js +1 -1
  165. package/dist-esm/src/msal/credentials.js.map +1 -1
  166. package/dist-esm/src/msal/msal.browser.js +1 -1
  167. package/dist-esm/src/msal/msal.browser.js.map +1 -1
  168. package/dist-esm/src/msal/msal.js +1 -1
  169. package/dist-esm/src/msal/msal.js.map +1 -1
  170. package/dist-esm/src/msal/nodeFlows/brokerOptions.js.map +1 -1
  171. package/dist-esm/src/msal/nodeFlows/msalClient.js +1 -1
  172. package/dist-esm/src/msal/nodeFlows/msalClient.js.map +1 -1
  173. package/dist-esm/src/msal/nodeFlows/msalPlugins.js +1 -1
  174. package/dist-esm/src/msal/nodeFlows/msalPlugins.js.map +1 -1
  175. package/dist-esm/src/msal/nodeFlows/tokenCachePersistenceOptions.js +1 -1
  176. package/dist-esm/src/msal/nodeFlows/tokenCachePersistenceOptions.js.map +1 -1
  177. package/dist-esm/src/msal/types.js +1 -1
  178. package/dist-esm/src/msal/types.js.map +1 -1
  179. package/dist-esm/src/msal/utils.js +1 -1
  180. package/dist-esm/src/msal/utils.js.map +1 -1
  181. package/dist-esm/src/plugins/consumer.browser.js +1 -1
  182. package/dist-esm/src/plugins/consumer.browser.js.map +1 -1
  183. package/dist-esm/src/plugins/consumer.js +1 -1
  184. package/dist-esm/src/plugins/consumer.js.map +1 -1
  185. package/dist-esm/src/plugins/provider.js +1 -1
  186. package/dist-esm/src/plugins/provider.js.map +1 -1
  187. package/dist-esm/src/regionalAuthority.js +1 -1
  188. package/dist-esm/src/regionalAuthority.js.map +1 -1
  189. package/dist-esm/src/tokenCredentialOptions.js +1 -1
  190. package/dist-esm/src/tokenCredentialOptions.js.map +1 -1
  191. package/dist-esm/src/tokenProvider.js +1 -1
  192. package/dist-esm/src/tokenProvider.js.map +1 -1
  193. package/dist-esm/src/util/authHostEnv.browser.js +1 -1
  194. package/dist-esm/src/util/authHostEnv.browser.js.map +1 -1
  195. package/dist-esm/src/util/identityTokenEndpoint.js +1 -1
  196. package/dist-esm/src/util/identityTokenEndpoint.js.map +1 -1
  197. package/dist-esm/src/util/logging.js +1 -1
  198. package/dist-esm/src/util/logging.js.map +1 -1
  199. package/dist-esm/src/util/processMultiTenantRequest.browser.js +1 -1
  200. package/dist-esm/src/util/processMultiTenantRequest.browser.js.map +1 -1
  201. package/dist-esm/src/util/processMultiTenantRequest.js +1 -1
  202. package/dist-esm/src/util/processMultiTenantRequest.js.map +1 -1
  203. package/dist-esm/src/util/processUtils.js +1 -1
  204. package/dist-esm/src/util/processUtils.js.map +1 -1
  205. package/dist-esm/src/util/scopeUtils.js +1 -1
  206. package/dist-esm/src/util/scopeUtils.js.map +1 -1
  207. package/dist-esm/src/util/tenantIdUtils.js +1 -1
  208. package/dist-esm/src/util/tenantIdUtils.js.map +1 -1
  209. package/dist-esm/src/util/tracing.js +1 -1
  210. package/dist-esm/src/util/tracing.js.map +1 -1
  211. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -40,7 +40,7 @@ var msalCommon__namespace = /*#__PURE__*/_interopNamespaceDefault(msalCommon);
40
40
  var child_process__namespace = /*#__PURE__*/_interopNamespaceDefault(child_process);
41
41
 
42
42
  // Copyright (c) Microsoft Corporation.
43
- // Licensed under the MIT license.
43
+ // Licensed under the MIT License.
44
44
  /**
45
45
  * Current version of the `@azure/identity` package.
46
46
  */
@@ -107,7 +107,7 @@ const CACHE_NON_CAE_SUFFIX = "nocae";
107
107
  const DEFAULT_TOKEN_CACHE_NAME = "msal.cache";
108
108
 
109
109
  // Copyright (c) Microsoft Corporation.
110
- // Licensed under the MIT license.
110
+ // Licensed under the MIT License.
111
111
  /**
112
112
  * The current persistence provider, undefined by default.
113
113
  * @internal
@@ -190,7 +190,7 @@ const msalPlugins = {
190
190
  };
191
191
 
192
192
  // Copyright (c) Microsoft Corporation.
193
- // Licensed under the MIT license.
193
+ // Licensed under the MIT License.
194
194
  /**
195
195
  * The AzureLogger used for all clients within the identity package
196
196
  */
@@ -273,7 +273,7 @@ function credentialLogger(title, log = logger$l) {
273
273
  }
274
274
 
275
275
  // Copyright (c) Microsoft Corporation.
276
- // Licensed under the MIT license.
276
+ // Licensed under the MIT License.
277
277
  function isErrorResponse(errorResponse) {
278
278
  return (errorResponse &&
279
279
  typeof errorResponse.error === "string" &&
@@ -396,7 +396,7 @@ class AuthenticationRequiredError extends Error {
396
396
  }
397
397
 
398
398
  // Copyright (c) Microsoft Corporation.
399
- // Licensed under the MIT license.
399
+ // Licensed under the MIT License.
400
400
  function createConfigurationErrorMessage(tenantId) {
401
401
  return `The current credential is not configured to acquire tokens for tenant ${tenantId}. To enable acquiring tokens for this tenant add it to the AdditionallyAllowedTenants on the credential options, or add "*" to AdditionallyAllowedTenants to allow acquiring tokens for any tenant.`;
402
402
  }
@@ -430,7 +430,7 @@ function processMultiTenantRequest(tenantId, getTokenOptions, additionallyAllowe
430
430
  }
431
431
 
432
432
  // Copyright (c) Microsoft Corporation.
433
- // Licensed under the MIT license.
433
+ // Licensed under the MIT License.
434
434
  /**
435
435
  * @internal
436
436
  */
@@ -471,7 +471,7 @@ function resolveAdditionallyAllowedTenantIds(additionallyAllowedTenants) {
471
471
  }
472
472
 
473
473
  // Copyright (c) Microsoft Corporation.
474
- // Licensed under the MIT license.
474
+ // Licensed under the MIT License.
475
475
  function getIdentityTokenEndpointSuffix(tenantId) {
476
476
  if (tenantId === "adfs") {
477
477
  return "oauth2/token";
@@ -482,7 +482,7 @@ function getIdentityTokenEndpointSuffix(tenantId) {
482
482
  }
483
483
 
484
484
  // Copyright (c) Microsoft Corporation.
485
- // Licensed under the MIT license.
485
+ // Licensed under the MIT License.
486
486
  /**
487
487
  * Creates a span using the global tracer.
488
488
  * @internal
@@ -494,14 +494,14 @@ const tracingClient = coreTracing.createTracingClient({
494
494
  });
495
495
 
496
496
  // Copyright (c) Microsoft Corporation.
497
- // Licensed under the MIT license.
497
+ // Licensed under the MIT License.
498
498
  const DefaultScopeSuffix = "/.default";
499
499
  const imdsHost = "http://169.254.169.254";
500
500
  const imdsEndpointPath = "/metadata/identity/oauth2/token";
501
501
  const imdsApiVersion = "2018-02-01";
502
502
 
503
503
  // Copyright (c) Microsoft Corporation.
504
- // Licensed under the MIT license.
504
+ // Licensed under the MIT License.
505
505
  /**
506
506
  * Most MSIs send requests to the IMDS endpoint, or a similar endpoint.
507
507
  * These are GET requests that require sending a `resource` parameter on the query.
@@ -577,7 +577,7 @@ function parseRefreshTimestamp(body) {
577
577
  }
578
578
 
579
579
  // Copyright (c) Microsoft Corporation.
580
- // Licensed under the MIT license.
580
+ // Licensed under the MIT License.
581
581
  const noCorrelationId = "noCorrelationId";
582
582
  /**
583
583
  * @internal
@@ -815,7 +815,7 @@ class IdentityClient extends coreClient.ServiceClient {
815
815
  }
816
816
 
817
817
  // Copyright (c) Microsoft Corporation.
818
- // Licensed under the MIT license.
818
+ // Licensed under the MIT License.
819
819
  const CommonTenantId = "common";
820
820
  const AzureAccountClientId = "aebc6443-996d-45c2-90f0-388ff96faa56"; // VSC: 'aebc6443-996d-45c2-90f0-388ff96faa56'
821
821
  const logger$k = credentialLogger("VisualStudioCodeCredential");
@@ -996,7 +996,7 @@ class VisualStudioCodeCredential {
996
996
  }
997
997
 
998
998
  // Copyright (c) Microsoft Corporation.
999
- // Licensed under the MIT license.
999
+ // Licensed under the MIT License.
1000
1000
  /**
1001
1001
  * The context passed to an Identity plugin. This contains objects that
1002
1002
  * plugins can use to set backend implementations.
@@ -1039,7 +1039,7 @@ function useIdentityPlugin(plugin) {
1039
1039
  }
1040
1040
 
1041
1041
  // Copyright (c) Microsoft Corporation.
1042
- // Licensed under the MIT license.
1042
+ // Licensed under the MIT License.
1043
1043
  /**
1044
1044
  * @internal
1045
1045
  */
@@ -1241,7 +1241,7 @@ function deserializeAuthenticationRecord(serializedRecord) {
1241
1241
  }
1242
1242
 
1243
1243
  // Copyright (c) Microsoft Corporation.
1244
- // Licensed under the MIT license.
1244
+ // Licensed under the MIT License.
1245
1245
  const msiName$1 = "ManagedIdentityCredential - IMDS";
1246
1246
  const logger$i = credentialLogger(msiName$1);
1247
1247
  /**
@@ -1378,7 +1378,7 @@ const imdsMsi = {
1378
1378
  };
1379
1379
 
1380
1380
  // Copyright (c) Microsoft Corporation.
1381
- // Licensed under the MIT license.
1381
+ // Licensed under the MIT License.
1382
1382
  // Matches the default retry configuration in expontentialRetryStrategy.ts
1383
1383
  const DEFAULT_CLIENT_MAX_RETRY_INTERVAL = 1000 * 64;
1384
1384
  /**
@@ -1413,7 +1413,7 @@ function imdsRetryPolicy(msiRetryConfig) {
1413
1413
  }
1414
1414
 
1415
1415
  // Copyright (c) Microsoft Corporation.
1416
- // Licensed under the MIT license.
1416
+ // Licensed under the MIT License.
1417
1417
  /**
1418
1418
  * Helps specify a regional authority, or "AutoDiscoverRegion" to auto-detect the region.
1419
1419
  */
@@ -1553,7 +1553,7 @@ function calculateRegionalAuthority(regionalAuthority) {
1553
1553
  }
1554
1554
 
1555
1555
  // Copyright (c) Microsoft Corporation.
1556
- // Licensed under the MIT license.
1556
+ // Licensed under the MIT License.
1557
1557
  /**
1558
1558
  * The default logger used if no logger was passed in by the credential.
1559
1559
  */
@@ -2002,7 +2002,7 @@ To work with multiple accounts for the same Client ID and Tenant ID, please prov
2002
2002
  }
2003
2003
 
2004
2004
  // Copyright (c) Microsoft Corporation.
2005
- // Licensed under the MIT license.
2005
+ // Licensed under the MIT License.
2006
2006
  const logger$h = credentialLogger("ClientAssertionCredential");
2007
2007
  /**
2008
2008
  * Authenticates a service principal with a JWT assertion.
@@ -2052,7 +2052,7 @@ class ClientAssertionCredential {
2052
2052
  }
2053
2053
 
2054
2054
  // Copyright (c) Microsoft Corporation.
2055
- // Licensed under the MIT license.
2055
+ // Licensed under the MIT License.
2056
2056
  const credentialName$4 = "WorkloadIdentityCredential";
2057
2057
  /**
2058
2058
  * Contains the list of all supported environment variable names so that an
@@ -2161,7 +2161,7 @@ class WorkloadIdentityCredential {
2161
2161
  }
2162
2162
 
2163
2163
  // Copyright (c) Microsoft Corporation.
2164
- // Licensed under the MIT license.
2164
+ // Licensed under the MIT License.
2165
2165
  const msiName = "ManagedIdentityCredential - Token Exchange";
2166
2166
  const logger$f = credentialLogger(msiName);
2167
2167
  /**
@@ -2188,7 +2188,7 @@ const tokenExchangeMsi = {
2188
2188
  };
2189
2189
 
2190
2190
  // Copyright (c) Microsoft Corporation.
2191
- // Licensed under the MIT license.
2191
+ // Licensed under the MIT License.
2192
2192
  const logger$e = credentialLogger("ManagedIdentityCredential(MSAL)");
2193
2193
  class MsalMsiProvider {
2194
2194
  constructor(clientIdOrOptions, options = {}) {
@@ -2377,7 +2377,7 @@ function isNetworkError(err) {
2377
2377
  }
2378
2378
 
2379
2379
  // Copyright (c) Microsoft Corporation.
2380
- // Licensed under the MIT license.
2380
+ // Licensed under the MIT License.
2381
2381
  /**
2382
2382
  * Attempts authentication using a managed identity available at the deployment environment.
2383
2383
  * This authentication type works in Azure VMs, App Service instances, Azure Functions applications,
@@ -2413,7 +2413,7 @@ class ManagedIdentityCredential {
2413
2413
  }
2414
2414
 
2415
2415
  // Copyright (c) Microsoft Corporation.
2416
- // Licensed under the MIT license.
2416
+ // Licensed under the MIT License.
2417
2417
  /**
2418
2418
  * Ensures the scopes value is an array.
2419
2419
  * @internal
@@ -2441,7 +2441,7 @@ function getScopeResource(scope) {
2441
2441
  }
2442
2442
 
2443
2443
  // Copyright (c) Microsoft Corporation.
2444
- // Licensed under the MIT license.
2444
+ // Licensed under the MIT License.
2445
2445
  /**
2446
2446
  * Mockable reference to the CLI credential cliCredentialFunctions
2447
2447
  * @internal
@@ -2608,7 +2608,7 @@ class AzureCliCredential {
2608
2608
  }
2609
2609
 
2610
2610
  // Copyright (c) Microsoft Corporation.
2611
- // Licensed under the MIT license.
2611
+ // Licensed under the MIT License.
2612
2612
  /**
2613
2613
  * Mockable reference to the Developer CLI credential cliCredentialFunctions
2614
2614
  * @internal
@@ -2772,7 +2772,7 @@ class AzureDeveloperCliCredential {
2772
2772
  }
2773
2773
 
2774
2774
  // Copyright (c) Microsoft Corporation.
2775
- // Licensed under the MIT license.
2775
+ // Licensed under the MIT License.
2776
2776
  /**
2777
2777
  * Easy to mock childProcess utils.
2778
2778
  * @internal
@@ -2803,7 +2803,7 @@ const processUtils = {
2803
2803
  };
2804
2804
 
2805
2805
  // Copyright (c) Microsoft Corporation.
2806
- // Licensed under the MIT license.
2806
+ // Licensed under the MIT License.
2807
2807
  const logger$b = credentialLogger("AzurePowerShellCredential");
2808
2808
  const isWindows = process.platform === "win32";
2809
2809
  /**
@@ -3025,7 +3025,7 @@ async function parseJsonToken(result) {
3025
3025
  }
3026
3026
 
3027
3027
  // Copyright (c) Microsoft Corporation.
3028
- // Licensed under the MIT license.
3028
+ // Licensed under the MIT License.
3029
3029
  /**
3030
3030
  * @internal
3031
3031
  */
@@ -3104,7 +3104,7 @@ class ChainedTokenCredential {
3104
3104
  }
3105
3105
 
3106
3106
  // Copyright (c) Microsoft Corporation.
3107
- // Licensed under the MIT license.
3107
+ // Licensed under the MIT License.
3108
3108
  const credentialName$3 = "ClientCertificateCredential";
3109
3109
  const logger$9 = credentialLogger(credentialName$3);
3110
3110
  /**
@@ -3217,7 +3217,7 @@ async function parseCertificate(certificateConfiguration, sendCertificateChain)
3217
3217
  }
3218
3218
 
3219
3219
  // Copyright (c) Microsoft Corporation.
3220
- // Licensed under the MIT license.
3220
+ // Licensed under the MIT License.
3221
3221
  const logger$8 = credentialLogger("ClientSecretCredential");
3222
3222
  /**
3223
3223
  * Enables authentication to Microsoft Entra ID using a client secret
@@ -3271,7 +3271,7 @@ class ClientSecretCredential {
3271
3271
  }
3272
3272
 
3273
3273
  // Copyright (c) Microsoft Corporation.
3274
- // Licensed under the MIT license.
3274
+ // Licensed under the MIT License.
3275
3275
  const logger$7 = credentialLogger("UsernamePasswordCredential");
3276
3276
  /**
3277
3277
  * Enables authentication to Microsoft Entra ID with a user's
@@ -3332,7 +3332,7 @@ class UsernamePasswordCredential {
3332
3332
  }
3333
3333
 
3334
3334
  // Copyright (c) Microsoft Corporation.
3335
- // Licensed under the MIT license.
3335
+ // Licensed under the MIT License.
3336
3336
  /**
3337
3337
  * Contains the list of all supported environment variable names so that an
3338
3338
  * appropriate error message can be generated when no credentials can be
@@ -3455,7 +3455,7 @@ class EnvironmentCredential {
3455
3455
  }
3456
3456
 
3457
3457
  // Copyright (c) Microsoft Corporation.
3458
- // Licensed under the MIT license.
3458
+ // Licensed under the MIT License.
3459
3459
  const logger$5 = credentialLogger("DefaultAzureCredential");
3460
3460
  /**
3461
3461
  * Creates a {@link ManagedIdentityCredential} from the provided options.
@@ -3598,7 +3598,7 @@ class DefaultAzureCredential extends ChainedTokenCredential {
3598
3598
  }
3599
3599
 
3600
3600
  // Copyright (c) Microsoft Corporation.
3601
- // Licensed under the MIT license.
3601
+ // Licensed under the MIT License.
3602
3602
  const logger$4 = credentialLogger("InteractiveBrowserCredential");
3603
3603
  /**
3604
3604
  * Enables authentication to Microsoft Entra ID inside of the web browser
@@ -3683,7 +3683,7 @@ class InteractiveBrowserCredential {
3683
3683
  }
3684
3684
 
3685
3685
  // Copyright (c) Microsoft Corporation.
3686
- // Licensed under the MIT license.
3686
+ // Licensed under the MIT License.
3687
3687
  const logger$3 = credentialLogger("DeviceCodeCredential");
3688
3688
  /**
3689
3689
  * Method that logs the user code from the DeviceCodeCredential.
@@ -3766,7 +3766,7 @@ class DeviceCodeCredential {
3766
3766
  }
3767
3767
 
3768
3768
  // Copyright (c) Microsoft Corporation.
3769
- // Licensed under the MIT license.
3769
+ // Licensed under the MIT License.
3770
3770
  const credentialName$1 = "AzurePipelinesCredential";
3771
3771
  const logger$2 = credentialLogger(credentialName$1);
3772
3772
  const OIDC_API_VERSION = "7.1";
@@ -3890,7 +3890,7 @@ function handleOidcResponse(response) {
3890
3890
  }
3891
3891
 
3892
3892
  // Copyright (c) Microsoft Corporation.
3893
- // Licensed under the MIT license.
3893
+ // Licensed under the MIT License.
3894
3894
  const logger$1 = credentialLogger("AuthorizationCodeCredential");
3895
3895
  /**
3896
3896
  * Enables authentication to Microsoft Entra ID using an authorization code
@@ -3944,7 +3944,7 @@ class AuthorizationCodeCredential {
3944
3944
  }
3945
3945
 
3946
3946
  // Copyright (c) Microsoft Corporation.
3947
- // Licensed under the MIT license.
3947
+ // Licensed under the MIT License.
3948
3948
  const credentialName = "OnBehalfOfCredential";
3949
3949
  const logger = credentialLogger(credentialName);
3950
3950
  /**
@@ -4048,7 +4048,7 @@ class OnBehalfOfCredential {
4048
4048
  }
4049
4049
 
4050
4050
  // Copyright (c) Microsoft Corporation.
4051
- // Licensed under the MIT license.
4051
+ // Licensed under the MIT License.
4052
4052
  /**
4053
4053
  * Returns a callback that provides a bearer token.
4054
4054
  * For example, the bearer token can be used to authenticate a request as follows:
@@ -4099,7 +4099,7 @@ function getBearerTokenProvider(credential, scopes, options) {
4099
4099
  }
4100
4100
 
4101
4101
  // Copyright (c) Microsoft Corporation.
4102
- // Licensed under the MIT license.
4102
+ // Licensed under the MIT License.
4103
4103
  /**
4104
4104
  * Returns a new instance of the {@link DefaultAzureCredential}.
4105
4105
  */