Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

azureauth

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azureauth

node-azure auth wrapps the AzureAuth CLI wrapper for performing AAD Authentication

latest
Source
npmnpm
Version
0.12.2
Version published
Weekly downloads
8.9K
3.26%
Maintainers
3
Weekly downloads
 
Created
Source

node-azureauth

This package wraps the https://github.com/AzureAD/microsoft-authentication-cli with a node.js exec wrapper.

That way the azureauth CLI can be downloaded automatically, and therefore scoped to the ./node_modules/.bin allowing for multiple versions of the AzureAuth CLI to exist on one machine at once.

Usage

Install the package wiwth

> npm i azureauth

Use the azureauth CLI by calling it from NPM scripts.

"scripts": {
  "authcli": "azureauth --version"
}
> npm run authcli

Use it as a node module by importing azureauth.

import { adoPat } from "azureauth";

const pat = await adoPat({
  displayName: "test",
  organization: "test",
  promptHint: "test",
  scope: ["test"],
});

Keywords

node

FAQs

Package last updated on 20 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts