UNPKG

@azure/identity

Version:

Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID

62 lines (61 loc) 2.58 kB
var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var constants_exports = {}; __export(constants_exports, { ALL_TENANTS: () => ALL_TENANTS, AzureAuthorityHosts: () => AzureAuthorityHosts, CACHE_CAE_SUFFIX: () => CACHE_CAE_SUFFIX, CACHE_NON_CAE_SUFFIX: () => CACHE_NON_CAE_SUFFIX, DEFAULT_TOKEN_CACHE_NAME: () => DEFAULT_TOKEN_CACHE_NAME, DefaultAuthority: () => DefaultAuthority, DefaultAuthorityHost: () => DefaultAuthorityHost, DefaultTenantId: () => DefaultTenantId, DeveloperSignOnClientId: () => DeveloperSignOnClientId, SDK_VERSION: () => SDK_VERSION }); module.exports = __toCommonJS(constants_exports); const SDK_VERSION = `4.13.2`; const DeveloperSignOnClientId = "04b07795-8ddb-461a-bbee-02f9e1bf7b46"; const DefaultTenantId = "common"; var AzureAuthorityHosts = /* @__PURE__ */ ((AzureAuthorityHosts2) => { AzureAuthorityHosts2["AzureChina"] = "https://login.chinacloudapi.cn"; AzureAuthorityHosts2["AzureGermany"] = "https://login.microsoftonline.de"; AzureAuthorityHosts2["AzureGovernment"] = "https://login.microsoftonline.us"; AzureAuthorityHosts2["AzurePublicCloud"] = "https://login.microsoftonline.com"; return AzureAuthorityHosts2; })(AzureAuthorityHosts || {}); const DefaultAuthorityHost = "https://login.microsoftonline.com" /* AzurePublicCloud */; const DefaultAuthority = "login.microsoftonline.com"; const ALL_TENANTS = ["*"]; const CACHE_CAE_SUFFIX = "cae"; const CACHE_NON_CAE_SUFFIX = "nocae"; const DEFAULT_TOKEN_CACHE_NAME = "msal.cache"; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { ALL_TENANTS, AzureAuthorityHosts, CACHE_CAE_SUFFIX, CACHE_NON_CAE_SUFFIX, DEFAULT_TOKEN_CACHE_NAME, DefaultAuthority, DefaultAuthorityHost, DefaultTenantId, DeveloperSignOnClientId, SDK_VERSION }); //# sourceMappingURL=constants.js.map