0.12.1 • Published 8 months ago
azureauth v0.12.1
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.12.1
8 months ago
0.12.0
9 months ago
0.10.0
10 months ago
0.11.0
10 months ago
0.9.0
10 months ago
0.8.0
10 months ago
0.4.7
10 months ago
0.5.0
10 months ago
0.7.0
10 months ago
0.6.0
10 months ago
0.5.1
10 months ago
0.4.6
1 year ago
0.4.5
2 years ago
0.4.4
2 years ago
0.4.3
2 years ago
0.4.2
2 years ago
0.4.1
2 years ago
0.4.0
2 years ago
0.3.0
2 years ago
0.2.0
2 years ago
0.1.0
2 years ago