@azure/identity-broker 1.0.1-alpha.20240510.3 → 1.0.1-alpha.20240513.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,67 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT license.
3
+ /**
4
+ * Current version of the `@azure/identity` package.
5
+ */
6
+ export const SDK_VERSION = `4.3.0-beta.1`;
7
+ /**
8
+ * The default client ID for authentication
9
+ * @internal
10
+ */
11
+ // TODO: temporary - this is the Azure CLI clientID - we'll replace it when
12
+ // Developer Sign On application is available
13
+ // https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/src/Constants.cs#L9
14
+ export const DeveloperSignOnClientId = "04b07795-8ddb-461a-bbee-02f9e1bf7b46";
15
+ /**
16
+ * The default tenant for authentication
17
+ * @internal
18
+ */
19
+ export const DefaultTenantId = "common";
20
+ /**
21
+ * A list of known Azure authority hosts
22
+ */
23
+ export var AzureAuthorityHosts;
24
+ (function (AzureAuthorityHosts) {
25
+ /**
26
+ * China-based Azure Authority Host
27
+ */
28
+ AzureAuthorityHosts["AzureChina"] = "https://login.chinacloudapi.cn";
29
+ /**
30
+ * Germany-based Azure Authority Host
31
+ */
32
+ AzureAuthorityHosts["AzureGermany"] = "https://login.microsoftonline.de";
33
+ /**
34
+ * US Government Azure Authority Host
35
+ */
36
+ AzureAuthorityHosts["AzureGovernment"] = "https://login.microsoftonline.us";
37
+ /**
38
+ * Public Cloud Azure Authority Host
39
+ */
40
+ AzureAuthorityHosts["AzurePublicCloud"] = "https://login.microsoftonline.com";
41
+ })(AzureAuthorityHosts || (AzureAuthorityHosts = {}));
42
+ /**
43
+ * @internal
44
+ * The default authority host.
45
+ */
46
+ export const DefaultAuthorityHost = AzureAuthorityHosts.AzurePublicCloud;
47
+ /**
48
+ * @internal
49
+ * Allow acquiring tokens for any tenant for multi-tentant auth.
50
+ */
51
+ export const ALL_TENANTS = ["*"];
52
+ /**
53
+ * @internal
54
+ */
55
+ export const CACHE_CAE_SUFFIX = "cae";
56
+ /**
57
+ * @internal
58
+ */
59
+ export const CACHE_NON_CAE_SUFFIX = "nocae";
60
+ /**
61
+ * @internal
62
+ *
63
+ * The default name for the cache persistence plugin.
64
+ * Matches the constant defined in the cache persistence package.
65
+ */
66
+ export const DEFAULT_TOKEN_CACHE_NAME = "msal.cache";
67
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../identity/src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;AAE1C;;;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;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC;AAEzE;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAa,CAAC,GAAG,CAAC,CAAC;AAE3C;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,OAAO,CAAC;AAE5C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,YAAY,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.3.0-beta.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 * @internal\n * The default authority host.\n */\nexport const DefaultAuthorityHost = AzureAuthorityHosts.AzurePublicCloud;\n\n/**\n * @internal\n * Allow acquiring tokens for any tenant for multi-tentant auth.\n */\nexport const ALL_TENANTS: string[] = [\"*\"];\n\n/**\n * @internal\n */\nexport const CACHE_CAE_SUFFIX = \"cae\";\n\n/**\n * @internal\n */\nexport const CACHE_NON_CAE_SUFFIX = \"nocae\";\n\n/**\n * @internal\n *\n * The default name for the cache persistence plugin.\n * Matches the constant defined in the cache persistence package.\n */\nexport const DEFAULT_TOKEN_CACHE_NAME = \"msal.cache\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/identity-broker",
3
- "version": "1.0.1-alpha.20240510.3",
3
+ "version": "1.0.1-alpha.20240513.2",
4
4
  "sdk-type": "client",
5
5
  "description": "A native plugin for Azure Identity credentials to enable broker authentication such as WAM",
6
6
  "main": "dist/index.js",