@azure/identity 4.5.1-alpha.20250115.7 → 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -5
- package/dist/index.js +4211 -0
- package/dist/index.js.map +1 -0
- package/{dist/esm → dist-esm/src}/client/identityClient.js +7 -7
- package/dist-esm/src/client/identityClient.js.map +1 -0
- package/{dist/esm → dist-esm/src}/constants.js +2 -10
- package/dist-esm/src/constants.js.map +1 -0
- package/{dist/browser/credentials/authorizationCodeCredential.js → dist-esm/src/credentials/authorizationCodeCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/authorizationCodeCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/authorizationCodeCredential.js +6 -6
- package/dist-esm/src/credentials/authorizationCodeCredential.js.map +1 -0
- package/dist-esm/src/credentials/authorizationCodeCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/azureApplicationCredential.js → dist-esm/src/credentials/azureApplicationCredential.browser.js} +3 -3
- package/dist-esm/src/credentials/azureApplicationCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/azureApplicationCredential.js +2 -2
- package/dist-esm/src/credentials/azureApplicationCredential.js.map +1 -0
- package/dist-esm/src/credentials/azureApplicationCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/azureCliCredential.js → dist-esm/src/credentials/azureCliCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/azureCliCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/azureCliCredential.js +10 -24
- package/dist-esm/src/credentials/azureCliCredential.js.map +1 -0
- package/dist-esm/src/credentials/azureCliCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/azureDeveloperCliCredential.js → dist-esm/src/credentials/azureDeveloperCliCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/azureDeveloperCliCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/azureDeveloperCliCredential.js +8 -8
- package/dist-esm/src/credentials/azureDeveloperCliCredential.js.map +1 -0
- package/dist-esm/src/credentials/azureDeveloperCliCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/azurePipelinesCredential.js → dist-esm/src/credentials/azurePipelinesCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/azurePipelinesCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/azurePipelinesCredential.js +5 -5
- package/dist-esm/src/credentials/azurePipelinesCredential.js.map +1 -0
- package/dist-esm/src/credentials/azurePipelinesCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/azurePowerShellCredential.js → dist-esm/src/credentials/azurePowerShellCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/azurePowerShellCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/azurePowerShellCredential.js +6 -6
- package/dist-esm/src/credentials/azurePowerShellCredential.js.map +1 -0
- package/dist-esm/src/credentials/azurePowerShellCredentialOptions.js.map +1 -0
- package/dist-esm/src/credentials/brokerAuthOptions.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/chainedTokenCredential.js +5 -8
- package/dist-esm/src/credentials/chainedTokenCredential.js.map +1 -0
- package/{dist/browser/credentials/clientAssertionCredential.js → dist-esm/src/credentials/clientAssertionCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/clientAssertionCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/clientAssertionCredential.js +5 -5
- package/dist-esm/src/credentials/clientAssertionCredential.js.map +1 -0
- package/dist-esm/src/credentials/clientAssertionCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/clientCertificateCredential.js → dist-esm/src/credentials/clientCertificateCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/clientCertificateCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/clientCertificateCredential.js +9 -12
- package/dist-esm/src/credentials/clientCertificateCredential.js.map +1 -0
- package/dist-esm/src/credentials/clientCertificateCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/clientSecretCredential.js → dist-esm/src/credentials/clientSecretCredential.browser.js} +6 -6
- package/dist-esm/src/credentials/clientSecretCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/clientSecretCredential.js +6 -6
- package/dist-esm/src/credentials/clientSecretCredential.js.map +1 -0
- package/dist-esm/src/credentials/clientSecretCredentialOptions.js.map +1 -0
- package/dist-esm/src/credentials/credentialPersistenceOptions.js.map +1 -0
- package/{dist/browser/credentials/defaultAzureCredential.js → dist-esm/src/credentials/defaultAzureCredential.browser.js} +3 -3
- package/dist-esm/src/credentials/defaultAzureCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/defaultAzureCredential.js +10 -23
- package/dist-esm/src/credentials/defaultAzureCredential.js.map +1 -0
- package/dist-esm/src/credentials/defaultAzureCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/deviceCodeCredential.js → dist-esm/src/credentials/deviceCodeCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/deviceCodeCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/deviceCodeCredential.js +6 -6
- package/dist-esm/src/credentials/deviceCodeCredential.js.map +1 -0
- package/dist-esm/src/credentials/deviceCodeCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/environmentCredential.js → dist-esm/src/credentials/environmentCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/environmentCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/environmentCredential.js +7 -7
- package/dist-esm/src/credentials/environmentCredential.js.map +1 -0
- package/dist-esm/src/credentials/environmentCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/interactiveBrowserCredential.js → dist-esm/src/credentials/interactiveBrowserCredential.browser.js} +6 -6
- package/dist-esm/src/credentials/interactiveBrowserCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/interactiveBrowserCredential.js +6 -6
- package/{dist/commonjs → dist-esm/src}/credentials/interactiveBrowserCredential.js.map +1 -1
- package/dist-esm/src/credentials/interactiveBrowserCredentialOptions.js.map +1 -0
- package/dist-esm/src/credentials/interactiveCredentialOptions.js.map +1 -0
- package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2017.js +71 -0
- package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2017.js.map +1 -0
- package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2019.js +71 -0
- package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2019.js.map +1 -0
- package/dist-esm/src/credentials/managedIdentityCredential/arcMsi.js +140 -0
- package/dist-esm/src/credentials/managedIdentityCredential/arcMsi.js.map +1 -0
- package/dist-esm/src/credentials/managedIdentityCredential/cloudShellMsi.js +75 -0
- package/dist-esm/src/credentials/managedIdentityCredential/cloudShellMsi.js.map +1 -0
- package/dist-esm/src/credentials/managedIdentityCredential/constants.js +9 -0
- package/dist-esm/src/credentials/managedIdentityCredential/constants.js.map +1 -0
- package/dist-esm/src/credentials/managedIdentityCredential/fabricMsi.js +95 -0
- package/dist-esm/src/credentials/managedIdentityCredential/fabricMsi.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/managedIdentityCredential/imdsMsi.js +38 -16
- package/dist-esm/src/credentials/managedIdentityCredential/imdsMsi.js.map +1 -0
- package/dist-esm/src/credentials/managedIdentityCredential/imdsRetryPolicy.js.map +1 -0
- package/{dist/browser/credentials/managedIdentityCredential/index.js → dist-esm/src/credentials/managedIdentityCredential/index.browser.js} +2 -2
- package/dist-esm/src/credentials/managedIdentityCredential/index.browser.js.map +1 -0
- package/dist-esm/src/credentials/managedIdentityCredential/index.js +37 -0
- package/dist-esm/src/credentials/managedIdentityCredential/index.js.map +1 -0
- package/dist-esm/src/credentials/managedIdentityCredential/legacyMsiProvider.js +309 -0
- package/dist-esm/src/credentials/managedIdentityCredential/legacyMsiProvider.js.map +1 -0
- package/dist-esm/src/credentials/managedIdentityCredential/models.js.map +1 -0
- package/{dist/esm/credentials/managedIdentityCredential/index.js → dist-esm/src/credentials/managedIdentityCredential/msalMsiProvider.js} +26 -31
- package/dist-esm/src/credentials/managedIdentityCredential/msalMsiProvider.js.map +1 -0
- package/{dist/browser → dist-esm/src}/credentials/managedIdentityCredential/tokenExchangeMsi.js +3 -6
- package/dist-esm/src/credentials/managedIdentityCredential/tokenExchangeMsi.js.map +1 -0
- package/{dist/browser → dist-esm/src}/credentials/managedIdentityCredential/utils.js +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/utils.js.map +1 -0
- package/dist-esm/src/credentials/multiTenantTokenCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/onBehalfOfCredential.js → dist-esm/src/credentials/onBehalfOfCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/onBehalfOfCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/onBehalfOfCredential.js +6 -6
- package/dist-esm/src/credentials/onBehalfOfCredential.js.map +1 -0
- package/dist-esm/src/credentials/onBehalfOfCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/usernamePasswordCredential.js → dist-esm/src/credentials/usernamePasswordCredential.browser.js} +6 -6
- package/dist-esm/src/credentials/usernamePasswordCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/usernamePasswordCredential.js +6 -6
- package/dist-esm/src/credentials/usernamePasswordCredential.js.map +1 -0
- package/dist-esm/src/credentials/usernamePasswordCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/visualStudioCodeCredential.js → dist-esm/src/credentials/visualStudioCodeCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/visualStudioCodeCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/visualStudioCodeCredential.js +9 -9
- package/dist-esm/src/credentials/visualStudioCodeCredential.js.map +1 -0
- package/dist-esm/src/credentials/visualStudioCodeCredentialOptions.js.map +1 -0
- package/{dist/browser/credentials/workloadIdentityCredential.js → dist-esm/src/credentials/workloadIdentityCredential.browser.js} +2 -2
- package/dist-esm/src/credentials/workloadIdentityCredential.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/credentials/workloadIdentityCredential.js +5 -5
- package/dist-esm/src/credentials/workloadIdentityCredential.js.map +1 -0
- package/dist-esm/src/credentials/workloadIdentityCredentialOptions.js.map +1 -0
- package/dist-esm/src/errors.js.map +1 -0
- package/{dist/browser → dist-esm/src}/index.js +25 -25
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/msal/browserFlows/flows.js.map +1 -0
- package/{dist/esm → dist-esm/src}/msal/browserFlows/msalAuthCode.js +3 -3
- package/dist-esm/src/msal/browserFlows/msalAuthCode.js.map +1 -0
- package/{dist/browser → dist-esm/src}/msal/browserFlows/msalBrowserCommon.js +5 -5
- package/dist-esm/src/msal/browserFlows/msalBrowserCommon.js.map +1 -0
- package/dist-esm/src/msal/credentials.js.map +1 -0
- package/{dist/browser/msal/msal.js → dist-esm/src/msal/msal.browser.js} +1 -1
- package/dist-esm/src/msal/msal.browser.js.map +1 -0
- package/{dist/browser → dist-esm/src}/msal/nodeFlows/msalClient.js +16 -9
- package/dist-esm/src/msal/nodeFlows/msalClient.js.map +1 -0
- package/{dist/browser → dist-esm/src}/msal/nodeFlows/msalPlugins.js +1 -1
- package/dist-esm/src/msal/nodeFlows/msalPlugins.js.map +1 -0
- package/{dist/browser → dist-esm/src}/msal/types.js.map +1 -1
- package/{dist/browser → dist-esm/src}/msal/utils.js +8 -14
- package/dist-esm/src/msal/utils.js.map +1 -0
- package/{dist/browser/plugins/consumer.js → dist-esm/src/plugins/consumer.browser.js} +1 -1
- package/dist-esm/src/plugins/consumer.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/plugins/consumer.js +2 -2
- package/dist-esm/src/plugins/consumer.js.map +1 -0
- package/dist-esm/src/plugins/provider.js.map +1 -0
- package/dist-esm/src/tokenCredentialOptions.js.map +1 -0
- package/{dist/browser → dist-esm/src}/tokenProvider.js +0 -1
- package/dist-esm/src/tokenProvider.js.map +1 -0
- package/{dist/esm/util/authHostEnv-browser.mjs → dist-esm/src/util/authHostEnv.browser.js} +1 -1
- package/dist-esm/src/util/authHostEnv.browser.js.map +1 -0
- package/dist-esm/src/util/logging.js.map +1 -0
- package/{dist/browser/util/processMultiTenantRequest.js → dist-esm/src/util/processMultiTenantRequest.browser.js} +1 -1
- package/dist-esm/src/util/processMultiTenantRequest.browser.js.map +1 -0
- package/{dist/esm → dist-esm/src}/util/processMultiTenantRequest.js +2 -2
- package/{dist/commonjs → dist-esm/src}/util/processMultiTenantRequest.js.map +1 -1
- package/{dist/browser → dist-esm/src}/util/scopeUtils.js +1 -1
- package/dist-esm/src/util/scopeUtils.js.map +1 -0
- package/{dist/esm → dist-esm/src}/util/tenantIdUtils.js +3 -3
- package/dist-esm/src/util/tenantIdUtils.js.map +1 -0
- package/{dist/browser → dist-esm/src}/util/tracing.js +1 -1
- package/dist-esm/src/util/tracing.js.map +1 -0
- package/package.json +79 -65
- package/types/identity.d.ts +1853 -0
- package/dist/browser/client/identityClient.d.ts +0 -65
- package/dist/browser/client/identityClient.d.ts.map +0 -1
- package/dist/browser/client/identityClient.js +0 -248
- package/dist/browser/client/identityClient.js.map +0 -1
- package/dist/browser/constants.d.ts +0 -69
- package/dist/browser/constants.d.ts.map +0 -1
- package/dist/browser/constants.js +0 -75
- package/dist/browser/constants.js.map +0 -1
- package/dist/browser/credentials/authorityValidationOptions.d.ts +0 -16
- package/dist/browser/credentials/authorityValidationOptions.d.ts.map +0 -1
- package/dist/browser/credentials/authorizationCodeCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/authorizationCodeCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/authorizationCodeCredential.d.ts +0 -11
- package/dist/browser/credentials/authorizationCodeCredentialOptions.d.ts +0 -8
- package/dist/browser/credentials/authorizationCodeCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/authorizationCodeCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/azureApplicationCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/azureApplicationCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/azureApplicationCredential.d.ts +0 -24
- package/dist/browser/credentials/azureApplicationCredentialOptions.d.ts +0 -13
- package/dist/browser/credentials/azureApplicationCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/azureApplicationCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/azureCliCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/azureCliCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/azureCliCredential.d.ts +0 -13
- package/dist/browser/credentials/azureCliCredentialOptions.d.ts +0 -20
- package/dist/browser/credentials/azureCliCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/azureCliCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/azureDeveloperCliCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/azureDeveloperCliCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/azureDeveloperCliCredential.d.ts +0 -13
- package/dist/browser/credentials/azureDeveloperCliCredentialOptions.d.ts +0 -15
- package/dist/browser/credentials/azureDeveloperCliCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/azureDeveloperCliCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/azurePipelinesCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/azurePipelinesCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/azurePipelinesCredential.d.ts +0 -13
- package/dist/browser/credentials/azurePipelinesCredentialOptions.d.ts +0 -9
- package/dist/browser/credentials/azurePipelinesCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/azurePipelinesCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/azurePowerShellCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/azurePowerShellCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/azurePowerShellCredential.d.ts +0 -12
- package/dist/browser/credentials/azurePowerShellCredentialOptions.d.ts +0 -15
- package/dist/browser/credentials/azurePowerShellCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/azurePowerShellCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/brokerAuthOptions.d.ts +0 -13
- package/dist/browser/credentials/brokerAuthOptions.d.ts.map +0 -1
- package/dist/browser/credentials/brokerAuthOptions.js.map +0 -1
- package/dist/browser/credentials/browserCustomizationOptions.d.ts +0 -19
- package/dist/browser/credentials/browserCustomizationOptions.d.ts.map +0 -1
- package/dist/browser/credentials/chainedTokenCredential.d.ts +0 -51
- package/dist/browser/credentials/chainedTokenCredential.d.ts.map +0 -1
- package/dist/browser/credentials/chainedTokenCredential.js +0 -92
- package/dist/browser/credentials/chainedTokenCredential.js.map +0 -1
- package/dist/browser/credentials/clientAssertionCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/clientAssertionCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/clientAssertionCredential.d.ts +0 -12
- package/dist/browser/credentials/clientAssertionCredentialOptions.d.ts +0 -9
- package/dist/browser/credentials/clientAssertionCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/clientAssertionCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/clientCertificateCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/clientCertificateCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/clientCertificateCredential.d.ts +0 -13
- package/dist/browser/credentials/clientCertificateCredentialModels.d.ts +0 -31
- package/dist/browser/credentials/clientCertificateCredentialModels.d.ts.map +0 -1
- package/dist/browser/credentials/clientCertificateCredentialModels.js +0 -4
- package/dist/browser/credentials/clientCertificateCredentialModels.js.map +0 -1
- package/dist/browser/credentials/clientCertificateCredentialOptions.d.ts +0 -14
- package/dist/browser/credentials/clientCertificateCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/clientCertificateCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/clientSecretCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/clientSecretCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/clientSecretCredential.d.ts +0 -40
- package/dist/browser/credentials/clientSecretCredentialOptions.d.ts +0 -9
- package/dist/browser/credentials/clientSecretCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/clientSecretCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/credentialPersistenceOptions.d.ts +0 -30
- package/dist/browser/credentials/credentialPersistenceOptions.d.ts.map +0 -1
- package/dist/browser/credentials/credentialPersistenceOptions.js.map +0 -1
- package/dist/browser/credentials/defaultAzureCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/defaultAzureCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/defaultAzureCredential.d.ts +0 -19
- package/dist/browser/credentials/defaultAzureCredentialOptions.d.ts +0 -49
- package/dist/browser/credentials/defaultAzureCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/defaultAzureCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/deviceCodeCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/deviceCodeCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/deviceCodeCredential.d.ts +0 -13
- package/dist/browser/credentials/deviceCodeCredentialOptions.d.ts +0 -53
- package/dist/browser/credentials/deviceCodeCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/deviceCodeCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/environmentCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/environmentCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/environmentCredential.d.ts +0 -13
- package/dist/browser/credentials/environmentCredentialOptions.d.ts +0 -9
- package/dist/browser/credentials/environmentCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/environmentCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/interactiveBrowserCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/interactiveBrowserCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/interactiveBrowserCredential.d.ts +0 -53
- package/dist/browser/credentials/interactiveBrowserCredentialOptions.d.ts +0 -77
- package/dist/browser/credentials/interactiveBrowserCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/interactiveBrowserCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/interactiveCredentialOptions.d.ts +0 -25
- package/dist/browser/credentials/interactiveCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/interactiveCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/imdsMsi.d.ts +0 -18
- package/dist/browser/credentials/managedIdentityCredential/imdsMsi.d.ts.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/imdsMsi.js +0 -122
- package/dist/browser/credentials/managedIdentityCredential/imdsMsi.js.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts +0 -12
- package/dist/browser/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/imdsRetryPolicy.js.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/index-browser.d.mts.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/index-browser.mjs.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/index.d.ts +0 -6
- package/dist/browser/credentials/managedIdentityCredential/models.d.ts +0 -24
- package/dist/browser/credentials/managedIdentityCredential/models.d.ts.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/models.js.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/options.d.ts +0 -37
- package/dist/browser/credentials/managedIdentityCredential/options.d.ts.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/options.js +0 -4
- package/dist/browser/credentials/managedIdentityCredential/options.js.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts +0 -14
- package/dist/browser/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/tokenExchangeMsi.js.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/utils.d.ts +0 -33
- package/dist/browser/credentials/managedIdentityCredential/utils.d.ts.map +0 -1
- package/dist/browser/credentials/managedIdentityCredential/utils.js.map +0 -1
- package/dist/browser/credentials/multiTenantTokenCredentialOptions.d.ts +0 -12
- package/dist/browser/credentials/multiTenantTokenCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/multiTenantTokenCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/onBehalfOfCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/onBehalfOfCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/onBehalfOfCredential.d.ts +0 -12
- package/dist/browser/credentials/onBehalfOfCredentialOptions.d.ts +0 -76
- package/dist/browser/credentials/onBehalfOfCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/onBehalfOfCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/usernamePasswordCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/usernamePasswordCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/usernamePasswordCredential.d.ts +0 -40
- package/dist/browser/credentials/usernamePasswordCredentialOptions.d.ts +0 -9
- package/dist/browser/credentials/usernamePasswordCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/usernamePasswordCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/visualStudioCodeCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/visualStudioCodeCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/visualStudioCodeCredential.d.ts +0 -15
- package/dist/browser/credentials/visualStudioCodeCredentialOptions.d.ts +0 -11
- package/dist/browser/credentials/visualStudioCodeCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/visualStudioCodeCredentialOptions.js.map +0 -1
- package/dist/browser/credentials/visualStudioCodeCredentialPlugin.d.ts +0 -11
- package/dist/browser/credentials/visualStudioCodeCredentialPlugin.d.ts.map +0 -1
- package/dist/browser/credentials/workloadIdentityCredential-browser.d.mts.map +0 -1
- package/dist/browser/credentials/workloadIdentityCredential-browser.mjs.map +0 -1
- package/dist/browser/credentials/workloadIdentityCredential.d.ts +0 -17
- package/dist/browser/credentials/workloadIdentityCredentialOptions.d.ts +0 -20
- package/dist/browser/credentials/workloadIdentityCredentialOptions.d.ts.map +0 -1
- package/dist/browser/credentials/workloadIdentityCredentialOptions.js.map +0 -1
- package/dist/browser/errors.d.ts +0 -139
- package/dist/browser/errors.d.ts.map +0 -1
- package/dist/browser/errors.js.map +0 -1
- package/dist/browser/index.d.ts +0 -61
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.js.map +0 -1
- package/dist/browser/msal/browserFlows/flows.d.ts +0 -42
- package/dist/browser/msal/browserFlows/flows.d.ts.map +0 -1
- package/dist/browser/msal/browserFlows/flows.js.map +0 -1
- package/dist/browser/msal/browserFlows/msalAuthCode.d.ts +0 -48
- package/dist/browser/msal/browserFlows/msalAuthCode.d.ts.map +0 -1
- package/dist/browser/msal/browserFlows/msalAuthCode.js +0 -203
- package/dist/browser/msal/browserFlows/msalAuthCode.js.map +0 -1
- package/dist/browser/msal/browserFlows/msalBrowserCommon.d.ts +0 -106
- package/dist/browser/msal/browserFlows/msalBrowserCommon.d.ts.map +0 -1
- package/dist/browser/msal/browserFlows/msalBrowserCommon.js.map +0 -1
- package/dist/browser/msal/credentials.d.ts +0 -52
- package/dist/browser/msal/credentials.d.ts.map +0 -1
- package/dist/browser/msal/credentials.js.map +0 -1
- package/dist/browser/msal/msal-browser.d.mts.map +0 -1
- package/dist/browser/msal/msal-browser.mjs.map +0 -1
- package/dist/browser/msal/msal.d.ts +0 -3
- package/dist/browser/msal/nodeFlows/brokerOptions.d.ts +0 -44
- package/dist/browser/msal/nodeFlows/brokerOptions.d.ts.map +0 -1
- package/dist/browser/msal/nodeFlows/msalClient.d.ts +0 -186
- package/dist/browser/msal/nodeFlows/msalClient.d.ts.map +0 -1
- package/dist/browser/msal/nodeFlows/msalClient.js.map +0 -1
- package/dist/browser/msal/nodeFlows/msalPlugins.d.ts +0 -91
- package/dist/browser/msal/nodeFlows/msalPlugins.d.ts.map +0 -1
- package/dist/browser/msal/nodeFlows/msalPlugins.js.map +0 -1
- package/dist/browser/msal/nodeFlows/tokenCachePersistenceOptions.d.ts +0 -24
- package/dist/browser/msal/nodeFlows/tokenCachePersistenceOptions.d.ts.map +0 -1
- package/dist/browser/msal/types.d.ts +0 -87
- package/dist/browser/msal/types.d.ts.map +0 -1
- package/dist/browser/msal/utils.d.ts +0 -95
- package/dist/browser/msal/utils.d.ts.map +0 -1
- package/dist/browser/msal/utils.js.map +0 -1
- package/dist/browser/package.json +0 -3
- package/dist/browser/plugins/consumer-browser.d.mts.map +0 -1
- package/dist/browser/plugins/consumer-browser.mjs.map +0 -1
- package/dist/browser/plugins/consumer.d.ts +0 -2
- package/dist/browser/plugins/provider.d.ts +0 -36
- package/dist/browser/plugins/provider.d.ts.map +0 -1
- package/dist/browser/plugins/provider.js.map +0 -1
- package/dist/browser/regionalAuthority.d.ts +0 -122
- package/dist/browser/regionalAuthority.d.ts.map +0 -1
- package/dist/browser/tokenCredentialOptions.d.ts +0 -28
- package/dist/browser/tokenCredentialOptions.d.ts.map +0 -1
- package/dist/browser/tokenCredentialOptions.js.map +0 -1
- package/dist/browser/tokenProvider.d.ts +0 -39
- package/dist/browser/tokenProvider.d.ts.map +0 -1
- package/dist/browser/tokenProvider.js.map +0 -1
- package/dist/browser/util/authHostEnv-browser.d.mts +0 -4
- package/dist/browser/util/authHostEnv-browser.d.mts.map +0 -1
- package/dist/browser/util/authHostEnv-browser.mjs +0 -7
- package/dist/browser/util/authHostEnv-browser.mjs.map +0 -1
- package/dist/browser/util/identityTokenEndpoint.d.ts +0 -2
- package/dist/browser/util/identityTokenEndpoint.d.ts.map +0 -1
- package/dist/browser/util/logging.d.ts +0 -70
- package/dist/browser/util/logging.d.ts.map +0 -1
- package/dist/browser/util/logging.js.map +0 -1
- package/dist/browser/util/processMultiTenantRequest-browser.d.mts.map +0 -1
- package/dist/browser/util/processMultiTenantRequest-browser.mjs.map +0 -1
- package/dist/browser/util/processMultiTenantRequest.d.ts +0 -9
- package/dist/browser/util/processUtils.d.ts +0 -13
- package/dist/browser/util/processUtils.d.ts.map +0 -1
- package/dist/browser/util/scopeUtils.d.ts +0 -17
- package/dist/browser/util/scopeUtils.d.ts.map +0 -1
- package/dist/browser/util/scopeUtils.js.map +0 -1
- package/dist/browser/util/subscriptionUtils.d.ts +0 -6
- package/dist/browser/util/subscriptionUtils.d.ts.map +0 -1
- package/dist/browser/util/subscriptionUtils.js +0 -14
- package/dist/browser/util/subscriptionUtils.js.map +0 -1
- package/dist/browser/util/tenantIdUtils.d.ts +0 -15
- package/dist/browser/util/tenantIdUtils.d.ts.map +0 -1
- package/dist/browser/util/tenantIdUtils.js +0 -44
- package/dist/browser/util/tenantIdUtils.js.map +0 -1
- package/dist/browser/util/tracing.d.ts +0 -6
- package/dist/browser/util/tracing.d.ts.map +0 -1
- package/dist/browser/util/tracing.js.map +0 -1
- package/dist/commonjs/client/identityClient.d.ts +0 -65
- package/dist/commonjs/client/identityClient.d.ts.map +0 -1
- package/dist/commonjs/client/identityClient.js +0 -253
- package/dist/commonjs/client/identityClient.js.map +0 -1
- package/dist/commonjs/constants.d.ts +0 -69
- package/dist/commonjs/constants.d.ts.map +0 -1
- package/dist/commonjs/constants.js +0 -78
- package/dist/commonjs/constants.js.map +0 -1
- package/dist/commonjs/credentials/authorityValidationOptions.d.ts +0 -16
- package/dist/commonjs/credentials/authorityValidationOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/authorityValidationOptions.js +0 -5
- package/dist/commonjs/credentials/authorityValidationOptions.js.map +0 -1
- package/dist/commonjs/credentials/authorizationCodeCredential.d.ts +0 -73
- package/dist/commonjs/credentials/authorizationCodeCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/authorizationCodeCredential.js +0 -64
- package/dist/commonjs/credentials/authorizationCodeCredential.js.map +0 -1
- package/dist/commonjs/credentials/authorizationCodeCredentialOptions.d.ts +0 -8
- package/dist/commonjs/credentials/authorizationCodeCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/authorizationCodeCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/authorizationCodeCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/azureApplicationCredential.d.ts +0 -24
- package/dist/commonjs/credentials/azureApplicationCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/azureApplicationCredential.js +0 -36
- package/dist/commonjs/credentials/azureApplicationCredential.js.map +0 -1
- package/dist/commonjs/credentials/azureApplicationCredentialOptions.d.ts +0 -13
- package/dist/commonjs/credentials/azureApplicationCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/azureApplicationCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/azureApplicationCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/azureCliCredential.d.ts +0 -64
- package/dist/commonjs/credentials/azureCliCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/azureCliCredential.js +0 -194
- package/dist/commonjs/credentials/azureCliCredential.js.map +0 -1
- package/dist/commonjs/credentials/azureCliCredentialOptions.d.ts +0 -20
- package/dist/commonjs/credentials/azureCliCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/azureCliCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/azureCliCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/azureDeveloperCliCredential.d.ts +0 -71
- package/dist/commonjs/credentials/azureDeveloperCliCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/azureDeveloperCliCredential.js +0 -176
- package/dist/commonjs/credentials/azureDeveloperCliCredential.js.map +0 -1
- package/dist/commonjs/credentials/azureDeveloperCliCredentialOptions.d.ts +0 -15
- package/dist/commonjs/credentials/azureDeveloperCliCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/azureDeveloperCliCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/azureDeveloperCliCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/azurePipelinesCredential.d.ts +0 -38
- package/dist/commonjs/credentials/azurePipelinesCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/azurePipelinesCredential.js +0 -146
- package/dist/commonjs/credentials/azurePipelinesCredential.js.map +0 -1
- package/dist/commonjs/credentials/azurePipelinesCredentialOptions.d.ts +0 -9
- package/dist/commonjs/credentials/azurePipelinesCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/azurePipelinesCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/azurePipelinesCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/azurePowerShellCredential.d.ts +0 -75
- package/dist/commonjs/credentials/azurePowerShellCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/azurePowerShellCredential.js +0 -235
- package/dist/commonjs/credentials/azurePowerShellCredential.js.map +0 -1
- package/dist/commonjs/credentials/azurePowerShellCredentialOptions.d.ts +0 -15
- package/dist/commonjs/credentials/azurePowerShellCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/azurePowerShellCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/azurePowerShellCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/brokerAuthOptions.d.ts +0 -13
- package/dist/commonjs/credentials/brokerAuthOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/brokerAuthOptions.js +0 -3
- package/dist/commonjs/credentials/brokerAuthOptions.js.map +0 -1
- package/dist/commonjs/credentials/browserCustomizationOptions.d.ts +0 -19
- package/dist/commonjs/credentials/browserCustomizationOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/browserCustomizationOptions.js +0 -5
- package/dist/commonjs/credentials/browserCustomizationOptions.js.map +0 -1
- package/dist/commonjs/credentials/chainedTokenCredential.d.ts +0 -51
- package/dist/commonjs/credentials/chainedTokenCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/chainedTokenCredential.js +0 -96
- package/dist/commonjs/credentials/chainedTokenCredential.js.map +0 -1
- package/dist/commonjs/credentials/clientAssertionCredential.d.ts +0 -33
- package/dist/commonjs/credentials/clientAssertionCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/clientAssertionCredential.js +0 -59
- package/dist/commonjs/credentials/clientAssertionCredential.js.map +0 -1
- package/dist/commonjs/credentials/clientAssertionCredentialOptions.d.ts +0 -9
- package/dist/commonjs/credentials/clientAssertionCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/clientAssertionCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/clientAssertionCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/clientCertificateCredential.d.ts +0 -72
- package/dist/commonjs/credentials/clientCertificateCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/clientCertificateCredential.js +0 -127
- package/dist/commonjs/credentials/clientCertificateCredential.js.map +0 -1
- package/dist/commonjs/credentials/clientCertificateCredentialModels.d.ts +0 -31
- package/dist/commonjs/credentials/clientCertificateCredentialModels.d.ts.map +0 -1
- package/dist/commonjs/credentials/clientCertificateCredentialModels.js +0 -5
- package/dist/commonjs/credentials/clientCertificateCredentialModels.js.map +0 -1
- package/dist/commonjs/credentials/clientCertificateCredentialOptions.d.ts +0 -14
- package/dist/commonjs/credentials/clientCertificateCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/clientCertificateCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/clientCertificateCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/clientSecretCredential.d.ts +0 -37
- package/dist/commonjs/credentials/clientSecretCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/clientSecretCredential.js +0 -64
- package/dist/commonjs/credentials/clientSecretCredential.js.map +0 -1
- package/dist/commonjs/credentials/clientSecretCredentialOptions.d.ts +0 -9
- package/dist/commonjs/credentials/clientSecretCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/clientSecretCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/clientSecretCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/credentialPersistenceOptions.d.ts +0 -30
- package/dist/commonjs/credentials/credentialPersistenceOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/credentialPersistenceOptions.js +0 -5
- package/dist/commonjs/credentials/credentialPersistenceOptions.js.map +0 -1
- package/dist/commonjs/credentials/defaultAzureCredential.d.ts +0 -65
- package/dist/commonjs/credentials/defaultAzureCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/defaultAzureCredential.js +0 -171
- package/dist/commonjs/credentials/defaultAzureCredential.js.map +0 -1
- package/dist/commonjs/credentials/defaultAzureCredentialOptions.d.ts +0 -49
- package/dist/commonjs/credentials/defaultAzureCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/defaultAzureCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/defaultAzureCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/deviceCodeCredential.d.ts +0 -67
- package/dist/commonjs/credentials/deviceCodeCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/deviceCodeCredential.js +0 -96
- package/dist/commonjs/credentials/deviceCodeCredential.js.map +0 -1
- package/dist/commonjs/credentials/deviceCodeCredentialOptions.d.ts +0 -53
- package/dist/commonjs/credentials/deviceCodeCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/deviceCodeCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/deviceCodeCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/environmentCredential.d.ts +0 -52
- package/dist/commonjs/credentials/environmentCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/environmentCredential.js +0 -135
- package/dist/commonjs/credentials/environmentCredential.js.map +0 -1
- package/dist/commonjs/credentials/environmentCredentialOptions.d.ts +0 -9
- package/dist/commonjs/credentials/environmentCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/environmentCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/environmentCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/interactiveBrowserCredential.d.ts +0 -56
- package/dist/commonjs/credentials/interactiveBrowserCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/interactiveBrowserCredential.js +0 -95
- package/dist/commonjs/credentials/interactiveBrowserCredentialOptions.d.ts +0 -77
- package/dist/commonjs/credentials/interactiveBrowserCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/interactiveBrowserCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/interactiveBrowserCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/interactiveCredentialOptions.d.ts +0 -25
- package/dist/commonjs/credentials/interactiveCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/interactiveCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/interactiveCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/imdsMsi.d.ts +0 -18
- package/dist/commonjs/credentials/managedIdentityCredential/imdsMsi.d.ts.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/imdsMsi.js +0 -125
- package/dist/commonjs/credentials/managedIdentityCredential/imdsMsi.js.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts +0 -12
- package/dist/commonjs/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/imdsRetryPolicy.js +0 -36
- package/dist/commonjs/credentials/managedIdentityCredential/imdsRetryPolicy.js.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/index.d.ts +0 -61
- package/dist/commonjs/credentials/managedIdentityCredential/index.d.ts.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/index.js +0 -221
- package/dist/commonjs/credentials/managedIdentityCredential/index.js.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/models.d.ts +0 -24
- package/dist/commonjs/credentials/managedIdentityCredential/models.d.ts.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/models.js +0 -5
- package/dist/commonjs/credentials/managedIdentityCredential/models.js.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/options.d.ts +0 -37
- package/dist/commonjs/credentials/managedIdentityCredential/options.d.ts.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/options.js +0 -5
- package/dist/commonjs/credentials/managedIdentityCredential/options.js.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts +0 -14
- package/dist/commonjs/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/tokenExchangeMsi.js +0 -35
- package/dist/commonjs/credentials/managedIdentityCredential/tokenExchangeMsi.js.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/utils.d.ts +0 -33
- package/dist/commonjs/credentials/managedIdentityCredential/utils.d.ts.map +0 -1
- package/dist/commonjs/credentials/managedIdentityCredential/utils.js +0 -82
- package/dist/commonjs/credentials/managedIdentityCredential/utils.js.map +0 -1
- package/dist/commonjs/credentials/multiTenantTokenCredentialOptions.d.ts +0 -12
- package/dist/commonjs/credentials/multiTenantTokenCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/multiTenantTokenCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/multiTenantTokenCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/onBehalfOfCredential.d.ts +0 -105
- package/dist/commonjs/credentials/onBehalfOfCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/onBehalfOfCredential.js +0 -116
- package/dist/commonjs/credentials/onBehalfOfCredential.js.map +0 -1
- package/dist/commonjs/credentials/onBehalfOfCredentialOptions.d.ts +0 -76
- package/dist/commonjs/credentials/onBehalfOfCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/onBehalfOfCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/onBehalfOfCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/usernamePasswordCredential.d.ts +0 -41
- package/dist/commonjs/credentials/usernamePasswordCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/usernamePasswordCredential.js +0 -71
- package/dist/commonjs/credentials/usernamePasswordCredential.js.map +0 -1
- package/dist/commonjs/credentials/usernamePasswordCredentialOptions.d.ts +0 -9
- package/dist/commonjs/credentials/usernamePasswordCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/usernamePasswordCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/usernamePasswordCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/visualStudioCodeCredential.d.ts +0 -60
- package/dist/commonjs/credentials/visualStudioCodeCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/visualStudioCodeCredential.js +0 -196
- package/dist/commonjs/credentials/visualStudioCodeCredential.js.map +0 -1
- package/dist/commonjs/credentials/visualStudioCodeCredentialOptions.d.ts +0 -11
- package/dist/commonjs/credentials/visualStudioCodeCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/visualStudioCodeCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/visualStudioCodeCredentialOptions.js.map +0 -1
- package/dist/commonjs/credentials/visualStudioCodeCredentialPlugin.d.ts +0 -11
- package/dist/commonjs/credentials/visualStudioCodeCredentialPlugin.d.ts.map +0 -1
- package/dist/commonjs/credentials/visualStudioCodeCredentialPlugin.js +0 -5
- package/dist/commonjs/credentials/visualStudioCodeCredentialPlugin.js.map +0 -1
- package/dist/commonjs/credentials/workloadIdentityCredential.d.ts +0 -47
- package/dist/commonjs/credentials/workloadIdentityCredential.d.ts.map +0 -1
- package/dist/commonjs/credentials/workloadIdentityCredential.js +0 -118
- package/dist/commonjs/credentials/workloadIdentityCredential.js.map +0 -1
- package/dist/commonjs/credentials/workloadIdentityCredentialOptions.d.ts +0 -20
- package/dist/commonjs/credentials/workloadIdentityCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/credentials/workloadIdentityCredentialOptions.js +0 -5
- package/dist/commonjs/credentials/workloadIdentityCredentialOptions.js.map +0 -1
- package/dist/commonjs/errors.d.ts +0 -139
- package/dist/commonjs/errors.d.ts.map +0 -1
- package/dist/commonjs/errors.js +0 -130
- package/dist/commonjs/errors.js.map +0 -1
- package/dist/commonjs/index.d.ts +0 -61
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/index.js +0 -69
- package/dist/commonjs/index.js.map +0 -1
- package/dist/commonjs/msal/browserFlows/flows.d.ts +0 -42
- package/dist/commonjs/msal/browserFlows/flows.d.ts.map +0 -1
- package/dist/commonjs/msal/browserFlows/flows.js +0 -5
- package/dist/commonjs/msal/browserFlows/flows.js.map +0 -1
- package/dist/commonjs/msal/browserFlows/msalAuthCode.d.ts +0 -48
- package/dist/commonjs/msal/browserFlows/msalAuthCode.d.ts.map +0 -1
- package/dist/commonjs/msal/browserFlows/msalAuthCode.js +0 -208
- package/dist/commonjs/msal/browserFlows/msalAuthCode.js.map +0 -1
- package/dist/commonjs/msal/browserFlows/msalBrowserCommon.d.ts +0 -106
- package/dist/commonjs/msal/browserFlows/msalBrowserCommon.d.ts.map +0 -1
- package/dist/commonjs/msal/browserFlows/msalBrowserCommon.js +0 -121
- package/dist/commonjs/msal/browserFlows/msalBrowserCommon.js.map +0 -1
- package/dist/commonjs/msal/credentials.d.ts +0 -52
- package/dist/commonjs/msal/credentials.d.ts.map +0 -1
- package/dist/commonjs/msal/credentials.js +0 -5
- package/dist/commonjs/msal/credentials.js.map +0 -1
- package/dist/commonjs/msal/msal.d.ts +0 -3
- package/dist/commonjs/msal/msal.d.ts.map +0 -1
- package/dist/commonjs/msal/msal.js +0 -9
- package/dist/commonjs/msal/msal.js.map +0 -1
- package/dist/commonjs/msal/nodeFlows/brokerOptions.d.ts +0 -44
- package/dist/commonjs/msal/nodeFlows/brokerOptions.d.ts.map +0 -1
- package/dist/commonjs/msal/nodeFlows/brokerOptions.js +0 -3
- package/dist/commonjs/msal/nodeFlows/brokerOptions.js.map +0 -1
- package/dist/commonjs/msal/nodeFlows/msalClient.d.ts +0 -186
- package/dist/commonjs/msal/nodeFlows/msalClient.d.ts.map +0 -1
- package/dist/commonjs/msal/nodeFlows/msalClient.js +0 -482
- package/dist/commonjs/msal/nodeFlows/msalClient.js.map +0 -1
- package/dist/commonjs/msal/nodeFlows/msalPlugins.d.ts +0 -91
- package/dist/commonjs/msal/nodeFlows/msalPlugins.d.ts.map +0 -1
- package/dist/commonjs/msal/nodeFlows/msalPlugins.js +0 -91
- package/dist/commonjs/msal/nodeFlows/msalPlugins.js.map +0 -1
- package/dist/commonjs/msal/nodeFlows/tokenCachePersistenceOptions.d.ts +0 -24
- package/dist/commonjs/msal/nodeFlows/tokenCachePersistenceOptions.d.ts.map +0 -1
- package/dist/commonjs/msal/nodeFlows/tokenCachePersistenceOptions.js +0 -5
- package/dist/commonjs/msal/nodeFlows/tokenCachePersistenceOptions.js.map +0 -1
- package/dist/commonjs/msal/types.d.ts +0 -87
- package/dist/commonjs/msal/types.d.ts.map +0 -1
- package/dist/commonjs/msal/types.js +0 -5
- package/dist/commonjs/msal/types.js.map +0 -1
- package/dist/commonjs/msal/utils.d.ts +0 -95
- package/dist/commonjs/msal/utils.d.ts.map +0 -1
- package/dist/commonjs/msal/utils.js +0 -253
- package/dist/commonjs/msal/utils.js.map +0 -1
- package/dist/commonjs/package.json +0 -3
- package/dist/commonjs/plugins/consumer.d.ts +0 -28
- package/dist/commonjs/plugins/consumer.d.ts.map +0 -1
- package/dist/commonjs/plugins/consumer.js +0 -46
- package/dist/commonjs/plugins/consumer.js.map +0 -1
- package/dist/commonjs/plugins/provider.d.ts +0 -36
- package/dist/commonjs/plugins/provider.d.ts.map +0 -1
- package/dist/commonjs/plugins/provider.js +0 -5
- package/dist/commonjs/plugins/provider.js.map +0 -1
- package/dist/commonjs/regionalAuthority.d.ts +0 -122
- package/dist/commonjs/regionalAuthority.d.ts.map +0 -1
- package/dist/commonjs/regionalAuthority.js +0 -144
- package/dist/commonjs/regionalAuthority.js.map +0 -1
- package/dist/commonjs/tokenCredentialOptions.d.ts +0 -28
- package/dist/commonjs/tokenCredentialOptions.d.ts.map +0 -1
- package/dist/commonjs/tokenCredentialOptions.js +0 -5
- package/dist/commonjs/tokenCredentialOptions.js.map +0 -1
- package/dist/commonjs/tokenProvider.d.ts +0 -39
- package/dist/commonjs/tokenProvider.d.ts.map +0 -1
- package/dist/commonjs/tokenProvider.js +0 -56
- package/dist/commonjs/tokenProvider.js.map +0 -1
- package/dist/commonjs/tsdoc-metadata.json +0 -11
- package/dist/commonjs/util/identityTokenEndpoint.d.ts +0 -2
- package/dist/commonjs/util/identityTokenEndpoint.d.ts.map +0 -1
- package/dist/commonjs/util/identityTokenEndpoint.js +0 -14
- package/dist/commonjs/util/identityTokenEndpoint.js.map +0 -1
- package/dist/commonjs/util/logging.d.ts +0 -70
- package/dist/commonjs/util/logging.d.ts.map +0 -1
- package/dist/commonjs/util/logging.js +0 -103
- package/dist/commonjs/util/logging.js.map +0 -1
- package/dist/commonjs/util/processMultiTenantRequest.d.ts +0 -10
- package/dist/commonjs/util/processMultiTenantRequest.d.ts.map +0 -1
- package/dist/commonjs/util/processMultiTenantRequest.js +0 -38
- package/dist/commonjs/util/processUtils.d.ts +0 -13
- package/dist/commonjs/util/processUtils.d.ts.map +0 -1
- package/dist/commonjs/util/processUtils.js +0 -36
- package/dist/commonjs/util/processUtils.js.map +0 -1
- package/dist/commonjs/util/scopeUtils.d.ts +0 -17
- package/dist/commonjs/util/scopeUtils.d.ts.map +0 -1
- package/dist/commonjs/util/scopeUtils.js +0 -34
- package/dist/commonjs/util/scopeUtils.js.map +0 -1
- package/dist/commonjs/util/subscriptionUtils.d.ts +0 -6
- package/dist/commonjs/util/subscriptionUtils.d.ts.map +0 -1
- package/dist/commonjs/util/subscriptionUtils.js +0 -17
- package/dist/commonjs/util/subscriptionUtils.js.map +0 -1
- package/dist/commonjs/util/tenantIdUtils.d.ts +0 -15
- package/dist/commonjs/util/tenantIdUtils.d.ts.map +0 -1
- package/dist/commonjs/util/tenantIdUtils.js +0 -51
- package/dist/commonjs/util/tenantIdUtils.js.map +0 -1
- package/dist/commonjs/util/tracing.d.ts +0 -6
- package/dist/commonjs/util/tracing.d.ts.map +0 -1
- package/dist/commonjs/util/tracing.js +0 -17
- package/dist/commonjs/util/tracing.js.map +0 -1
- package/dist/esm/client/identityClient.d.ts +0 -65
- package/dist/esm/client/identityClient.d.ts.map +0 -1
- package/dist/esm/client/identityClient.js.map +0 -1
- package/dist/esm/constants.d.ts +0 -69
- package/dist/esm/constants.d.ts.map +0 -1
- package/dist/esm/constants.js.map +0 -1
- package/dist/esm/credentials/authorityValidationOptions.d.ts +0 -16
- package/dist/esm/credentials/authorityValidationOptions.d.ts.map +0 -1
- package/dist/esm/credentials/authorityValidationOptions.js +0 -4
- package/dist/esm/credentials/authorityValidationOptions.js.map +0 -1
- package/dist/esm/credentials/authorizationCodeCredential.d.ts +0 -73
- package/dist/esm/credentials/authorizationCodeCredential.d.ts.map +0 -1
- package/dist/esm/credentials/authorizationCodeCredential.js.map +0 -1
- package/dist/esm/credentials/authorizationCodeCredentialOptions.d.ts +0 -8
- package/dist/esm/credentials/authorizationCodeCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/authorizationCodeCredentialOptions.js +0 -4
- package/dist/esm/credentials/authorizationCodeCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/azureApplicationCredential.d.ts +0 -24
- package/dist/esm/credentials/azureApplicationCredential.d.ts.map +0 -1
- package/dist/esm/credentials/azureApplicationCredential.js.map +0 -1
- package/dist/esm/credentials/azureApplicationCredentialOptions.d.ts +0 -13
- package/dist/esm/credentials/azureApplicationCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/azureApplicationCredentialOptions.js +0 -4
- package/dist/esm/credentials/azureApplicationCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/azureCliCredential.d.ts +0 -64
- package/dist/esm/credentials/azureCliCredential.d.ts.map +0 -1
- package/dist/esm/credentials/azureCliCredential.js.map +0 -1
- package/dist/esm/credentials/azureCliCredentialOptions.d.ts +0 -20
- package/dist/esm/credentials/azureCliCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/azureCliCredentialOptions.js +0 -4
- package/dist/esm/credentials/azureCliCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/azureDeveloperCliCredential.d.ts +0 -71
- package/dist/esm/credentials/azureDeveloperCliCredential.d.ts.map +0 -1
- package/dist/esm/credentials/azureDeveloperCliCredential.js.map +0 -1
- package/dist/esm/credentials/azureDeveloperCliCredentialOptions.d.ts +0 -15
- package/dist/esm/credentials/azureDeveloperCliCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/azureDeveloperCliCredentialOptions.js +0 -4
- package/dist/esm/credentials/azureDeveloperCliCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/azurePipelinesCredential.d.ts +0 -38
- package/dist/esm/credentials/azurePipelinesCredential.d.ts.map +0 -1
- package/dist/esm/credentials/azurePipelinesCredential.js.map +0 -1
- package/dist/esm/credentials/azurePipelinesCredentialOptions.d.ts +0 -9
- package/dist/esm/credentials/azurePipelinesCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/azurePipelinesCredentialOptions.js +0 -4
- package/dist/esm/credentials/azurePipelinesCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/azurePowerShellCredential.d.ts +0 -75
- package/dist/esm/credentials/azurePowerShellCredential.d.ts.map +0 -1
- package/dist/esm/credentials/azurePowerShellCredential.js.map +0 -1
- package/dist/esm/credentials/azurePowerShellCredentialOptions.d.ts +0 -15
- package/dist/esm/credentials/azurePowerShellCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/azurePowerShellCredentialOptions.js +0 -4
- package/dist/esm/credentials/azurePowerShellCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/brokerAuthOptions.d.ts +0 -13
- package/dist/esm/credentials/brokerAuthOptions.d.ts.map +0 -1
- package/dist/esm/credentials/brokerAuthOptions.js +0 -2
- package/dist/esm/credentials/brokerAuthOptions.js.map +0 -1
- package/dist/esm/credentials/browserCustomizationOptions.d.ts +0 -19
- package/dist/esm/credentials/browserCustomizationOptions.d.ts.map +0 -1
- package/dist/esm/credentials/browserCustomizationOptions.js +0 -4
- package/dist/esm/credentials/browserCustomizationOptions.js.map +0 -1
- package/dist/esm/credentials/chainedTokenCredential.d.ts +0 -51
- package/dist/esm/credentials/chainedTokenCredential.d.ts.map +0 -1
- package/dist/esm/credentials/chainedTokenCredential.js.map +0 -1
- package/dist/esm/credentials/clientAssertionCredential.d.ts +0 -33
- package/dist/esm/credentials/clientAssertionCredential.d.ts.map +0 -1
- package/dist/esm/credentials/clientAssertionCredential.js.map +0 -1
- package/dist/esm/credentials/clientAssertionCredentialOptions.d.ts +0 -9
- package/dist/esm/credentials/clientAssertionCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/clientAssertionCredentialOptions.js +0 -4
- package/dist/esm/credentials/clientAssertionCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/clientCertificateCredential.d.ts +0 -72
- package/dist/esm/credentials/clientCertificateCredential.d.ts.map +0 -1
- package/dist/esm/credentials/clientCertificateCredential.js.map +0 -1
- package/dist/esm/credentials/clientCertificateCredentialModels.d.ts +0 -31
- package/dist/esm/credentials/clientCertificateCredentialModels.d.ts.map +0 -1
- package/dist/esm/credentials/clientCertificateCredentialModels.js +0 -4
- package/dist/esm/credentials/clientCertificateCredentialModels.js.map +0 -1
- package/dist/esm/credentials/clientCertificateCredentialOptions.d.ts +0 -14
- package/dist/esm/credentials/clientCertificateCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/clientCertificateCredentialOptions.js +0 -4
- package/dist/esm/credentials/clientCertificateCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/clientSecretCredential.d.ts +0 -37
- package/dist/esm/credentials/clientSecretCredential.d.ts.map +0 -1
- package/dist/esm/credentials/clientSecretCredential.js.map +0 -1
- package/dist/esm/credentials/clientSecretCredentialOptions.d.ts +0 -9
- package/dist/esm/credentials/clientSecretCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/clientSecretCredentialOptions.js +0 -4
- package/dist/esm/credentials/clientSecretCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/credentialPersistenceOptions.d.ts +0 -30
- package/dist/esm/credentials/credentialPersistenceOptions.d.ts.map +0 -1
- package/dist/esm/credentials/credentialPersistenceOptions.js +0 -4
- package/dist/esm/credentials/credentialPersistenceOptions.js.map +0 -1
- package/dist/esm/credentials/defaultAzureCredential.d.ts +0 -65
- package/dist/esm/credentials/defaultAzureCredential.d.ts.map +0 -1
- package/dist/esm/credentials/defaultAzureCredential.js.map +0 -1
- package/dist/esm/credentials/defaultAzureCredentialOptions.d.ts +0 -49
- package/dist/esm/credentials/defaultAzureCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/defaultAzureCredentialOptions.js +0 -4
- package/dist/esm/credentials/defaultAzureCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/deviceCodeCredential.d.ts +0 -67
- package/dist/esm/credentials/deviceCodeCredential.d.ts.map +0 -1
- package/dist/esm/credentials/deviceCodeCredential.js.map +0 -1
- package/dist/esm/credentials/deviceCodeCredentialOptions.d.ts +0 -53
- package/dist/esm/credentials/deviceCodeCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/deviceCodeCredentialOptions.js +0 -4
- package/dist/esm/credentials/deviceCodeCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/environmentCredential.d.ts +0 -52
- package/dist/esm/credentials/environmentCredential.d.ts.map +0 -1
- package/dist/esm/credentials/environmentCredential.js.map +0 -1
- package/dist/esm/credentials/environmentCredentialOptions.d.ts +0 -9
- package/dist/esm/credentials/environmentCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/environmentCredentialOptions.js +0 -4
- package/dist/esm/credentials/environmentCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/interactiveBrowserCredential.d.ts +0 -56
- package/dist/esm/credentials/interactiveBrowserCredential.d.ts.map +0 -1
- package/dist/esm/credentials/interactiveBrowserCredential.js.map +0 -1
- package/dist/esm/credentials/interactiveBrowserCredentialOptions.d.ts +0 -77
- package/dist/esm/credentials/interactiveBrowserCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/interactiveBrowserCredentialOptions.js +0 -4
- package/dist/esm/credentials/interactiveBrowserCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/interactiveCredentialOptions.d.ts +0 -25
- package/dist/esm/credentials/interactiveCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/interactiveCredentialOptions.js +0 -4
- package/dist/esm/credentials/interactiveCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/imdsMsi.d.ts +0 -18
- package/dist/esm/credentials/managedIdentityCredential/imdsMsi.d.ts.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/imdsMsi.js.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts +0 -12
- package/dist/esm/credentials/managedIdentityCredential/imdsRetryPolicy.d.ts.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/imdsRetryPolicy.js +0 -33
- package/dist/esm/credentials/managedIdentityCredential/imdsRetryPolicy.js.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/index.d.ts +0 -61
- package/dist/esm/credentials/managedIdentityCredential/index.d.ts.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/index.js.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/models.d.ts +0 -24
- package/dist/esm/credentials/managedIdentityCredential/models.d.ts.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/models.js +0 -4
- package/dist/esm/credentials/managedIdentityCredential/models.js.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/options.d.ts +0 -37
- package/dist/esm/credentials/managedIdentityCredential/options.d.ts.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/options.js +0 -4
- package/dist/esm/credentials/managedIdentityCredential/options.js.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts +0 -14
- package/dist/esm/credentials/managedIdentityCredential/tokenExchangeMsi.d.ts.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/tokenExchangeMsi.js +0 -32
- package/dist/esm/credentials/managedIdentityCredential/tokenExchangeMsi.js.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/utils.d.ts +0 -33
- package/dist/esm/credentials/managedIdentityCredential/utils.d.ts.map +0 -1
- package/dist/esm/credentials/managedIdentityCredential/utils.js +0 -77
- package/dist/esm/credentials/managedIdentityCredential/utils.js.map +0 -1
- package/dist/esm/credentials/multiTenantTokenCredentialOptions.d.ts +0 -12
- package/dist/esm/credentials/multiTenantTokenCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/multiTenantTokenCredentialOptions.js +0 -4
- package/dist/esm/credentials/multiTenantTokenCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/onBehalfOfCredential.d.ts +0 -105
- package/dist/esm/credentials/onBehalfOfCredential.d.ts.map +0 -1
- package/dist/esm/credentials/onBehalfOfCredential.js.map +0 -1
- package/dist/esm/credentials/onBehalfOfCredentialOptions.d.ts +0 -76
- package/dist/esm/credentials/onBehalfOfCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/onBehalfOfCredentialOptions.js +0 -4
- package/dist/esm/credentials/onBehalfOfCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/usernamePasswordCredential.d.ts +0 -41
- package/dist/esm/credentials/usernamePasswordCredential.d.ts.map +0 -1
- package/dist/esm/credentials/usernamePasswordCredential.js.map +0 -1
- package/dist/esm/credentials/usernamePasswordCredentialOptions.d.ts +0 -9
- package/dist/esm/credentials/usernamePasswordCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/usernamePasswordCredentialOptions.js +0 -4
- package/dist/esm/credentials/usernamePasswordCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/visualStudioCodeCredential.d.ts +0 -60
- package/dist/esm/credentials/visualStudioCodeCredential.d.ts.map +0 -1
- package/dist/esm/credentials/visualStudioCodeCredential.js.map +0 -1
- package/dist/esm/credentials/visualStudioCodeCredentialOptions.d.ts +0 -11
- package/dist/esm/credentials/visualStudioCodeCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/visualStudioCodeCredentialOptions.js +0 -4
- package/dist/esm/credentials/visualStudioCodeCredentialOptions.js.map +0 -1
- package/dist/esm/credentials/visualStudioCodeCredentialPlugin.d.ts +0 -11
- package/dist/esm/credentials/visualStudioCodeCredentialPlugin.d.ts.map +0 -1
- package/dist/esm/credentials/visualStudioCodeCredentialPlugin.js +0 -4
- package/dist/esm/credentials/visualStudioCodeCredentialPlugin.js.map +0 -1
- package/dist/esm/credentials/workloadIdentityCredential.d.ts +0 -47
- package/dist/esm/credentials/workloadIdentityCredential.d.ts.map +0 -1
- package/dist/esm/credentials/workloadIdentityCredential.js.map +0 -1
- package/dist/esm/credentials/workloadIdentityCredentialOptions.d.ts +0 -20
- package/dist/esm/credentials/workloadIdentityCredentialOptions.d.ts.map +0 -1
- package/dist/esm/credentials/workloadIdentityCredentialOptions.js +0 -4
- package/dist/esm/credentials/workloadIdentityCredentialOptions.js.map +0 -1
- package/dist/esm/errors.d.ts +0 -139
- package/dist/esm/errors.d.ts.map +0 -1
- package/dist/esm/errors.js +0 -123
- package/dist/esm/errors.js.map +0 -1
- package/dist/esm/index.d.ts +0 -61
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -34
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/msal/browserFlows/flows.d.ts +0 -42
- package/dist/esm/msal/browserFlows/flows.d.ts.map +0 -1
- package/dist/esm/msal/browserFlows/flows.js +0 -4
- package/dist/esm/msal/browserFlows/flows.js.map +0 -1
- package/dist/esm/msal/browserFlows/msalAuthCode.d.ts +0 -48
- package/dist/esm/msal/browserFlows/msalAuthCode.d.ts.map +0 -1
- package/dist/esm/msal/browserFlows/msalAuthCode.js.map +0 -1
- package/dist/esm/msal/browserFlows/msalBrowserCommon.d.ts +0 -106
- package/dist/esm/msal/browserFlows/msalBrowserCommon.d.ts.map +0 -1
- package/dist/esm/msal/browserFlows/msalBrowserCommon.js +0 -116
- package/dist/esm/msal/browserFlows/msalBrowserCommon.js.map +0 -1
- package/dist/esm/msal/credentials.d.ts +0 -52
- package/dist/esm/msal/credentials.d.ts.map +0 -1
- package/dist/esm/msal/credentials.js +0 -4
- package/dist/esm/msal/credentials.js.map +0 -1
- package/dist/esm/msal/msal.d.ts +0 -3
- package/dist/esm/msal/msal.d.ts.map +0 -1
- package/dist/esm/msal/nodeFlows/brokerOptions.d.ts +0 -44
- package/dist/esm/msal/nodeFlows/brokerOptions.d.ts.map +0 -1
- package/dist/esm/msal/nodeFlows/brokerOptions.js +0 -2
- package/dist/esm/msal/nodeFlows/brokerOptions.js.map +0 -1
- package/dist/esm/msal/nodeFlows/msalClient.d.ts +0 -186
- package/dist/esm/msal/nodeFlows/msalClient.d.ts.map +0 -1
- package/dist/esm/msal/nodeFlows/msalClient.js +0 -477
- package/dist/esm/msal/nodeFlows/msalClient.js.map +0 -1
- package/dist/esm/msal/nodeFlows/msalPlugins.d.ts +0 -91
- package/dist/esm/msal/nodeFlows/msalPlugins.d.ts.map +0 -1
- package/dist/esm/msal/nodeFlows/msalPlugins.js +0 -87
- package/dist/esm/msal/nodeFlows/msalPlugins.js.map +0 -1
- package/dist/esm/msal/nodeFlows/tokenCachePersistenceOptions.d.ts +0 -24
- package/dist/esm/msal/nodeFlows/tokenCachePersistenceOptions.d.ts.map +0 -1
- package/dist/esm/msal/nodeFlows/tokenCachePersistenceOptions.js +0 -4
- package/dist/esm/msal/nodeFlows/tokenCachePersistenceOptions.js.map +0 -1
- package/dist/esm/msal/types.d.ts +0 -87
- package/dist/esm/msal/types.d.ts.map +0 -1
- package/dist/esm/msal/types.js +0 -4
- package/dist/esm/msal/types.js.map +0 -1
- package/dist/esm/msal/utils.d.ts +0 -95
- package/dist/esm/msal/utils.d.ts.map +0 -1
- package/dist/esm/msal/utils.js +0 -238
- package/dist/esm/msal/utils.js.map +0 -1
- package/dist/esm/package.json +0 -3
- package/dist/esm/plugins/consumer.d.ts +0 -28
- package/dist/esm/plugins/consumer.d.ts.map +0 -1
- package/dist/esm/plugins/consumer.js.map +0 -1
- package/dist/esm/plugins/provider.d.ts +0 -36
- package/dist/esm/plugins/provider.d.ts.map +0 -1
- package/dist/esm/plugins/provider.js +0 -4
- package/dist/esm/plugins/provider.js.map +0 -1
- package/dist/esm/regionalAuthority.d.ts +0 -122
- package/dist/esm/regionalAuthority.d.ts.map +0 -1
- package/dist/esm/regionalAuthority.js +0 -140
- package/dist/esm/regionalAuthority.js.map +0 -1
- package/dist/esm/tokenCredentialOptions.d.ts +0 -28
- package/dist/esm/tokenCredentialOptions.d.ts.map +0 -1
- package/dist/esm/tokenCredentialOptions.js +0 -4
- package/dist/esm/tokenCredentialOptions.js.map +0 -1
- package/dist/esm/tokenProvider.d.ts +0 -39
- package/dist/esm/tokenProvider.d.ts.map +0 -1
- package/dist/esm/tokenProvider.js +0 -53
- package/dist/esm/tokenProvider.js.map +0 -1
- package/dist/esm/util/authHostEnv-browser.d.mts +0 -4
- package/dist/esm/util/authHostEnv-browser.d.mts.map +0 -1
- package/dist/esm/util/authHostEnv-browser.mjs.map +0 -1
- package/dist/esm/util/identityTokenEndpoint.d.ts +0 -2
- package/dist/esm/util/identityTokenEndpoint.d.ts.map +0 -1
- package/dist/esm/util/identityTokenEndpoint.js +0 -11
- package/dist/esm/util/identityTokenEndpoint.js.map +0 -1
- package/dist/esm/util/logging.d.ts +0 -70
- package/dist/esm/util/logging.d.ts.map +0 -1
- package/dist/esm/util/logging.js +0 -94
- package/dist/esm/util/logging.js.map +0 -1
- package/dist/esm/util/processMultiTenantRequest.d.ts +0 -10
- package/dist/esm/util/processMultiTenantRequest.d.ts.map +0 -1
- package/dist/esm/util/processMultiTenantRequest.js.map +0 -1
- package/dist/esm/util/processUtils.d.ts +0 -13
- package/dist/esm/util/processUtils.d.ts.map +0 -1
- package/dist/esm/util/processUtils.js +0 -32
- package/dist/esm/util/processUtils.js.map +0 -1
- package/dist/esm/util/scopeUtils.d.ts +0 -17
- package/dist/esm/util/scopeUtils.d.ts.map +0 -1
- package/dist/esm/util/scopeUtils.js +0 -29
- package/dist/esm/util/scopeUtils.js.map +0 -1
- package/dist/esm/util/subscriptionUtils.d.ts +0 -6
- package/dist/esm/util/subscriptionUtils.d.ts.map +0 -1
- package/dist/esm/util/subscriptionUtils.js +0 -14
- package/dist/esm/util/subscriptionUtils.js.map +0 -1
- package/dist/esm/util/tenantIdUtils.d.ts +0 -15
- package/dist/esm/util/tenantIdUtils.d.ts.map +0 -1
- package/dist/esm/util/tenantIdUtils.js.map +0 -1
- package/dist/esm/util/tracing.d.ts +0 -6
- package/dist/esm/util/tracing.d.ts.map +0 -1
- package/dist/esm/util/tracing.js +0 -14
- package/dist/esm/util/tracing.js.map +0 -1
- /package/{dist/browser → dist-esm/src}/credentials/authorityValidationOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/authorityValidationOptions.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/authorizationCodeCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/azureApplicationCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/azureCliCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/azureDeveloperCliCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/azurePipelinesCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/azurePowerShellCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/brokerAuthOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/browserCustomizationOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/browserCustomizationOptions.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/clientAssertionCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/clientCertificateCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/clientSecretCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/credentialPersistenceOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/defaultAzureCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/deviceCodeCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/environmentCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/interactiveBrowserCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/interactiveCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/managedIdentityCredential/imdsRetryPolicy.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/managedIdentityCredential/models.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/multiTenantTokenCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/onBehalfOfCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/usernamePasswordCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/visualStudioCodeCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/visualStudioCodeCredentialPlugin.js +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/visualStudioCodeCredentialPlugin.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/credentials/workloadIdentityCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/errors.js +0 -0
- /package/{dist/browser → dist-esm/src}/msal/browserFlows/flows.js +0 -0
- /package/{dist/browser → dist-esm/src}/msal/credentials.js +0 -0
- /package/{dist/esm → dist-esm/src}/msal/msal.js +0 -0
- /package/{dist/esm → dist-esm/src}/msal/msal.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/msal/nodeFlows/brokerOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/msal/nodeFlows/brokerOptions.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/msal/nodeFlows/tokenCachePersistenceOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/msal/nodeFlows/tokenCachePersistenceOptions.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/msal/types.js +0 -0
- /package/{dist/browser → dist-esm/src}/plugins/provider.js +0 -0
- /package/{dist/browser → dist-esm/src}/regionalAuthority.js +0 -0
- /package/{dist/browser → dist-esm/src}/regionalAuthority.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/tokenCredentialOptions.js +0 -0
- /package/{dist/browser → dist-esm/src}/util/identityTokenEndpoint.js +0 -0
- /package/{dist/browser → dist-esm/src}/util/identityTokenEndpoint.js.map +0 -0
- /package/{dist/browser → dist-esm/src}/util/logging.js +0 -0
- /package/{dist/browser → dist-esm/src}/util/processUtils.js +0 -0
- /package/{dist/browser → dist-esm/src}/util/processUtils.js.map +0 -0
@@ -1,40 +0,0 @@
|
|
1
|
-
import type { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth";
|
2
|
-
import type { ClientSecretCredentialOptions } from "./clientSecretCredentialOptions.js";
|
3
|
-
/**
|
4
|
-
* Enables authentication to Microsoft Entra ID using a client secret
|
5
|
-
* that was generated for an App Registration. More information on how
|
6
|
-
* to configure a client secret can be found here:
|
7
|
-
*
|
8
|
-
* https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-configure-app-access-web-apis#add-credentials-to-your-web-application
|
9
|
-
*
|
10
|
-
*/
|
11
|
-
export declare class ClientSecretCredential implements TokenCredential {
|
12
|
-
private identityClient;
|
13
|
-
private tenantId;
|
14
|
-
private additionallyAllowedTenantIds;
|
15
|
-
private clientId;
|
16
|
-
private clientSecret;
|
17
|
-
/**
|
18
|
-
* Creates an instance of the ClientSecretCredential with the details
|
19
|
-
* needed to authenticate against Microsoft Entra ID with a client
|
20
|
-
* secret.
|
21
|
-
*
|
22
|
-
* @param tenantId - The Microsoft Entra tenant (directory) ID.
|
23
|
-
* @param clientId - The client (application) ID of an App Registration in the tenant.
|
24
|
-
* @param clientSecret - A client secret that was generated for the App Registration.
|
25
|
-
* @param options - Options for configuring the client which makes the authentication request.
|
26
|
-
*/
|
27
|
-
constructor(tenantId: string, clientId: string, clientSecret: string, options?: ClientSecretCredentialOptions);
|
28
|
-
/**
|
29
|
-
* Authenticates with Microsoft Entra ID and returns an access token if
|
30
|
-
* successful. If authentication cannot be performed at this time, this method may
|
31
|
-
* return null. If an error occurs during authentication, an {@link AuthenticationError}
|
32
|
-
* containing failure details will be thrown.
|
33
|
-
*
|
34
|
-
* @param scopes - The list of scopes for which the token will have access.
|
35
|
-
* @param options - The options used to configure any requests this
|
36
|
-
* TokenCredential implementation might make.
|
37
|
-
*/
|
38
|
-
getToken(scopes: string | string[], options?: GetTokenOptions): Promise<AccessToken | null>;
|
39
|
-
}
|
40
|
-
//# sourceMappingURL=clientSecretCredential-browser.d.mts.map
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { AuthorityValidationOptions } from "./authorityValidationOptions.js";
|
2
|
-
import type { CredentialPersistenceOptions } from "./credentialPersistenceOptions.js";
|
3
|
-
import type { MultiTenantTokenCredentialOptions } from "./multiTenantTokenCredentialOptions.js";
|
4
|
-
/**
|
5
|
-
* Optional parameters for the {@link ClientSecretCredential} class.
|
6
|
-
*/
|
7
|
-
export interface ClientSecretCredentialOptions extends MultiTenantTokenCredentialOptions, CredentialPersistenceOptions, AuthorityValidationOptions {
|
8
|
-
}
|
9
|
-
//# sourceMappingURL=clientSecretCredentialOptions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"clientSecretCredentialOptions.d.ts","sourceRoot":"","sources":["../../../src/credentials/clientSecretCredentialOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAEhG;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,iCAAiC,EACvC,4BAA4B,EAC5B,0BAA0B;CAQ7B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"clientSecretCredentialOptions.js","sourceRoot":"","sources":["../../../src/credentials/clientSecretCredentialOptions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AuthorityValidationOptions } from \"./authorityValidationOptions.js\";\nimport type { CredentialPersistenceOptions } from \"./credentialPersistenceOptions.js\";\nimport type { MultiTenantTokenCredentialOptions } from \"./multiTenantTokenCredentialOptions.js\";\n\n/**\n * Optional parameters for the {@link ClientSecretCredential} class.\n */\nexport interface ClientSecretCredentialOptions\n extends MultiTenantTokenCredentialOptions,\n CredentialPersistenceOptions,\n AuthorityValidationOptions {\n // TODO: Export again once we're ready to release this feature.\n // /**\n // * Specifies a regional authority. Please refer to the {@link RegionalAuthority} type for the accepted values.\n // * If {@link RegionalAuthority.AutoDiscoverRegion} is specified, we will try to discover the regional authority endpoint.\n // * If the property is not specified, the credential uses the global authority endpoint.\n // */\n // regionalAuthority?: string;\n}\n"]}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import type { TokenCachePersistenceOptions } from "../msal/nodeFlows/tokenCachePersistenceOptions.js";
|
2
|
-
/**
|
3
|
-
* Shared configuration options for credentials that support persistent token
|
4
|
-
* caching.
|
5
|
-
*/
|
6
|
-
export interface CredentialPersistenceOptions {
|
7
|
-
/**
|
8
|
-
* Options to provide to the persistence layer (if one is available) when
|
9
|
-
* storing credentials.
|
10
|
-
*
|
11
|
-
* You must first register a persistence provider plugin. See the
|
12
|
-
* `@azure/identity-cache-persistence` package on NPM.
|
13
|
-
*
|
14
|
-
* Example:
|
15
|
-
*
|
16
|
-
* ```ts snippet:credential_persistence_options_example
|
17
|
-
* import { useIdentityPlugin, DeviceCodeCredential } from "@azure/identity";
|
18
|
-
*
|
19
|
-
* useIdentityPlugin(cachePersistencePlugin);
|
20
|
-
*
|
21
|
-
* const credential = new DeviceCodeCredential({
|
22
|
-
* tokenCachePersistenceOptions: {
|
23
|
-
* enabled: true,
|
24
|
-
* },
|
25
|
-
* });
|
26
|
-
* ```
|
27
|
-
*/
|
28
|
-
tokenCachePersistenceOptions?: TokenCachePersistenceOptions;
|
29
|
-
}
|
30
|
-
//# sourceMappingURL=credentialPersistenceOptions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"credentialPersistenceOptions.d.ts","sourceRoot":"","sources":["../../../src/credentials/credentialPersistenceOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AAEtG;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;;;;;;;;;;;;;;;;;;OAoBG;IAEH,4BAA4B,CAAC,EAAE,4BAA4B,CAAC;CAC7D"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"credentialPersistenceOptions.js","sourceRoot":"","sources":["../../../src/credentials/credentialPersistenceOptions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { TokenCachePersistenceOptions } from \"../msal/nodeFlows/tokenCachePersistenceOptions.js\";\n\n/**\n * Shared configuration options for credentials that support persistent token\n * caching.\n */\nexport interface CredentialPersistenceOptions {\n /**\n * Options to provide to the persistence layer (if one is available) when\n * storing credentials.\n *\n * You must first register a persistence provider plugin. See the\n * `@azure/identity-cache-persistence` package on NPM.\n *\n * Example:\n *\n * ```ts snippet:credential_persistence_options_example\n * import { useIdentityPlugin, DeviceCodeCredential } from \"@azure/identity\";\n *\n * useIdentityPlugin(cachePersistencePlugin);\n *\n * const credential = new DeviceCodeCredential({\n * tokenCachePersistenceOptions: {\n * enabled: true,\n * },\n * });\n * ```\n */\n\n tokenCachePersistenceOptions?: TokenCachePersistenceOptions;\n}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaultAzureCredential-browser.d.mts","sourceRoot":"","sources":["../../../src/credentials/defaultAzureCredential-browser.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAO3E;;;;;GAKG;AACH,qBAAa,sBAAuB,SAAQ,sBAAsB;IAChE;;;;OAIG;gBACS,uBAAuB,CAAC,EAAE,sBAAsB;IAMrD,QAAQ,IAAI,OAAO,CAAC,WAAW,CAAC;CAIxC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaultAzureCredential-browser.mjs","sourceRoot":"","sources":["../../../src/credentials/defaultAzureCredential-browser.mts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,MAAM,wBAAwB,GAAG,IAAI,KAAK,CACxC,mGAAmG,CACpG,CAAC;AACF,MAAM,MAAM,GAAG,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,OAAO,sBAAuB,SAAQ,sBAAsB;IAChE;;;;OAIG;IACH,YAAY,uBAAgD;QAC1D,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC;QACvD,MAAM,wBAAwB,CAAC;IACjC,CAAC;IAEM,QAAQ;QACb,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC;QAChE,MAAM,wBAAwB,CAAC;IACjC,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { credentialLogger, formatError } from \"../util/logging.js\";\nimport type { AccessToken } from \"@azure/core-auth\";\nimport { ChainedTokenCredential } from \"./chainedTokenCredential.js\";\nimport type { TokenCredentialOptions } from \"../tokenCredentialOptions.js\";\n\nconst BrowserNotSupportedError = new Error(\n \"DefaultAzureCredential is not supported in the browser. Use InteractiveBrowserCredential instead.\",\n);\nconst logger = credentialLogger(\"DefaultAzureCredential\");\n\n/**\n * Provides a default {@link ChainedTokenCredential} configuration for\n * applications that will be deployed to Azure.\n *\n * Only available in Node.js.\n */\nexport class DefaultAzureCredential extends ChainedTokenCredential {\n /**\n * Creates an instance of the DefaultAzureCredential class.\n *\n * @param options - Options for configuring the client which makes the authentication request.\n */\n constructor(_tokenCredentialOptions?: TokenCredentialOptions) {\n super();\n logger.info(formatError(\"\", BrowserNotSupportedError));\n throw BrowserNotSupportedError;\n }\n\n public getToken(): Promise<AccessToken> {\n logger.getToken.info(formatError(\"\", BrowserNotSupportedError));\n throw BrowserNotSupportedError;\n }\n}\n"]}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import type { AccessToken } from "@azure/core-auth";
|
2
|
-
import { ChainedTokenCredential } from "./chainedTokenCredential.js";
|
3
|
-
import type { TokenCredentialOptions } from "../tokenCredentialOptions.js";
|
4
|
-
/**
|
5
|
-
* Provides a default {@link ChainedTokenCredential} configuration for
|
6
|
-
* applications that will be deployed to Azure.
|
7
|
-
*
|
8
|
-
* Only available in Node.js.
|
9
|
-
*/
|
10
|
-
export declare class DefaultAzureCredential extends ChainedTokenCredential {
|
11
|
-
/**
|
12
|
-
* Creates an instance of the DefaultAzureCredential class.
|
13
|
-
*
|
14
|
-
* @param options - Options for configuring the client which makes the authentication request.
|
15
|
-
*/
|
16
|
-
constructor(_tokenCredentialOptions?: TokenCredentialOptions);
|
17
|
-
getToken(): Promise<AccessToken>;
|
18
|
-
}
|
19
|
-
//# sourceMappingURL=defaultAzureCredential-browser.d.mts.map
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import type { AuthorityValidationOptions } from "./authorityValidationOptions.js";
|
2
|
-
import type { MultiTenantTokenCredentialOptions } from "./multiTenantTokenCredentialOptions.js";
|
3
|
-
/**
|
4
|
-
* Provides options to configure the {@link DefaultAzureCredential} class.
|
5
|
-
* This variation supports `managedIdentityClientId` and not `managedIdentityResourceId`, since only one of both is supported.
|
6
|
-
*/
|
7
|
-
export interface DefaultAzureCredentialClientIdOptions extends DefaultAzureCredentialOptions {
|
8
|
-
/**
|
9
|
-
* Optionally pass in a user assigned client ID to be used by the {@link ManagedIdentityCredential}.
|
10
|
-
* This client ID can also be passed through to the {@link ManagedIdentityCredential} through the environment variable: AZURE_CLIENT_ID.
|
11
|
-
*/
|
12
|
-
managedIdentityClientId?: string;
|
13
|
-
/**
|
14
|
-
* Optionally pass in a user assigned client ID to be used by the {@link WorkloadIdentityCredential}.
|
15
|
-
* This client ID can also be passed through to the {@link WorkloadIdentityCredential} through the environment variable: AZURE_CLIENT_ID.
|
16
|
-
*/
|
17
|
-
workloadIdentityClientId?: string;
|
18
|
-
}
|
19
|
-
/**
|
20
|
-
* Provides options to configure the {@link DefaultAzureCredential} class.
|
21
|
-
* This variation supports `managedIdentityResourceId` and not `managedIdentityClientId`, since only one of both is supported.
|
22
|
-
*/
|
23
|
-
export interface DefaultAzureCredentialResourceIdOptions extends DefaultAzureCredentialOptions {
|
24
|
-
/**
|
25
|
-
* Optionally pass in a resource ID to be used by the {@link ManagedIdentityCredential}.
|
26
|
-
* In scenarios such as when user assigned identities are created using an ARM template,
|
27
|
-
* where the resource Id of the identity is known but the client Id can't be known ahead of time,
|
28
|
-
* this parameter allows programs to use these user assigned identities
|
29
|
-
* without having to first determine the client Id of the created identity.
|
30
|
-
*/
|
31
|
-
managedIdentityResourceId: string;
|
32
|
-
}
|
33
|
-
/**
|
34
|
-
* Provides options to configure the {@link DefaultAzureCredential} class.
|
35
|
-
*/
|
36
|
-
export interface DefaultAzureCredentialOptions extends MultiTenantTokenCredentialOptions, AuthorityValidationOptions {
|
37
|
-
/**
|
38
|
-
* Optionally pass in a Tenant ID to be used as part of the credential.
|
39
|
-
* By default it may use a generic tenant ID depending on the underlying credential.
|
40
|
-
*/
|
41
|
-
tenantId?: string;
|
42
|
-
/**
|
43
|
-
* Timeout configurable for making token requests for developer credentials, namely, {@link AzurePowershellCredential},
|
44
|
-
* {@link AzureDeveloperCliCredential} and {@link AzureCliCredential}.
|
45
|
-
* Process timeout for credentials should be provided in milliseconds.
|
46
|
-
*/
|
47
|
-
processTimeoutInMs?: number;
|
48
|
-
}
|
49
|
-
//# sourceMappingURL=defaultAzureCredentialOptions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaultAzureCredentialOptions.d.ts","sourceRoot":"","sources":["../../../src/credentials/defaultAzureCredentialOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAEhG;;;GAGG;AACH,MAAM,WAAW,qCAAsC,SAAQ,6BAA6B;IAC1F;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED;;;GAGG;AACH,MAAM,WAAW,uCAAwC,SAAQ,6BAA6B;IAC5F;;;;;;OAMG;IACH,yBAAyB,EAAE,MAAM,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,iCAAiC,EACvC,0BAA0B;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"defaultAzureCredentialOptions.js","sourceRoot":"","sources":["../../../src/credentials/defaultAzureCredentialOptions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AuthorityValidationOptions } from \"./authorityValidationOptions.js\";\nimport type { MultiTenantTokenCredentialOptions } from \"./multiTenantTokenCredentialOptions.js\";\n\n/**\n * Provides options to configure the {@link DefaultAzureCredential} class.\n * This variation supports `managedIdentityClientId` and not `managedIdentityResourceId`, since only one of both is supported.\n */\nexport interface DefaultAzureCredentialClientIdOptions extends DefaultAzureCredentialOptions {\n /**\n * Optionally pass in a user assigned client ID to be used by the {@link ManagedIdentityCredential}.\n * This client ID can also be passed through to the {@link ManagedIdentityCredential} through the environment variable: AZURE_CLIENT_ID.\n */\n managedIdentityClientId?: string;\n /**\n * Optionally pass in a user assigned client ID to be used by the {@link WorkloadIdentityCredential}.\n * This client ID can also be passed through to the {@link WorkloadIdentityCredential} through the environment variable: AZURE_CLIENT_ID.\n */\n workloadIdentityClientId?: string;\n}\n\n/**\n * Provides options to configure the {@link DefaultAzureCredential} class.\n * This variation supports `managedIdentityResourceId` and not `managedIdentityClientId`, since only one of both is supported.\n */\nexport interface DefaultAzureCredentialResourceIdOptions extends DefaultAzureCredentialOptions {\n /**\n * Optionally pass in a resource ID to be used by the {@link ManagedIdentityCredential}.\n * In scenarios such as when user assigned identities are created using an ARM template,\n * where the resource Id of the identity is known but the client Id can't be known ahead of time,\n * this parameter allows programs to use these user assigned identities\n * without having to first determine the client Id of the created identity.\n */\n managedIdentityResourceId: string;\n}\n\n/**\n * Provides options to configure the {@link DefaultAzureCredential} class.\n */\nexport interface DefaultAzureCredentialOptions\n extends MultiTenantTokenCredentialOptions,\n AuthorityValidationOptions {\n /**\n * Optionally pass in a Tenant ID to be used as part of the credential.\n * By default it may use a generic tenant ID depending on the underlying credential.\n */\n tenantId?: string;\n\n /**\n * Timeout configurable for making token requests for developer credentials, namely, {@link AzurePowershellCredential},\n * {@link AzureDeveloperCliCredential} and {@link AzureCliCredential}.\n * Process timeout for credentials should be provided in milliseconds.\n */\n processTimeoutInMs?: number;\n}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deviceCodeCredential-browser.d.mts","sourceRoot":"","sources":["../../../src/credentials/deviceCodeCredential-browser.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAOrE;;;GAGG;AACH,qBAAa,oBAAqB,YAAW,eAAe;IAC1D;;OAEG;;IAMI,QAAQ,IAAI,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;CAI/C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deviceCodeCredential-browser.mjs","sourceRoot":"","sources":["../../../src/credentials/deviceCodeCredential-browser.mts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEnE,MAAM,wBAAwB,GAAG,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;AACpG,MAAM,MAAM,GAAG,gBAAgB,CAAC,sBAAsB,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,OAAO,oBAAoB;IAC/B;;OAEG;IACH;QACE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC;QACvD,MAAM,wBAAwB,CAAC;IACjC,CAAC;IAEM,QAAQ;QACb,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC;QAChE,MAAM,wBAAwB,CAAC;IACjC,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AccessToken, TokenCredential } from \"@azure/core-auth\";\n\nimport { credentialLogger, formatError } from \"../util/logging.js\";\n\nconst BrowserNotSupportedError = new Error(\"DeviceCodeCredential is not supported in the browser.\");\nconst logger = credentialLogger(\"DeviceCodeCredential\");\n\n/**\n * Enables authentication to Microsoft Entra ID using a device code\n * that the user can enter into https://microsoft.com/devicelogin.\n */\nexport class DeviceCodeCredential implements TokenCredential {\n /**\n * Only available in Node.js\n */\n constructor() {\n logger.info(formatError(\"\", BrowserNotSupportedError));\n throw BrowserNotSupportedError;\n }\n\n public getToken(): Promise<AccessToken | null> {\n logger.getToken.info(formatError(\"\", BrowserNotSupportedError));\n throw BrowserNotSupportedError;\n }\n}\n"]}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { AccessToken, TokenCredential } from "@azure/core-auth";
|
2
|
-
/**
|
3
|
-
* Enables authentication to Microsoft Entra ID using a device code
|
4
|
-
* that the user can enter into https://microsoft.com/devicelogin.
|
5
|
-
*/
|
6
|
-
export declare class DeviceCodeCredential implements TokenCredential {
|
7
|
-
/**
|
8
|
-
* Only available in Node.js
|
9
|
-
*/
|
10
|
-
constructor();
|
11
|
-
getToken(): Promise<AccessToken | null>;
|
12
|
-
}
|
13
|
-
//# sourceMappingURL=deviceCodeCredential-browser.d.mts.map
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import type { CredentialPersistenceOptions } from "./credentialPersistenceOptions.js";
|
2
|
-
import type { InteractiveCredentialOptions } from "./interactiveCredentialOptions.js";
|
3
|
-
/**
|
4
|
-
* Provides the user code and verification URI where the code must be
|
5
|
-
* entered. Also provides a message to display to the user which
|
6
|
-
* contains an instruction with these details.
|
7
|
-
*/
|
8
|
-
export interface DeviceCodeInfo {
|
9
|
-
/**
|
10
|
-
* The device code that the user must enter into the verification page.
|
11
|
-
*/
|
12
|
-
userCode: string;
|
13
|
-
/**
|
14
|
-
* The verification URI to which the user must navigate to enter the device
|
15
|
-
* code.
|
16
|
-
*/
|
17
|
-
verificationUri: string;
|
18
|
-
/**
|
19
|
-
* A message that may be shown to the user to instruct them on how to enter
|
20
|
-
* the device code in the page specified by the verification URI.
|
21
|
-
*/
|
22
|
-
message: string;
|
23
|
-
}
|
24
|
-
/**
|
25
|
-
* Defines the signature of a callback which will be passed to
|
26
|
-
* DeviceCodeCredential for the purpose of displaying authentication
|
27
|
-
* details to the user.
|
28
|
-
*/
|
29
|
-
export type DeviceCodePromptCallback = (deviceCodeInfo: DeviceCodeInfo) => void;
|
30
|
-
/**
|
31
|
-
* Defines options for the InteractiveBrowserCredential class for Node.js.
|
32
|
-
*/
|
33
|
-
export interface DeviceCodeCredentialOptions extends InteractiveCredentialOptions, CredentialPersistenceOptions {
|
34
|
-
/**
|
35
|
-
* The Microsoft Entra tenant (directory) ID.
|
36
|
-
*/
|
37
|
-
tenantId?: string;
|
38
|
-
/**
|
39
|
-
* Client ID of the Microsoft Entra application that users will sign into.
|
40
|
-
* It is recommended that developers register their applications and assign appropriate roles.
|
41
|
-
* For more information, visit https://aka.ms/identity/AppRegistrationAndRoleAssignment.
|
42
|
-
* If not specified, users will authenticate to an Azure development application,
|
43
|
-
* which is not recommended for production scenarios.
|
44
|
-
*/
|
45
|
-
clientId?: string;
|
46
|
-
/**
|
47
|
-
* A callback function that will be invoked to show {@link DeviceCodeInfo} to the user.
|
48
|
-
* If left unassigned, we will automatically log the device code information
|
49
|
-
* and the authentication instructions in the console.
|
50
|
-
*/
|
51
|
-
userPromptCallback?: DeviceCodePromptCallback;
|
52
|
-
}
|
53
|
-
//# sourceMappingURL=deviceCodeCredentialOptions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deviceCodeCredentialOptions.d.ts","sourceRoot":"","sources":["../../../src/credentials/deviceCodeCredentialOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,cAAc,EAAE,cAAc,KAAK,IAAI,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,2BACf,SAAQ,4BAA4B,EAClC,4BAA4B;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,wBAAwB,CAAC;CAC/C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deviceCodeCredentialOptions.js","sourceRoot":"","sources":["../../../src/credentials/deviceCodeCredentialOptions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CredentialPersistenceOptions } from \"./credentialPersistenceOptions.js\";\nimport type { InteractiveCredentialOptions } from \"./interactiveCredentialOptions.js\";\n\n/**\n * Provides the user code and verification URI where the code must be\n * entered. Also provides a message to display to the user which\n * contains an instruction with these details.\n */\nexport interface DeviceCodeInfo {\n /**\n * The device code that the user must enter into the verification page.\n */\n userCode: string;\n\n /**\n * The verification URI to which the user must navigate to enter the device\n * code.\n */\n verificationUri: string;\n\n /**\n * A message that may be shown to the user to instruct them on how to enter\n * the device code in the page specified by the verification URI.\n */\n message: string;\n}\n\n/**\n * Defines the signature of a callback which will be passed to\n * DeviceCodeCredential for the purpose of displaying authentication\n * details to the user.\n */\nexport type DeviceCodePromptCallback = (deviceCodeInfo: DeviceCodeInfo) => void;\n\n/**\n * Defines options for the InteractiveBrowserCredential class for Node.js.\n */\nexport interface DeviceCodeCredentialOptions\n extends InteractiveCredentialOptions,\n CredentialPersistenceOptions {\n /**\n * The Microsoft Entra tenant (directory) ID.\n */\n tenantId?: string;\n /**\n * Client ID of the Microsoft Entra application that users will sign into.\n * It is recommended that developers register their applications and assign appropriate roles.\n * For more information, visit https://aka.ms/identity/AppRegistrationAndRoleAssignment.\n * If not specified, users will authenticate to an Azure development application,\n * which is not recommended for production scenarios.\n */\n clientId?: string;\n /**\n * A callback function that will be invoked to show {@link DeviceCodeInfo} to the user.\n * If left unassigned, we will automatically log the device code information\n * and the authentication instructions in the console.\n */\n userPromptCallback?: DeviceCodePromptCallback;\n}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"environmentCredential-browser.d.mts","sourceRoot":"","sources":["../../../src/credentials/environmentCredential-browser.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAQrE;;;GAGG;AACH,qBAAa,qBAAsB,YAAW,eAAe;IAC3D;;OAEG;;IAMH,QAAQ,IAAI,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;CAIxC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"environmentCredential-browser.mjs","sourceRoot":"","sources":["../../../src/credentials/environmentCredential-browser.mts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEnE,MAAM,wBAAwB,GAAG,IAAI,KAAK,CACxC,wDAAwD,CACzD,CAAC;AACF,MAAM,MAAM,GAAG,gBAAgB,CAAC,uBAAuB,CAAC,CAAC;AAEzD;;;GAGG;AACH,MAAM,OAAO,qBAAqB;IAChC;;OAEG;IACH;QACE,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC;QACvD,MAAM,wBAAwB,CAAC;IACjC,CAAC;IAED,QAAQ;QACN,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC;QAChE,MAAM,wBAAwB,CAAC;IACjC,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AccessToken, TokenCredential } from \"@azure/core-auth\";\nimport { credentialLogger, formatError } from \"../util/logging.js\";\n\nconst BrowserNotSupportedError = new Error(\n \"EnvironmentCredential is not supported in the browser.\",\n);\nconst logger = credentialLogger(\"EnvironmentCredential\");\n\n/**\n * Enables authentication to Microsoft Entra ID using client secret\n * details configured in environment variables\n */\nexport class EnvironmentCredential implements TokenCredential {\n /**\n * Only available in Node.js\n */\n constructor() {\n logger.info(formatError(\"\", BrowserNotSupportedError));\n throw BrowserNotSupportedError;\n }\n\n getToken(): Promise<AccessToken | null> {\n logger.getToken.info(formatError(\"\", BrowserNotSupportedError));\n throw BrowserNotSupportedError;\n }\n}\n"]}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { AccessToken, TokenCredential } from "@azure/core-auth";
|
2
|
-
/**
|
3
|
-
* Enables authentication to Microsoft Entra ID using client secret
|
4
|
-
* details configured in environment variables
|
5
|
-
*/
|
6
|
-
export declare class EnvironmentCredential implements TokenCredential {
|
7
|
-
/**
|
8
|
-
* Only available in Node.js
|
9
|
-
*/
|
10
|
-
constructor();
|
11
|
-
getToken(): Promise<AccessToken | null>;
|
12
|
-
}
|
13
|
-
//# sourceMappingURL=environmentCredential-browser.d.mts.map
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { AuthorityValidationOptions } from "./authorityValidationOptions.js";
|
2
|
-
import type { MultiTenantTokenCredentialOptions } from "./multiTenantTokenCredentialOptions.js";
|
3
|
-
/**
|
4
|
-
* Enables authentication to Microsoft Entra ID depending on the available environment variables.
|
5
|
-
* Defines options for the EnvironmentCredential class.
|
6
|
-
*/
|
7
|
-
export interface EnvironmentCredentialOptions extends MultiTenantTokenCredentialOptions, AuthorityValidationOptions {
|
8
|
-
}
|
9
|
-
//# sourceMappingURL=environmentCredentialOptions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"environmentCredentialOptions.d.ts","sourceRoot":"","sources":["../../../src/credentials/environmentCredentialOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAEhG;;;GAGG;AACH,MAAM,WAAW,4BACf,SAAQ,iCAAiC,EACvC,0BAA0B;CAAG"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"environmentCredentialOptions.js","sourceRoot":"","sources":["../../../src/credentials/environmentCredentialOptions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AuthorityValidationOptions } from \"./authorityValidationOptions.js\";\nimport type { MultiTenantTokenCredentialOptions } from \"./multiTenantTokenCredentialOptions.js\";\n\n/**\n * Enables authentication to Microsoft Entra ID depending on the available environment variables.\n * Defines options for the EnvironmentCredential class.\n */\nexport interface EnvironmentCredentialOptions\n extends MultiTenantTokenCredentialOptions,\n AuthorityValidationOptions {}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interactiveBrowserCredential-browser.d.mts","sourceRoot":"","sources":["../../../src/credentials/interactiveBrowserCredential-browser.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACtF,OAAO,KAAK,EACV,4CAA4C,EAC5C,uCAAuC,EACxC,MAAM,0CAA0C,CAAC;AAOlD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAS7D;;;GAGG;AACH,qBAAa,4BAA6B,YAAW,eAAe;IAClE,OAAO,CAAC,QAAQ,CAAC,CAAS;IAC1B,OAAO,CAAC,4BAA4B,CAAW;IAC/C,OAAO,CAAC,QAAQ,CAAW;IAC3B,OAAO,CAAC,8BAA8B,CAAC,CAAU;IAEjD;;;;;;;;;;;;;OAaG;gBAED,OAAO,EAAE,4CAA4C,GAAG,uCAAuC;IA0CjG;;;;;;;;;;;OAWG;IACG,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,GAAE,eAAoB,GAAG,OAAO,CAAC,WAAW,CAAC;IAqB9F;;;;;;;;;OASG;IACG,YAAY,CAChB,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,EACzB,OAAO,GAAE,eAAoB,GAC5B,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC;CAW7C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interactiveBrowserCredential-browser.mjs","sourceRoot":"","sources":["../../../src/credentials/interactiveBrowserCredential-browser.mts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAOlC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EACL,yBAAyB,EACzB,mCAAmC,GACpC,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,MAAM,GAAG,gBAAgB,CAAC,8BAA8B,CAAC,CAAC;AAEhE;;;GAGG;AACH,MAAM,OAAO,4BAA4B;IAMvC;;;;;;;;;;;;;OAaG;IACH,YACE,OAA+F;QAE/F,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAA,EAAE,CAAC;YACvB,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,0FAA0F,CAC3F,CAAC;YACF,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;YACpC,MAAM,KAAK,CAAC;QACd,CAAC;QAED,IAAI,CAAC,QAAQ,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAC;QAClC,IAAI,CAAC,4BAA4B,GAAG,mCAAmC,CACrE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,0BAA0B,CACpC,CAAC;QAEF,MAAM,cAAc,GAAG,OAAuD,CAAC;QAC/E,MAAM,UAAU,GAAG,cAAc,CAAC,UAAU,IAAI,OAAO,CAAC;QACxD,MAAM,WAAW,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QAE1C,IAAI,WAAW,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;YAC3C,MAAM,KAAK,GAAG,IAAI,KAAK,CACrB,uBACE,cAAc,CAAC,UACjB,qCAAqC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAC/D,CAAC;YACF,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;YACpC,MAAM,KAAK,CAAC;QACd,CAAC;QAED,MAAM,WAAW,mCACZ,OAAO,KACV,sBAAsB,EAAE,OAAO,EAC/B,MAAM,EACN,UAAU,EAAE,UAAU,EACtB,WAAW,EACT,OAAO,OAAO,CAAC,WAAW,KAAK,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,GAC1F,CAAC;QAEF,IAAI,CAAC,QAAQ,GAAG,IAAI,YAAY,CAAC,WAAW,CAAC,CAAC;QAC9C,IAAI,CAAC,8BAA8B,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,8BAA8B,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,QAAQ,CAAC,MAAyB,EAAE,UAA2B,EAAE;QACrE,OAAO,aAAa,CAAC,QAAQ,CAC3B,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,WAAW,EACnC,OAAO,EACP,KAAK,EAAE,UAAU,EAAE,EAAE;YACnB,MAAM,QAAQ,GAAG,yBAAyB,CACxC,IAAI,CAAC,QAAQ,EACb,UAAU,EACV,IAAI,CAAC,4BAA4B,CAClC,CAAC;YACF,UAAU,CAAC,QAAQ,GAAG,QAAQ,CAAC;YAE/B,MAAM,WAAW,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;YACzC,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,WAAW,kCACpC,UAAU,KACb,8BAA8B,EAAE,IAAI,CAAC,8BAA8B,IACnE,CAAC;QACL,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,YAAY,CAChB,MAAyB,EACzB,UAA2B,EAAE;QAE7B,OAAO,aAAa,CAAC,QAAQ,CAC3B,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,eAAe,EACvC,OAAO,EACP,KAAK,EAAE,UAAU,EAAE,EAAE;YACnB,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;YAC9D,MAAM,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;YACtD,OAAO,IAAI,CAAC,QAAQ,CAAC,gBAAgB,EAAE,CAAC;QAC1C,CAAC,CACF,CAAC;IACJ,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AccessToken, GetTokenOptions, TokenCredential } from \"@azure/core-auth\";\nimport type {\n InteractiveBrowserCredentialInBrowserOptions,\n InteractiveBrowserCredentialNodeOptions,\n} from \"./interactiveBrowserCredentialOptions.js\";\nimport { credentialLogger, formatError } from \"../util/logging.js\";\nimport {\n processMultiTenantRequest,\n resolveAdditionallyAllowedTenantIds,\n} from \"../util/tenantIdUtils.js\";\n\nimport type { AuthenticationRecord } from \"../msal/types.js\";\nimport { MSALAuthCode } from \"../msal/browserFlows/msalAuthCode.js\";\nimport type { MsalBrowserFlowOptions } from \"../msal/browserFlows/msalBrowserCommon.js\";\nimport type { MsalFlow } from \"../msal/browserFlows/flows.js\";\nimport { ensureScopes } from \"../util/scopeUtils.js\";\nimport { tracingClient } from \"../util/tracing.js\";\n\nconst logger = credentialLogger(\"InteractiveBrowserCredential\");\n\n/**\n * Enables authentication to Microsoft Entra ID inside of the web browser\n * using the interactive login flow.\n */\nexport class InteractiveBrowserCredential implements TokenCredential {\n private tenantId?: string;\n private additionallyAllowedTenantIds: string[];\n private msalFlow: MsalFlow;\n private disableAutomaticAuthentication?: boolean;\n\n /**\n * Creates an instance of the InteractiveBrowserCredential with the\n * details needed to authenticate against Microsoft Entra ID with\n * a user identity.\n *\n * This credential uses the [Authorization Code Flow](https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow).\n * On Node.js, it will open a browser window while it listens for a redirect response from the authentication service.\n * On browsers, it authenticates via popups. The `loginStyle` optional parameter can be set to `redirect` to authenticate by redirecting the user to an Azure secure login page, which then will redirect the user back to the web application where the authentication started.\n *\n * It's recommended that the Microsoft Entra Applications used are configured to authenticate using Single Page Applications.\n * More information here: [link](https://learn.microsoft.com/en-us/azure/active-directory/develop/scenario-spa-app-registration#redirect-uri-msaljs-20-with-auth-code-flow).\n *\n * @param options - Options for configuring the client which makes the authentication request.\n */\n constructor(\n options: InteractiveBrowserCredentialInBrowserOptions | InteractiveBrowserCredentialNodeOptions,\n ) {\n if (!options?.clientId) {\n const error = new Error(\n \"The parameter `clientId` cannot be left undefined for the `InteractiveBrowserCredential`\",\n );\n logger.info(formatError(\"\", error));\n throw error;\n }\n\n this.tenantId = options?.tenantId;\n this.additionallyAllowedTenantIds = resolveAdditionallyAllowedTenantIds(\n options?.additionallyAllowedTenants,\n );\n\n const browserOptions = options as InteractiveBrowserCredentialInBrowserOptions;\n const loginStyle = browserOptions.loginStyle || \"popup\";\n const loginStyles = [\"redirect\", \"popup\"];\n\n if (loginStyles.indexOf(loginStyle) === -1) {\n const error = new Error(\n `Invalid loginStyle: ${\n browserOptions.loginStyle\n }. Should be any of the following: ${loginStyles.join(\", \")}.`,\n );\n logger.info(formatError(\"\", error));\n throw error;\n }\n\n const msalOptions: MsalBrowserFlowOptions = {\n ...options,\n tokenCredentialOptions: options,\n logger,\n loginStyle: loginStyle,\n redirectUri:\n typeof options.redirectUri === \"function\" ? options.redirectUri() : options.redirectUri,\n };\n\n this.msalFlow = new MSALAuthCode(msalOptions);\n this.disableAutomaticAuthentication = options?.disableAutomaticAuthentication;\n }\n\n /**\n * Authenticates with Microsoft Entra ID and returns an access token if successful.\n * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure.\n *\n * If the user provided the option `disableAutomaticAuthentication`,\n * once the token can't be retrieved silently,\n * this method won't attempt to request user interaction to retrieve the token.\n *\n * @param scopes - The list of scopes for which the token will have access.\n * @param options - The options used to configure any requests this\n * TokenCredential implementation might make.\n */\n async getToken(scopes: string | string[], options: GetTokenOptions = {}): Promise<AccessToken> {\n return tracingClient.withSpan(\n `${this.constructor.name}.getToken`,\n options,\n async (newOptions) => {\n const tenantId = processMultiTenantRequest(\n this.tenantId,\n newOptions,\n this.additionallyAllowedTenantIds,\n );\n newOptions.tenantId = tenantId;\n\n const arrayScopes = ensureScopes(scopes);\n return this.msalFlow.getToken(arrayScopes, {\n ...newOptions,\n disableAutomaticAuthentication: this.disableAutomaticAuthentication,\n });\n },\n );\n }\n\n /**\n * Authenticates with Microsoft Entra ID and returns an access token if successful.\n * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure.\n *\n * If the token can't be retrieved silently, this method will require user interaction to retrieve the token.\n *\n * @param scopes - The list of scopes for which the token will have access.\n * @param options - The options used to configure any requests this\n * TokenCredential implementation might make.\n */\n async authenticate(\n scopes: string | string[],\n options: GetTokenOptions = {},\n ): Promise<AuthenticationRecord | undefined> {\n return tracingClient.withSpan(\n `${this.constructor.name}.authenticate`,\n options,\n async (newOptions) => {\n const arrayScopes = Array.isArray(scopes) ? scopes : [scopes];\n await this.msalFlow.getToken(arrayScopes, newOptions);\n return this.msalFlow.getActiveAccount();\n },\n );\n }\n}\n"]}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import type { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth";
|
2
|
-
import type { InteractiveBrowserCredentialInBrowserOptions, InteractiveBrowserCredentialNodeOptions } from "./interactiveBrowserCredentialOptions.js";
|
3
|
-
import type { AuthenticationRecord } from "../msal/types.js";
|
4
|
-
/**
|
5
|
-
* Enables authentication to Microsoft Entra ID inside of the web browser
|
6
|
-
* using the interactive login flow.
|
7
|
-
*/
|
8
|
-
export declare class InteractiveBrowserCredential implements TokenCredential {
|
9
|
-
private tenantId?;
|
10
|
-
private additionallyAllowedTenantIds;
|
11
|
-
private msalFlow;
|
12
|
-
private disableAutomaticAuthentication?;
|
13
|
-
/**
|
14
|
-
* Creates an instance of the InteractiveBrowserCredential with the
|
15
|
-
* details needed to authenticate against Microsoft Entra ID with
|
16
|
-
* a user identity.
|
17
|
-
*
|
18
|
-
* This credential uses the [Authorization Code Flow](https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow).
|
19
|
-
* On Node.js, it will open a browser window while it listens for a redirect response from the authentication service.
|
20
|
-
* On browsers, it authenticates via popups. The `loginStyle` optional parameter can be set to `redirect` to authenticate by redirecting the user to an Azure secure login page, which then will redirect the user back to the web application where the authentication started.
|
21
|
-
*
|
22
|
-
* It's recommended that the Microsoft Entra Applications used are configured to authenticate using Single Page Applications.
|
23
|
-
* More information here: [link](https://learn.microsoft.com/en-us/azure/active-directory/develop/scenario-spa-app-registration#redirect-uri-msaljs-20-with-auth-code-flow).
|
24
|
-
*
|
25
|
-
* @param options - Options for configuring the client which makes the authentication request.
|
26
|
-
*/
|
27
|
-
constructor(options: InteractiveBrowserCredentialInBrowserOptions | InteractiveBrowserCredentialNodeOptions);
|
28
|
-
/**
|
29
|
-
* Authenticates with Microsoft Entra ID and returns an access token if successful.
|
30
|
-
* If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure.
|
31
|
-
*
|
32
|
-
* If the user provided the option `disableAutomaticAuthentication`,
|
33
|
-
* once the token can't be retrieved silently,
|
34
|
-
* this method won't attempt to request user interaction to retrieve the token.
|
35
|
-
*
|
36
|
-
* @param scopes - The list of scopes for which the token will have access.
|
37
|
-
* @param options - The options used to configure any requests this
|
38
|
-
* TokenCredential implementation might make.
|
39
|
-
*/
|
40
|
-
getToken(scopes: string | string[], options?: GetTokenOptions): Promise<AccessToken>;
|
41
|
-
/**
|
42
|
-
* Authenticates with Microsoft Entra ID and returns an access token if successful.
|
43
|
-
* If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure.
|
44
|
-
*
|
45
|
-
* If the token can't be retrieved silently, this method will require user interaction to retrieve the token.
|
46
|
-
*
|
47
|
-
* @param scopes - The list of scopes for which the token will have access.
|
48
|
-
* @param options - The options used to configure any requests this
|
49
|
-
* TokenCredential implementation might make.
|
50
|
-
*/
|
51
|
-
authenticate(scopes: string | string[], options?: GetTokenOptions): Promise<AuthenticationRecord | undefined>;
|
52
|
-
}
|
53
|
-
//# sourceMappingURL=interactiveBrowserCredential-browser.d.mts.map
|
@@ -1,77 +0,0 @@
|
|
1
|
-
import type { BrowserCustomizationOptions } from "./browserCustomizationOptions.js";
|
2
|
-
import type { BrokerAuthOptions } from "./brokerAuthOptions.js";
|
3
|
-
import type { CredentialPersistenceOptions } from "./credentialPersistenceOptions.js";
|
4
|
-
import type { InteractiveCredentialOptions } from "./interactiveCredentialOptions.js";
|
5
|
-
/**
|
6
|
-
* (Browser-only feature)
|
7
|
-
* The "login style" to use in the authentication flow:
|
8
|
-
* - "redirect" redirects the user to the authentication page and then
|
9
|
-
* redirects them back to the page once authentication is completed.
|
10
|
-
* - "popup" opens a new browser window through with the redirect flow
|
11
|
-
* is initiated. The user's existing browser window does not leave
|
12
|
-
* the current page
|
13
|
-
*/
|
14
|
-
export type BrowserLoginStyle = "redirect" | "popup";
|
15
|
-
/**
|
16
|
-
* Defines the common options for the InteractiveBrowserCredential class.
|
17
|
-
*/
|
18
|
-
export interface InteractiveBrowserCredentialNodeOptions extends InteractiveCredentialOptions, CredentialPersistenceOptions, BrowserCustomizationOptions, BrokerAuthOptions {
|
19
|
-
/**
|
20
|
-
* Gets the redirect URI of the application. This should be same as the value
|
21
|
-
* in the application registration portal. Defaults to `window.location.href`.
|
22
|
-
* This field is no longer required for Node.js.
|
23
|
-
*/
|
24
|
-
redirectUri?: string | (() => string);
|
25
|
-
/**
|
26
|
-
* The Microsoft Entra tenant (directory) ID.
|
27
|
-
*/
|
28
|
-
tenantId?: string;
|
29
|
-
/**
|
30
|
-
* The Client ID of the Microsoft Entra application that users will sign into.
|
31
|
-
* It is recommended that developers register their applications and assign appropriate roles.
|
32
|
-
* For more information, visit https://aka.ms/identity/AppRegistrationAndRoleAssignment.
|
33
|
-
* If not specified, users will authenticate to an Azure development application,
|
34
|
-
* which is not recommended for production scenarios.
|
35
|
-
*/
|
36
|
-
clientId?: string;
|
37
|
-
/**
|
38
|
-
* loginHint allows a user name to be pre-selected for interactive logins.
|
39
|
-
* Setting this option skips the account selection prompt and immediately attempts to login with the specified account.
|
40
|
-
*/
|
41
|
-
loginHint?: string;
|
42
|
-
}
|
43
|
-
/**
|
44
|
-
* Defines the common options for the InteractiveBrowserCredential class.
|
45
|
-
*/
|
46
|
-
export interface InteractiveBrowserCredentialInBrowserOptions extends InteractiveCredentialOptions {
|
47
|
-
/**
|
48
|
-
* Gets the redirect URI of the application. This should be same as the value
|
49
|
-
* in the application registration portal. Defaults to `window.location.href`.
|
50
|
-
* This field is no longer required for Node.js.
|
51
|
-
*/
|
52
|
-
redirectUri?: string | (() => string);
|
53
|
-
/**
|
54
|
-
* The Microsoft Entra tenant (directory) ID.
|
55
|
-
*/
|
56
|
-
tenantId?: string;
|
57
|
-
/**
|
58
|
-
* The Client ID of the Microsoft Entra application that users will sign into.
|
59
|
-
* This parameter is required on the browser.
|
60
|
-
* Developers need to register their applications and assign appropriate roles.
|
61
|
-
* For more information, visit https://aka.ms/identity/AppRegistrationAndRoleAssignment.
|
62
|
-
*/
|
63
|
-
clientId: string;
|
64
|
-
/**
|
65
|
-
* Specifies whether a redirect or a popup window should be used to
|
66
|
-
* initiate the user authentication flow. Possible values are "redirect"
|
67
|
-
* or "popup" (default) for browser and "popup" (default) for node.
|
68
|
-
*
|
69
|
-
*/
|
70
|
-
loginStyle?: BrowserLoginStyle;
|
71
|
-
/**
|
72
|
-
* loginHint allows a user name to be pre-selected for interactive logins.
|
73
|
-
* Setting this option skips the account selection prompt and immediately attempts to login with the specified account.
|
74
|
-
*/
|
75
|
-
loginHint?: string;
|
76
|
-
}
|
77
|
-
//# sourceMappingURL=interactiveBrowserCredentialOptions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interactiveBrowserCredentialOptions.d.ts","sourceRoot":"","sources":["../../../src/credentials/interactiveBrowserCredentialOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF;;;;;;;;GAQG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,OAAO,CAAC;AAErD;;GAEG;AACH,MAAM,WAAW,uCACf,SAAQ,4BAA4B,EAClC,4BAA4B,EAC5B,2BAA2B,EAC3B,iBAAiB;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,4CAA6C,SAAQ,4BAA4B;IAChG;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAE/B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interactiveBrowserCredentialOptions.js","sourceRoot":"","sources":["../../../src/credentials/interactiveBrowserCredentialOptions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { BrowserCustomizationOptions } from \"./browserCustomizationOptions.js\";\nimport type { BrokerAuthOptions } from \"./brokerAuthOptions.js\";\nimport type { CredentialPersistenceOptions } from \"./credentialPersistenceOptions.js\";\nimport type { InteractiveCredentialOptions } from \"./interactiveCredentialOptions.js\";\n\n/**\n * (Browser-only feature)\n * The \"login style\" to use in the authentication flow:\n * - \"redirect\" redirects the user to the authentication page and then\n * redirects them back to the page once authentication is completed.\n * - \"popup\" opens a new browser window through with the redirect flow\n * is initiated. The user's existing browser window does not leave\n * the current page\n */\nexport type BrowserLoginStyle = \"redirect\" | \"popup\";\n\n/**\n * Defines the common options for the InteractiveBrowserCredential class.\n */\nexport interface InteractiveBrowserCredentialNodeOptions\n extends InteractiveCredentialOptions,\n CredentialPersistenceOptions,\n BrowserCustomizationOptions,\n BrokerAuthOptions {\n /**\n * Gets the redirect URI of the application. This should be same as the value\n * in the application registration portal. Defaults to `window.location.href`.\n * This field is no longer required for Node.js.\n */\n redirectUri?: string | (() => string);\n\n /**\n * The Microsoft Entra tenant (directory) ID.\n */\n tenantId?: string;\n\n /**\n * The Client ID of the Microsoft Entra application that users will sign into.\n * It is recommended that developers register their applications and assign appropriate roles.\n * For more information, visit https://aka.ms/identity/AppRegistrationAndRoleAssignment.\n * If not specified, users will authenticate to an Azure development application,\n * which is not recommended for production scenarios.\n */\n clientId?: string;\n\n /**\n * loginHint allows a user name to be pre-selected for interactive logins.\n * Setting this option skips the account selection prompt and immediately attempts to login with the specified account.\n */\n loginHint?: string;\n}\n\n/**\n * Defines the common options for the InteractiveBrowserCredential class.\n */\nexport interface InteractiveBrowserCredentialInBrowserOptions extends InteractiveCredentialOptions {\n /**\n * Gets the redirect URI of the application. This should be same as the value\n * in the application registration portal. Defaults to `window.location.href`.\n * This field is no longer required for Node.js.\n */\n redirectUri?: string | (() => string);\n\n /**\n * The Microsoft Entra tenant (directory) ID.\n */\n tenantId?: string;\n\n /**\n * The Client ID of the Microsoft Entra application that users will sign into.\n * This parameter is required on the browser.\n * Developers need to register their applications and assign appropriate roles.\n * For more information, visit https://aka.ms/identity/AppRegistrationAndRoleAssignment.\n */\n clientId: string;\n\n /**\n * Specifies whether a redirect or a popup window should be used to\n * initiate the user authentication flow. Possible values are \"redirect\"\n * or \"popup\" (default) for browser and \"popup\" (default) for node.\n *\n */\n loginStyle?: BrowserLoginStyle;\n\n /**\n * loginHint allows a user name to be pre-selected for interactive logins.\n * Setting this option skips the account selection prompt and immediately attempts to login with the specified account.\n */\n loginHint?: string;\n}\n"]}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import type { AuthenticationRecord } from "../msal/types.js";
|
2
|
-
import type { AuthorityValidationOptions } from "./authorityValidationOptions.js";
|
3
|
-
import type { MultiTenantTokenCredentialOptions } from "./multiTenantTokenCredentialOptions.js";
|
4
|
-
/**
|
5
|
-
* Common constructor options for the Identity credentials that requires user interaction.
|
6
|
-
*/
|
7
|
-
export interface InteractiveCredentialOptions extends MultiTenantTokenCredentialOptions, AuthorityValidationOptions {
|
8
|
-
/**
|
9
|
-
* Result of a previous authentication that can be used to retrieve the cached credentials of each individual account.
|
10
|
-
* This is necessary to provide in case the application wants to work with more than one account per
|
11
|
-
* Client ID and Tenant ID pair.
|
12
|
-
*
|
13
|
-
* This record can be retrieved by calling to the credential's `authenticate()` method, as follows:
|
14
|
-
*
|
15
|
-
* const authenticationRecord = await credential.authenticate();
|
16
|
-
*
|
17
|
-
*/
|
18
|
-
authenticationRecord?: AuthenticationRecord;
|
19
|
-
/**
|
20
|
-
* Makes getToken throw if a manual authentication is necessary.
|
21
|
-
* Developers will need to call to `authenticate()` to control when to manually authenticate.
|
22
|
-
*/
|
23
|
-
disableAutomaticAuthentication?: boolean;
|
24
|
-
}
|
25
|
-
//# sourceMappingURL=interactiveCredentialOptions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interactiveCredentialOptions.d.ts","sourceRoot":"","sources":["../../../src/credentials/interactiveCredentialOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAEhG;;GAEG;AACH,MAAM,WAAW,4BACf,SAAQ,iCAAiC,EACvC,0BAA0B;IAC5B;;;;;;;;;OASG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAE5C;;;OAGG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC1C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interactiveCredentialOptions.js","sourceRoot":"","sources":["../../../src/credentials/interactiveCredentialOptions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AuthenticationRecord } from \"../msal/types.js\";\nimport type { AuthorityValidationOptions } from \"./authorityValidationOptions.js\";\nimport type { MultiTenantTokenCredentialOptions } from \"./multiTenantTokenCredentialOptions.js\";\n\n/**\n * Common constructor options for the Identity credentials that requires user interaction.\n */\nexport interface InteractiveCredentialOptions\n extends MultiTenantTokenCredentialOptions,\n AuthorityValidationOptions {\n /**\n * Result of a previous authentication that can be used to retrieve the cached credentials of each individual account.\n * This is necessary to provide in case the application wants to work with more than one account per\n * Client ID and Tenant ID pair.\n *\n * This record can be retrieved by calling to the credential's `authenticate()` method, as follows:\n *\n * const authenticationRecord = await credential.authenticate();\n *\n */\n authenticationRecord?: AuthenticationRecord;\n\n /**\n * Makes getToken throw if a manual authentication is necessary.\n * Developers will need to call to `authenticate()` to control when to manually authenticate.\n */\n disableAutomaticAuthentication?: boolean;\n}\n"]}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import type { GetTokenOptions } from "@azure/core-auth";
|
2
|
-
import type { IdentityClient } from "../../client/identityClient.js";
|
3
|
-
/**
|
4
|
-
* Defines how to determine whether the Azure IMDS MSI is available.
|
5
|
-
*
|
6
|
-
* Actually getting the token once we determine IMDS is available is handled by MSAL.
|
7
|
-
*/
|
8
|
-
export declare const imdsMsi: {
|
9
|
-
name: string;
|
10
|
-
isAvailable(options: {
|
11
|
-
scopes: string | string[];
|
12
|
-
identityClient?: IdentityClient;
|
13
|
-
clientId?: string;
|
14
|
-
resourceId?: string;
|
15
|
-
getTokenOptions?: GetTokenOptions;
|
16
|
-
}): Promise<boolean>;
|
17
|
-
};
|
18
|
-
//# sourceMappingURL=imdsMsi.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"imdsMsi.d.ts","sourceRoot":"","sources":["../../../../src/credentials/managedIdentityCredential/imdsMsi.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAIxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAkErE;;;;GAIG;AACH,eAAO,MAAM,OAAO;;yBAES;QACzB,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;QAC1B,cAAc,CAAC,EAAE,cAAc,CAAC;QAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,eAAe,CAAC,EAAE,eAAe,CAAC;KACnC,GAAG,OAAO,CAAC,OAAO,CAAC;CAmErB,CAAC"}
|