0.4.6 • Published 4 months ago

azureauth v0.4.6

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

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"],
});
0.4.6

4 months ago

0.4.5

8 months ago

0.4.4

9 months ago

0.4.3

9 months ago

0.4.2

9 months ago

0.4.1

9 months ago

0.4.0

9 months ago

0.3.0

9 months ago

0.2.0

9 months ago

0.1.0

9 months ago