Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

azureauth

Package Overview
Dependencies
Maintainers
0
Versions
21
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

  • 0.9.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.8K
decreased by-67.13%
Maintainers
0
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

FAQs

Package last updated on 13 Sep 2024

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc