@azure/identity

v4.4.1
Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID
azure cloud active directory authentication credential certificate managed identity client secret access token and 1 more...

lint

eslint package.json api-extractor.json src test --ext .ts

pack

npm pack 2>&1

test

npm run clean && npm run build:test && npm run unit-test && npm run integration-test

audit

node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit

build

npm run clean && npm run extract-api && tsc -p . && dev-tool run bundle

clean

rimraf --glob dist dist-* types *.tgz *.log

format

dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore "src/**/*.ts" "test/**/*.ts" "samples-dev/**/*.ts" "*.{js,json}"

lint:fix

eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]

test:node

npm run clean && npm run unit-test:node && npm run integration-test:node

unit-test

npm run unit-test:node && npm run unit-test:browser

build:test

echo skipped. actual commands inlined in browser test scripts

extract-api

tsc -p . && dev-tool run extract-api

check-format

dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore "src/**/*.ts" "test/**/*.ts" "samples-dev/**/*.ts" "*.{js,json}"

test:browser

npm run clean && tsc -p . && dev-tool run bundle && npm run unit-test:browser && npm run integration-test:browser

build:samples

echo Obsolete.

unit-test:node

dev-tool run test:node-ts-input -- --timeout 300000 --exclude 'test/**/browser/**/*.spec.ts' --exclude 'test/integration/**/*.spec.ts' 'test/**/**/*.spec.ts'

execute:samples

dev-tool samples run samples-dev

integration-test

npm run integration-test:node && npm run integration-test:browser

unit-test:browser

dev-tool run test:browser

integration-test:node

dev-tool run test:node-ts-input -- --timeout 180000 'test/public/node/*.spec.ts' 'test/internal/node/*.spec.ts'

integration-test:browser

echo skipped

unit-test:node:no-timeouts

dev-tool run test:node-ts-input -- --timeout Infinite --exclude 'test/**/browser/**/*.spec.ts' 'test/**/**/*.spec.ts'

integration-test:managed-identity

dev-tool run test:node-ts-input -- --timeout 180000 'test/integration/**/*.spec.ts'
npm i @azure/[email protected]

Metadata

  • MIT
  • >=18.0.0
  • Unknown
  • released 7/31/2024

Downloads