@azure/identity 4.0.0-beta.1 → 4.0.1-alpha.20240109.1
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 +25 -20
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/credentials/brokerAuthOptions.js.map +1 -1
- package/dist-esm/src/credentials/browserCustomizationOptions.js.map +1 -1
- package/package.json +11 -12
- package/types/identity.d.ts +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AAEnC;;;GAGG;AACH,2EAA2E;AAC3E,6CAA6C;AAC7C,uGAAuG;AACvG,MAAM,CAAC,MAAM,uBAAuB,GAAG,sCAAsC,CAAC;AAE9E;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC;AAExC;;GAEG;AACH,MAAM,CAAN,IAAY,mBAiBX;AAjBD,WAAY,mBAAmB;IAC7B;;OAEG;IACH,oEAA6C,CAAA;IAC7C;;OAEG;IACH,wEAAiD,CAAA;IACjD;;OAEG;IACH,2EAAoD,CAAA;IACpD;;OAEG;IACH,6EAAsD,CAAA;AACxD,CAAC,EAjBW,mBAAmB,KAAnB,mBAAmB,QAiB9B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC;AAEzE;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAa,CAAC,GAAG,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC;AACvC,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Current version of the `@azure/identity` package.\n */\nexport const SDK_VERSION = `4.0.1`;\n\n/**\n * The default client ID for authentication\n * @internal\n */\n// TODO: temporary - this is the Azure CLI clientID - we'll replace it when\n// Developer Sign On application is available\n// https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/src/Constants.cs#L9\nexport const DeveloperSignOnClientId = \"04b07795-8ddb-461a-bbee-02f9e1bf7b46\";\n\n/**\n * The default tenant for authentication\n * @internal\n */\nexport const DefaultTenantId = \"common\";\n\n/**\n * A list of known Azure authority hosts\n */\nexport enum AzureAuthorityHosts {\n /**\n * China-based Azure Authority Host\n */\n AzureChina = \"https://login.chinacloudapi.cn\",\n /**\n * Germany-based Azure Authority Host\n */\n AzureGermany = \"https://login.microsoftonline.de\",\n /**\n * US Government Azure Authority Host\n */\n AzureGovernment = \"https://login.microsoftonline.us\",\n /**\n * Public Cloud Azure Authority Host\n */\n AzurePublicCloud = \"https://login.microsoftonline.com\",\n}\n\n/**\n * The default authority host.\n */\nexport const DefaultAuthorityHost = AzureAuthorityHosts.AzurePublicCloud;\n\n/**\n * Allow acquiring tokens for any tenant for multi-tentant auth.\n */\nexport const ALL_TENANTS: string[] = [\"*\"];\n\nexport const CACHE_CAE_SUFFIX = \".cae\";\nexport const CACHE_NON_CAE_SUFFIX = \".nocae\";\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brokerAuthOptions.js","sourceRoot":"","sources":["../../../src/credentials/brokerAuthOptions.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport { BrokerOptions } from \"../msal/nodeFlows/brokerOptions\";\n\n/**\n * Configuration options for InteractiveBrowserCredential\n * to support WAM Broker Authentication.\n */\n\nexport interface BrokerAuthOptions {\n /**\n * Options to allow broker authentication when using InteractiveBrowserCredential\n *\n */\n brokerOptions
|
|
1
|
+
{"version":3,"file":"brokerAuthOptions.js","sourceRoot":"","sources":["../../../src/credentials/brokerAuthOptions.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport { BrokerOptions } from \"../msal/nodeFlows/brokerOptions\";\n\n/**\n * Configuration options for InteractiveBrowserCredential\n * to support WAM Broker Authentication.\n */\n\nexport interface BrokerAuthOptions {\n /**\n * Options to allow broker authentication when using InteractiveBrowserCredential\n *\n */\n brokerOptions?: BrokerOptions;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserCustomizationOptions.js","sourceRoot":"","sources":["../../../src/credentials/browserCustomizationOptions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Shared configuration options for browser customization\n */\nexport interface BrowserCustomizationOptions {\n /**\n * Shared configuration options for browser customization\n */\n browserCustomizationOptions?: {\n /**\n * Format for error messages for display in browser\n */\n errorMessage
|
|
1
|
+
{"version":3,"file":"browserCustomizationOptions.js","sourceRoot":"","sources":["../../../src/credentials/browserCustomizationOptions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Shared configuration options for browser customization\n */\nexport interface BrowserCustomizationOptions {\n /**\n * Shared configuration options for browser customization\n */\n browserCustomizationOptions?: {\n /**\n * Format for error messages for display in browser\n */\n errorMessage?: string;\n /**\n * Format for success messages for display in browser\n */\n successMessage?: string;\n };\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/identity",
|
|
3
3
|
"sdk-type": "client",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.1-alpha.20240109.1",
|
|
5
5
|
"description": "Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist-esm/src/index.js",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
]
|
|
85
85
|
},
|
|
86
86
|
"engines": {
|
|
87
|
-
"node": ">=
|
|
87
|
+
"node": ">=18.0.0"
|
|
88
88
|
},
|
|
89
89
|
"repository": "github:Azure/azure-sdk-for-js",
|
|
90
90
|
"keywords": [
|
|
@@ -111,10 +111,10 @@
|
|
|
111
111
|
"@azure/core-client": "^1.4.0",
|
|
112
112
|
"@azure/core-rest-pipeline": "^1.1.0",
|
|
113
113
|
"@azure/core-tracing": "^1.0.0",
|
|
114
|
-
"@azure/core-util": "^1.
|
|
114
|
+
"@azure/core-util": "^1.3.0",
|
|
115
115
|
"@azure/logger": "^1.0.0",
|
|
116
|
-
"@azure/msal-browser": "^3.
|
|
117
|
-
"@azure/msal-node": "^2.
|
|
116
|
+
"@azure/msal-browser": "^3.5.0",
|
|
117
|
+
"@azure/msal-node": "^2.5.1",
|
|
118
118
|
"events": "^3.0.0",
|
|
119
119
|
"jws": "^4.0.0",
|
|
120
120
|
"open": "^8.0.0",
|
|
@@ -123,18 +123,18 @@
|
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
125
|
"@azure-tools/test-recorder": "^3.0.0",
|
|
126
|
-
"@azure/dev-tool": "
|
|
127
|
-
"@azure/eslint-plugin-azure-sdk": "
|
|
126
|
+
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
127
|
+
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
|
128
128
|
"@azure/keyvault-keys": "^4.2.0",
|
|
129
|
-
"@azure/test-utils": "
|
|
129
|
+
"@azure/test-utils": ">=1.0.0-alpha <1.0.0-alphb",
|
|
130
130
|
"@microsoft/api-extractor": "^7.31.1",
|
|
131
131
|
"@types/chai": "^4.1.6",
|
|
132
132
|
"@types/jsonwebtoken": "^9.0.0",
|
|
133
133
|
"@types/jws": "^3.2.2",
|
|
134
134
|
"@types/mocha": "^10.0.0",
|
|
135
135
|
"@types/ms": "^0.7.31",
|
|
136
|
-
"@types/node": "^
|
|
137
|
-
"@types/sinon": "^
|
|
136
|
+
"@types/node": "^18.0.0",
|
|
137
|
+
"@types/sinon": "^17.0.0",
|
|
138
138
|
"@types/stoppable": "^1.1.0",
|
|
139
139
|
"@types/uuid": "^8.0.0",
|
|
140
140
|
"chai": "^4.2.0",
|
|
@@ -152,13 +152,12 @@
|
|
|
152
152
|
"karma-mocha-reporter": "^2.2.5",
|
|
153
153
|
"karma-sourcemap-loader": "^0.3.8",
|
|
154
154
|
"mocha": "^10.0.0",
|
|
155
|
-
"mocha-junit-reporter": "^2.0.0",
|
|
156
155
|
"ms": "^2.1.3",
|
|
157
156
|
"c8": "^8.0.0",
|
|
158
157
|
"prettier": "^2.5.1",
|
|
159
158
|
"puppeteer": "^19.2.2",
|
|
160
159
|
"rimraf": "^3.0.0",
|
|
161
|
-
"sinon": "^
|
|
160
|
+
"sinon": "^17.0.0",
|
|
162
161
|
"ts-node": "^10.0.0",
|
|
163
162
|
"typescript": "~5.2.0",
|
|
164
163
|
"util": "^0.12.1",
|
package/types/identity.d.ts
CHANGED
|
@@ -390,7 +390,7 @@ export declare interface BrokerAuthOptions {
|
|
|
390
390
|
* Options to allow broker authentication when using InteractiveBrowserCredential
|
|
391
391
|
*
|
|
392
392
|
*/
|
|
393
|
-
brokerOptions
|
|
393
|
+
brokerOptions?: BrokerOptions;
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
/**
|
|
@@ -445,11 +445,11 @@ export declare interface BrowserCustomizationOptions {
|
|
|
445
445
|
/**
|
|
446
446
|
* Format for error messages for display in browser
|
|
447
447
|
*/
|
|
448
|
-
errorMessage
|
|
448
|
+
errorMessage?: string;
|
|
449
449
|
/**
|
|
450
450
|
* Format for success messages for display in browser
|
|
451
451
|
*/
|
|
452
|
-
successMessage
|
|
452
|
+
successMessage?: string;
|
|
453
453
|
};
|
|
454
454
|
}
|
|
455
455
|
|