Socket
Socket
Sign inDemoInstall

@azure/identity

Package Overview
Dependencies
14
Maintainers
2
Versions
492
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.1-alpha.20240422.3 to 4.1.1-alpha.20240423.2

4

dist-esm/src/msal/nodeFlows/msalClient.js

@@ -9,2 +9,3 @@ // Copyright (c) Microsoft Corporation.

import { IdentityClient } from "../../client/identityClient";
import { calculateRegionalAuthority } from "../../regionalAuthority";
import { getLogLevel } from "@azure/logger";

@@ -172,2 +173,3 @@ import { resolveTenantId } from "../../util/tenantIdUtils";

authority: state.msalConfig.auth.authority,
azureRegion: calculateRegionalAuthority(),
claims: options === null || options === void 0 ? void 0 : options.claims,

@@ -183,2 +185,3 @@ }));

authority: state.msalConfig.auth.authority,
azureRegion: calculateRegionalAuthority(),
claims: options === null || options === void 0 ? void 0 : options.claims,

@@ -194,2 +197,3 @@ clientAssertion,

scopes,
azureRegion: calculateRegionalAuthority(),
authority: state.msalConfig.auth.authority,

@@ -196,0 +200,0 @@ claims: options === null || options === void 0 ? void 0 : options.claims,

@@ -125,3 +125,7 @@ // Copyright (c) Microsoft Corporation.

export function calculateRegionalAuthority(regionalAuthority) {
// Note: as of today only 3 credentials support regional authority, and the parameter
// is not exposed via the public API. Regional Authority is _only_ supported
// via the AZURE_REGIONAL_AUTHORITY_NAME env var and _only_ for: ClientSecretCredential, ClientCertificateCredential, and ClientAssertionCredential.
var _a, _b;
// Accepting the regionalAuthority parameter will allow us to support it in the future.
let azureRegion = regionalAuthority;

@@ -128,0 +132,0 @@ if (azureRegion === undefined &&

2

package.json
{
"name": "@azure/identity",
"sdk-type": "client",
"version": "4.1.1-alpha.20240422.3",
"version": "4.1.1-alpha.20240423.2",
"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 too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc