@azure/identity
Advanced tools
Comparing version 4.1.0-alpha.20240301.2 to 4.1.0-alpha.20240305.3
@@ -7,2 +7,3 @@ // Copyright (c) Microsoft Corporation. | ||
import { defaultLoggerCallback, ensureValidMsalToken, getAuthority, getKnownAuthorities, getMSALLogLevel, handleMsalError, msalToPublic, publicToMsal, randomUUID, } from "../utils"; | ||
import { hasNativeBroker, nativeBrokerInfo, persistenceProvider } from "./msalPlugins"; | ||
import { processMultiTenantRequest, resolveAdditionallyAllowedTenantIds, resolveTenantId, } from "../../util/tenantIdUtils"; | ||
@@ -14,35 +15,2 @@ import { AuthenticationRequiredError } from "../../errors"; | ||
/** | ||
* The current persistence provider, undefined by default. | ||
* @internal | ||
*/ | ||
export let persistenceProvider = undefined; | ||
/** | ||
* An object that allows setting the persistence provider. | ||
* @internal | ||
*/ | ||
export const msalNodeFlowCacheControl = { | ||
setPersistence(pluginProvider) { | ||
persistenceProvider = pluginProvider; | ||
}, | ||
}; | ||
/** | ||
* The current native broker provider, undefined by default. | ||
* @internal | ||
*/ | ||
export let nativeBrokerInfo = undefined; | ||
export function hasNativeBroker() { | ||
return nativeBrokerInfo !== undefined; | ||
} | ||
/** | ||
* An object that allows setting the native broker provider. | ||
* @internal | ||
*/ | ||
export const msalNodeFlowNativeBrokerControl = { | ||
setNativeBroker(broker) { | ||
nativeBrokerInfo = { | ||
broker, | ||
}; | ||
}, | ||
}; | ||
/** | ||
* MSAL partial base client for Node.js. | ||
@@ -49,0 +17,0 @@ * |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
import { MsalNode, hasNativeBroker } from "./msalNodeCommon"; | ||
import { MsalNode } from "./msalNodeCommon"; | ||
import { credentialLogger } from "../../util/logging"; | ||
import { handleMsalError } from "../utils"; | ||
import { hasNativeBroker } from "./msalPlugins"; | ||
import open from "open"; | ||
@@ -7,0 +8,0 @@ /** |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
import { nativeBrokerInfo, persistenceProvider } from "./msalNodeCommon"; | ||
/** | ||
* The current persistence provider, undefined by default. | ||
* @internal | ||
*/ | ||
export let persistenceProvider = undefined; | ||
/** | ||
* An object that allows setting the persistence provider. | ||
* @internal | ||
*/ | ||
export const msalNodeFlowCacheControl = { | ||
setPersistence(pluginProvider) { | ||
persistenceProvider = pluginProvider; | ||
}, | ||
}; | ||
/** | ||
* The current native broker provider, undefined by default. | ||
* @internal | ||
*/ | ||
export let nativeBrokerInfo = undefined; | ||
export function hasNativeBroker() { | ||
return nativeBrokerInfo !== undefined; | ||
} | ||
/** | ||
* An object that allows setting the native broker provider. | ||
* @internal | ||
*/ | ||
export const msalNodeFlowNativeBrokerControl = { | ||
setNativeBroker(broker) { | ||
nativeBrokerInfo = { | ||
broker, | ||
}; | ||
}, | ||
}; | ||
/** | ||
* Configures plugins, validating that required plugins are available and enabled. | ||
@@ -6,0 +38,0 @@ * |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
import { msalNodeFlowCacheControl, msalNodeFlowNativeBrokerControl, } from "../msal/nodeFlows/msalNodeCommon"; | ||
import { msalNodeFlowCacheControl, msalNodeFlowNativeBrokerControl, } from "../msal/nodeFlows/msalPlugins"; | ||
import { vsCodeCredentialControl } from "../credentials/visualStudioCodeCredential"; | ||
@@ -5,0 +5,0 @@ /** |
{ | ||
"name": "@azure/identity", | ||
"sdk-type": "client", | ||
"version": "4.1.0-alpha.20240301.2", | ||
"version": "4.1.0-alpha.20240305.3", | ||
"description": "Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1506671
11650