@azure/identity 3.2.0-alpha.20230320.1 → 3.2.0-alpha.20230330.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @azure/identity might be problematic. Click here for more details.
- package/dist/index.js +105 -43
- package/dist/index.js.map +1 -1
- package/dist-esm/src/client/identityClient.js +3 -2
- package/dist-esm/src/client/identityClient.js.map +1 -1
- package/dist-esm/src/credentials/azureCliCredential.js +4 -3
- package/dist-esm/src/credentials/azureCliCredential.js.map +1 -1
- package/dist-esm/src/credentials/azureCliCredentialOptions.js.map +1 -1
- package/dist-esm/src/credentials/azureDeveloperCliCredential.js +8 -3
- package/dist-esm/src/credentials/azureDeveloperCliCredential.js.map +1 -1
- package/dist-esm/src/credentials/azureDeveloperCliCredentialOptions.js.map +1 -1
- package/dist-esm/src/credentials/azurePowerShellCredential.js +9 -5
- package/dist-esm/src/credentials/azurePowerShellCredential.js.map +1 -1
- package/dist-esm/src/credentials/azurePowerShellCredentialOptions.js.map +1 -1
- package/dist-esm/src/credentials/defaultAzureCredential.js +18 -3
- package/dist-esm/src/credentials/defaultAzureCredential.js.map +1 -1
- package/dist-esm/src/credentials/defaultAzureCredentialOptions.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2017.js +2 -1
- package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2017.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2019.js +2 -1
- package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2019.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/arcMsi.js +2 -1
- package/dist-esm/src/credentials/managedIdentityCredential/arcMsi.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/cloudShellMsi.js +2 -1
- package/dist-esm/src/credentials/managedIdentityCredential/cloudShellMsi.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/fabricMsi.js +2 -1
- package/dist-esm/src/credentials/managedIdentityCredential/fabricMsi.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/imdsMsi.js +2 -1
- package/dist-esm/src/credentials/managedIdentityCredential/imdsMsi.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/index.js +32 -21
- package/dist-esm/src/credentials/managedIdentityCredential/index.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/models.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/utils.js +20 -1
- package/dist-esm/src/credentials/managedIdentityCredential/utils.js.map +1 -1
- package/package.json +1 -1
- package/types/identity.d.ts +17 -0
package/types/identity.d.ts
CHANGED
|
@@ -229,6 +229,7 @@ export declare enum AzureAuthorityHosts {
|
|
|
229
229
|
export declare class AzureCliCredential implements TokenCredential {
|
|
230
230
|
private tenantId?;
|
|
231
231
|
private additionallyAllowedTenantIds;
|
|
232
|
+
private timeout?;
|
|
232
233
|
/**
|
|
233
234
|
* Creates an instance of the {@link AzureCliCredential}.
|
|
234
235
|
*
|
|
@@ -257,6 +258,10 @@ export declare interface AzureCliCredentialOptions extends MultiTenantTokenCrede
|
|
|
257
258
|
* Allows specifying a tenant ID
|
|
258
259
|
*/
|
|
259
260
|
tenantId?: string;
|
|
261
|
+
/**
|
|
262
|
+
* Timeout configurable for making token requests, provided in milliseconds
|
|
263
|
+
*/
|
|
264
|
+
processTimeoutInMs?: number;
|
|
260
265
|
}
|
|
261
266
|
|
|
262
267
|
/**
|
|
@@ -267,6 +272,7 @@ export declare interface AzureCliCredentialOptions extends MultiTenantTokenCrede
|
|
|
267
272
|
export declare class AzurePowerShellCredential implements TokenCredential {
|
|
268
273
|
private tenantId?;
|
|
269
274
|
private additionallyAllowedTenantIds;
|
|
275
|
+
private timeout?;
|
|
270
276
|
/**
|
|
271
277
|
* Creates an instance of the {@link AzurePowerShellCredential}.
|
|
272
278
|
*
|
|
@@ -302,6 +308,10 @@ export declare interface AzurePowerShellCredentialOptions extends MultiTenantTok
|
|
|
302
308
|
* Allows specifying a tenant ID
|
|
303
309
|
*/
|
|
304
310
|
tenantId?: string;
|
|
311
|
+
/**
|
|
312
|
+
* Timeout configurable for making token requests, provided in milliseconds
|
|
313
|
+
*/
|
|
314
|
+
processTimeoutInMs?: number;
|
|
305
315
|
}
|
|
306
316
|
|
|
307
317
|
/**
|
|
@@ -673,6 +683,12 @@ export declare interface DefaultAzureCredentialOptions extends MultiTenantTokenC
|
|
|
673
683
|
* By default it may use a generic tenant ID depending on the underlying credential.
|
|
674
684
|
*/
|
|
675
685
|
tenantId?: string;
|
|
686
|
+
/**
|
|
687
|
+
* Timeout configurable for making token requests for developer credentials, namely, {@link AzurePowershellCredential},
|
|
688
|
+
* {@link AzureDeveloperCliCredential} and {@link AzureCliCredential}.
|
|
689
|
+
* This should be provided in milliseconds.
|
|
690
|
+
*/
|
|
691
|
+
developerCredentialTimeOutInMs?: number;
|
|
676
692
|
}
|
|
677
693
|
|
|
678
694
|
/**
|
|
@@ -1060,6 +1076,7 @@ export declare class ManagedIdentityCredential implements TokenCredential {
|
|
|
1060
1076
|
private isEndpointUnavailable;
|
|
1061
1077
|
private isAvailableIdentityClient;
|
|
1062
1078
|
private confidentialApp;
|
|
1079
|
+
private isAppTokenProviderInitialized;
|
|
1063
1080
|
/**
|
|
1064
1081
|
* Creates an instance of ManagedIdentityCredential with the client ID of a
|
|
1065
1082
|
* user-assigned identity, or app registration (when working with AKS pod-identity).
|