@azure/identity 2.0.2-alpha.20211206.2 → 2.0.2-alpha.20211221.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @azure/identity might be problematic. Click here for more details.
- package/README.md +1 -1
- package/dist/index.js +106 -112
- package/dist/index.js.map +1 -1
- package/dist-esm/src/client/identityClient.js +14 -14
- package/dist-esm/src/client/identityClient.js.map +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/credentials/authorizationCodeCredential.js.map +1 -1
- package/dist-esm/src/credentials/azureApplicationCredential.js +1 -1
- package/dist-esm/src/credentials/azureApplicationCredential.js.map +1 -1
- package/dist-esm/src/credentials/azureCliCredential.js +4 -4
- package/dist-esm/src/credentials/azureCliCredential.js.map +1 -1
- package/dist-esm/src/credentials/azurePowerShellCredential.js +6 -6
- package/dist-esm/src/credentials/azurePowerShellCredential.js.map +1 -1
- package/dist-esm/src/credentials/chainedTokenCredential.js +1 -1
- package/dist-esm/src/credentials/chainedTokenCredential.js.map +1 -1
- package/dist-esm/src/credentials/clientCertificateCredential.js +1 -1
- package/dist-esm/src/credentials/clientCertificateCredential.js.map +1 -1
- package/dist-esm/src/credentials/clientSecretCredential.browser.js +4 -4
- package/dist-esm/src/credentials/clientSecretCredential.browser.js.map +1 -1
- package/dist-esm/src/credentials/clientSecretCredential.js.map +1 -1
- package/dist-esm/src/credentials/defaultAzureCredential.js +1 -1
- package/dist-esm/src/credentials/defaultAzureCredential.js.map +1 -1
- package/dist-esm/src/credentials/deviceCodeCredential.js.map +1 -1
- package/dist-esm/src/credentials/environmentCredential.js +2 -5
- package/dist-esm/src/credentials/environmentCredential.js.map +1 -1
- package/dist-esm/src/credentials/interactiveBrowserCredential.browser.js.map +1 -1
- package/dist-esm/src/credentials/interactiveBrowserCredential.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2017.js +5 -5
- package/dist-esm/src/credentials/managedIdentityCredential/appServiceMsi2017.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/arcMsi.js +5 -5
- package/dist-esm/src/credentials/managedIdentityCredential/arcMsi.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/cloudShellMsi.js +5 -5
- package/dist-esm/src/credentials/managedIdentityCredential/cloudShellMsi.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/fabricMsi.js +8 -11
- package/dist-esm/src/credentials/managedIdentityCredential/fabricMsi.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/imdsMsi.js +9 -9
- package/dist-esm/src/credentials/managedIdentityCredential/imdsMsi.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/index.js +4 -4
- package/dist-esm/src/credentials/managedIdentityCredential/index.js.map +1 -1
- package/dist-esm/src/credentials/managedIdentityCredential/tokenExchangeMsi.js +5 -5
- package/dist-esm/src/credentials/managedIdentityCredential/tokenExchangeMsi.js.map +1 -1
- package/dist-esm/src/credentials/onBehalfOfCredential.js.map +1 -1
- package/dist-esm/src/credentials/usernamePasswordCredential.browser.js +4 -4
- package/dist-esm/src/credentials/usernamePasswordCredential.browser.js.map +1 -1
- package/dist-esm/src/credentials/usernamePasswordCredential.js.map +1 -1
- package/dist-esm/src/credentials/visualStudioCodeCredential.browser.js +1 -1
- package/dist-esm/src/credentials/visualStudioCodeCredential.browser.js.map +1 -1
- package/dist-esm/src/credentials/visualStudioCodeCredential.js +6 -6
- package/dist-esm/src/credentials/visualStudioCodeCredential.js.map +1 -1
- package/dist-esm/src/errors.js +5 -5
- package/dist-esm/src/errors.js.map +1 -1
- package/dist-esm/src/index.js +5 -5
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/msal/browserFlows/msalAuthCode.js +9 -9
- package/dist-esm/src/msal/browserFlows/msalAuthCode.js.map +1 -1
- package/dist-esm/src/msal/browserFlows/msalBrowserCommon.js +3 -3
- package/dist-esm/src/msal/browserFlows/msalBrowserCommon.js.map +1 -1
- package/dist-esm/src/msal/nodeFlows/msalAuthorizationCode.js +1 -1
- package/dist-esm/src/msal/nodeFlows/msalAuthorizationCode.js.map +1 -1
- package/dist-esm/src/msal/nodeFlows/msalClientCertificate.js +2 -2
- package/dist-esm/src/msal/nodeFlows/msalClientCertificate.js.map +1 -1
- package/dist-esm/src/msal/nodeFlows/msalClientSecret.js +1 -1
- package/dist-esm/src/msal/nodeFlows/msalClientSecret.js.map +1 -1
- package/dist-esm/src/msal/nodeFlows/msalDeviceCode.js +1 -1
- package/dist-esm/src/msal/nodeFlows/msalDeviceCode.js.map +1 -1
- package/dist-esm/src/msal/nodeFlows/msalNodeCommon.js +11 -11
- package/dist-esm/src/msal/nodeFlows/msalNodeCommon.js.map +1 -1
- package/dist-esm/src/msal/nodeFlows/msalOnBehalfOf.js +2 -2
- package/dist-esm/src/msal/nodeFlows/msalOnBehalfOf.js.map +1 -1
- package/dist-esm/src/msal/nodeFlows/msalOpenBrowser.js +5 -5
- package/dist-esm/src/msal/nodeFlows/msalOpenBrowser.js.map +1 -1
- package/dist-esm/src/msal/nodeFlows/msalUsernamePassword.js +1 -1
- package/dist-esm/src/msal/nodeFlows/msalUsernamePassword.js.map +1 -1
- package/dist-esm/src/msal/utils.js +3 -3
- package/dist-esm/src/msal/utils.js.map +1 -1
- package/dist-esm/src/plugins/consumer.js +1 -1
- package/dist-esm/src/plugins/consumer.js.map +1 -1
- package/dist-esm/src/regionalAuthority.js.map +1 -1
- package/dist-esm/src/util/logging.js +1 -1
- package/dist-esm/src/util/logging.js.map +1 -1
- package/dist-esm/src/util/processUtils.js +1 -1
- package/dist-esm/src/util/processUtils.js.map +1 -1
- package/dist-esm/src/util/tracing.js +3 -3
- package/dist-esm/src/util/tracing.js.map +1 -1
- package/package.json +22 -12
- package/types/identity.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/identity",
|
|
3
3
|
"sdk-type": "client",
|
|
4
|
-
"version": "2.0.2-alpha.
|
|
4
|
+
"version": "2.0.2-alpha.20211221.3",
|
|
5
5
|
"description": "Provides credential implementations for Azure SDK libraries that can authenticate with Azure Active Directory",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist-esm/src/index.js",
|
|
@@ -29,16 +29,27 @@
|
|
|
29
29
|
"./dist-esm/src/plugins/consumer.js": "./dist-esm/src/plugins/consumer.browser.js",
|
|
30
30
|
"./dist-esm/test/httpRequests.js": "./dist-esm/test/httpRequests.browser.js"
|
|
31
31
|
},
|
|
32
|
+
"//sampleConfiguration": {
|
|
33
|
+
"productName": "Azure Identity",
|
|
34
|
+
"productSlugs": [
|
|
35
|
+
"azure",
|
|
36
|
+
"azure-active-directory"
|
|
37
|
+
],
|
|
38
|
+
"requiredResources": {
|
|
39
|
+
"Azure Active Directory App Registration": "https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app",
|
|
40
|
+
"Azure Key Vault": "https://docs.microsoft.com/azure/key-vault/quick-create-portal"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
32
43
|
"scripts": {
|
|
33
44
|
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
|
|
34
|
-
"build:samples": "echo
|
|
45
|
+
"build:samples": "echo Obsolete.",
|
|
35
46
|
"build:test": "tsc -p . && rollup -c 2>&1",
|
|
36
47
|
"build": "npm run clean && npm run extract-api && tsc -p . && rollup -c 2>&1",
|
|
37
|
-
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\" \"samples/**/*.{js,json}\"",
|
|
38
48
|
"clean": "rimraf dist dist-* types *.tgz *.log",
|
|
39
|
-
"execute:samples": "
|
|
49
|
+
"execute:samples": "dev-tool samples run samples-dev",
|
|
40
50
|
"extract-api": "tsc -p . && api-extractor run --local",
|
|
41
|
-
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"
|
|
51
|
+
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
52
|
+
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
42
53
|
"integration-test:browser": "echo skipped",
|
|
43
54
|
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 180000 --full-trace \"dist-esm/test/public/node/*.spec.js\"",
|
|
44
55
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
@@ -51,8 +62,7 @@
|
|
|
51
62
|
"unit-test:browser": "karma start --single-run",
|
|
52
63
|
"unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 300000 --full-trace --exclude \"test/**/browser/**/*.spec.ts\" \"test/**/*.spec.ts\"",
|
|
53
64
|
"unit-test:node:no-timeouts": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --no-timeouts --full-trace --exclude \"test/**/browser/**/*.spec.ts\" \"test/**/*.spec.ts\"",
|
|
54
|
-
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
|
|
55
|
-
"docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src"
|
|
65
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
|
|
56
66
|
},
|
|
57
67
|
"files": [
|
|
58
68
|
"dist/",
|
|
@@ -111,6 +121,7 @@
|
|
|
111
121
|
"uuid": "^8.3.0"
|
|
112
122
|
},
|
|
113
123
|
"devDependencies": {
|
|
124
|
+
"@azure/keyvault-keys": "4.2.0",
|
|
114
125
|
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
|
115
126
|
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
116
127
|
"@azure/test-utils": ">=1.0.0-alpha <1.0.0-alphb",
|
|
@@ -135,16 +146,15 @@
|
|
|
135
146
|
"karma-mocha-reporter": "^2.2.5",
|
|
136
147
|
"karma-sourcemap-loader": "^0.3.8",
|
|
137
148
|
"mocha": "^7.1.1",
|
|
138
|
-
"mocha-junit-reporter": "^
|
|
139
|
-
"nyc": "^
|
|
140
|
-
"prettier": "^
|
|
149
|
+
"mocha-junit-reporter": "^2.0.0",
|
|
150
|
+
"nyc": "^15.0.0",
|
|
151
|
+
"prettier": "^2.5.1",
|
|
141
152
|
"puppeteer": "^10.2.0",
|
|
142
153
|
"rimraf": "^3.0.0",
|
|
143
154
|
"rollup": "^1.16.3",
|
|
144
155
|
"typescript": "~4.2.0",
|
|
145
156
|
"util": "^0.12.1",
|
|
146
157
|
"sinon": "^9.0.2",
|
|
147
|
-
"@types/sinon": "^9.0.4"
|
|
148
|
-
"typedoc": "0.15.2"
|
|
158
|
+
"@types/sinon": "^9.0.4"
|
|
149
159
|
}
|
|
150
160
|
}
|
package/types/identity.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ export declare class AuthorizationCodeCredential implements TokenCredential {
|
|
|
130
130
|
* the authorization code flow to obtain an authorization code to be used
|
|
131
131
|
* with this credential. A full example of this flow is provided here:
|
|
132
132
|
*
|
|
133
|
-
* https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/manual/authorizationCodeSample.ts
|
|
133
|
+
* https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/v2/manual/authorizationCodeSample.ts
|
|
134
134
|
*
|
|
135
135
|
* @param tenantId - The Azure Active Directory tenant (directory) ID or name.
|
|
136
136
|
* 'common' may be used when dealing with multi-tenant scenarios.
|
|
@@ -153,7 +153,7 @@ export declare class AuthorizationCodeCredential implements TokenCredential {
|
|
|
153
153
|
* the authorization code flow to obtain an authorization code to be used
|
|
154
154
|
* with this credential. A full example of this flow is provided here:
|
|
155
155
|
*
|
|
156
|
-
* https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/manual/authorizationCodeSample.ts
|
|
156
|
+
* https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/v2/manual/authorizationCodeSample.ts
|
|
157
157
|
*
|
|
158
158
|
* @param tenantId - The Azure Active Directory tenant (directory) ID or name.
|
|
159
159
|
* 'common' may be used when dealing with multi-tenant scenarios.
|