Граф коммитов

143 Коммитов

Автор SHA1 Сообщение Дата
Emily Curry b6e0057045
Add clientid param to MSIAppServiceOptions (#85)
* Add clientid param to MSIAppServiceOptions

* Chore: Use typescript@~3.5.3
2020-06-08 14:17:26 -07:00
David Wilson adea8415de
Merge pull request #77 from XinxingLiu/master
Fix callback not calling issue in applicationTokenCredentialsBase.ts
2019-08-22 15:24:12 -07:00
David Wilson 6ce7dc7137 Bump version to 3.0.3 and update Changelog.md 2019-08-22 15:20:58 -07:00
Xinxing Liu 43c52f9420 Fix callback not calling issue in applicationTokenCredentialsBase.ts 2019-08-22 12:06:13 -07:00
Wesley Wigham 299621cdaf Fix bug preventing any tenants from being discovered (#76)
* Fix bug preventing any tenants from being discovered

Which in turns prevents any subscriptions in turn from being discovered which in turn makes auth very not useful.

* Update Changelog.md

* Bump package.json version to 3.0.2
2019-08-16 12:37:27 -07:00
Arthur Schreiber 31285f9e38 Cleanup `async function`s and `Promise` based code (#74)
* Cleanup `async`/`Promise` based code.

This cleans up a bunch of misunderstandings between `async` functions 
and `Promise`s.

* There is no need to catch exceptions inside async functions and return 
them wrapped via `Promise.reject`. This will happen automatically if an 
exception is thrown inside an async function.

* There is no need to wrap return values of async functions with 
`Promise.resolve`. This will happen automatically.

These changes make the code easier to read and understand.

* Remove unneeded parentheses.

* Remove duplicate check for `options`.

* Convert `let` bindings to `const`.

* Remove `const self = this` assignment.

* Bump version to `3.0.1`.
2019-08-06 11:19:39 -07:00
Amar Zavery ef8b1bcf36
updated version to 3.0.0 (#73)
* updated min version of @azure/ms-rest-js to ^2.0.4

* updated changelog

* nit update to changelog

* updated version to 3.0.0
2019-08-02 15:15:26 -07:00
Amar Zavery 77383c7a55
updated min version of @azure/ms-rest-js to ^2.0.4 (#72)
* updated min version of @azure/ms-rest-js to ^2.0.4

* updated changelog

* nit update to changelog
2019-08-02 14:27:07 -07:00
Dan Schulte ad7edbac48
Merge pull request #71 from Azure/daschult-patch-1
Remove daschult from CODEOWNERS
2019-08-02 13:29:07 -07:00
Dan Schulte 67c214a00a
Remove daschult from CODEOWNERS
I'm no longer responsible for this code base.
2019-08-02 13:21:54 -07:00
Amar Zavery f0d65b31ef
fix #69 by rolling back @azure/ms-rest-js to ^1.8.13 (#70)
* fix #69 by rolling back @azure/ms-rest-js to ^1.8.13

* reflect the right version in changelog
2019-08-02 13:19:42 -07:00
Amar Zavery 8715839d9a
update min version of dependencies in the package (#68)
* Added support to use azure-cli credentials from the JS sdk

* remove jsdoc annotations

* minor updates and review changes

* updgrading CI to run against 8, 10, 12 versions of node.js. Removing support for 6.x.

* Add support for client_id, object_id and ms_res_id query parameters for VmMSI. Fixes #58.

* expose resource for getting tokens via azure cli

* addressed review feedback

* get subscriptions if the  tokenAudience is for  Resource Manager.

* depedency version updates

* update check package version script
2019-07-23 10:59:30 -07:00
George Wilson 1223c5c13d Enforce azure cli to output json (#65)
* Enforce azure cli to output json

* Changelog

* Version bump
2019-06-13 10:03:05 -07:00
Amar Zavery d050a1bcb8
get subscriptions if the tokenAudience is for Resource Manager (#62)
* Added support to use azure-cli credentials from the JS sdk

* remove jsdoc annotations

* minor updates and review changes

* updgrading CI to run against 8, 10, 12 versions of node.js. Removing support for 6.x.

* Add support for client_id, object_id and ms_res_id query parameters for VmMSI. Fixes #58.

* expose resource for getting tokens via azure cli

* addressed review feedback

* get subscriptions if the  tokenAudience is for  Resource Manager.
2019-05-22 17:36:36 -07:00
Amar Zavery cd6b21b330
Add support for client_id, object_id and ms_res_id query parameters for VmMSI and fixed a bug in AzureCliCredentials (#59)
* Added support to use azure-cli credentials from the JS sdk

* remove jsdoc annotations

* minor updates and review changes

* updgrading CI to run against 8, 10, 12 versions of node.js. Removing support for 6.x.

* Add support for client_id, object_id and ms_res_id query parameters for VmMSI. Fixes #58.

* expose resource for getting tokens via azure cli

* addressed review feedback
2019-05-20 11:16:03 -07:00
ramonitor 5ad4a11fed Update README.md (#57)
Corrected a few introductory sentences.
2019-05-17 08:18:21 -07:00
Amar Zavery a853042c87
minor updates and review changes (#56)
* Added support to use azure-cli credentials from the JS sdk

* remove jsdoc annotations

* minor updates and review changes
2019-05-16 10:31:31 -07:00
Amar Zavery b9f236c3b2
Added support to use azure-cli credentials from the JS sdk (#55)
* Added support to use azure-cli credentials from the JS sdk

* remove jsdoc annotations
2019-05-16 09:18:59 -07:00
Amar Zavery fd346dfb48
Update homepage URL (fixes #48) (#54)
* fixes #48

* Update Changelog.md
2019-05-06 14:46:11 -07:00
Amar Zavery d1d0b47dbe
Update README.md 2019-05-06 14:31:22 -07:00
Amar Zavery 291bbb9d48
Implemented ServicePrincipal login with certificate (#53)
* update nyc dependency to fix security warning from npm

* Implemented ServicePrincipal login with certificate

* code review feedback

* Add samples that can be run live
2019-05-06 13:22:16 -07:00
Dan Schulte 0855f90c6c
Merge pull request #52 from amclin/master
Update dependencies fixes #51
2019-04-04 15:01:13 -07:00
Anthony McLin f5e6ed5b94 increment package version 2019-04-04 14:59:32 -07:00
Anthony McLin e79e50eb07 Update dependencies fixes #51 2019-04-04 12:51:34 -07:00
Dan Schulte ccd85e15b4
Merge pull request #50 from ramya-rao-a/right-return
Use the right return types when returning promise
2019-03-26 13:27:36 -07:00
Ramya Achutha Rao 3d7b678ef1 version update to fix ci 2019-03-25 22:48:43 -07:00
Ramya Achutha Rao ef90c22c23 Use the right return types when returning promise 2019-03-25 21:57:25 -07:00
Niels Grewe dc555e857b fix(app service msi): Use a GET request to obtain app service MSI credentials (#46)
* fix(app service msi): Use a GET request to obtain app service MSI credentials

* chore: version number bump

* docs: Clarify documentation of MSIAppServiceTokenCredentials.getToken()
2019-01-15 08:45:43 -08:00
Kamil Pajdzik 58f47f65a2
Add support for custom MSI endpoint (#45)
* Add support for custom MSI endpoint

* Bump the version to 0.9.0

* Fix test names

* Fix MSI requests

* Remove unused import

* Add unit tests
2019-01-11 18:07:00 -08:00
Sean 67947af559 Export MSI login methods from msRestNodeAuth.ts (#44)
* Export MSI login methods from msRestNodeAuth.ts

* Bumped version to 0.8.4
2019-01-09 08:26:05 -08:00
Dan Schulte 6e3ba6400f
Merge pull request #41 from Azure/daschult/version
Add package.json version check
2018-12-18 09:31:03 -08:00
Dan Schulte 1b1747016e Update version to 0.8.3 2018-12-18 09:28:45 -08:00
Dan Schulte 3fefd607df Add package.json version check 2018-12-17 13:53:38 -08:00
Kamil Pajdzik 66697f981f
Fix incorrect path to the main file (#39) 2018-11-19 12:52:36 -08:00
Kamil Pajdzik 67e7fd707b
Add code owners and issue template (#38) 2018-11-19 11:19:20 -08:00
Dan Schulte 00264633f5
Merge pull request #36 from Azure/daschult/rollup
Add rollup
2018-11-16 08:05:41 -08:00
Dan Schulte 38caddb275 Update package.json and remove package-lock.json 2018-11-14 15:34:42 -08:00
Dan Schulte aaf4665658 Add rollup 2018-11-14 15:33:27 -08:00
Kamil Pajdzik cf0eff4cbf
Update missing references in samples (#34) 2018-11-13 11:08:20 -08:00
Kamil Pajdzik 5d8c9b13e3
Update README.md 2018-11-12 15:13:05 -08:00
Kamil Pajdzik 0f1c128cc9
Remove Travis configuration and add no-return-await TS lint rule (#33)
* Add no-return-await TS lint rule

* Remove Travis configuration
2018-11-12 13:46:57 -08:00
Kamil Pajdzik 8d9cd2deb9
Add Azure Pipelines configuration (#32) 2018-11-12 13:28:26 -08:00
Kamil Pajdzik 267937786f
Rename package to "@azure/ms-rest-nodeauth" (#30) 2018-11-12 13:18:44 -08:00
Dan Schulte fec9bb95e7
Merge pull request #27 from Azure/daschult/dependencies
Update dependencies
2018-10-22 15:32:30 -07:00
Dan Schulte e9d0c33a0b Update dependencies 2018-10-22 15:31:18 -07:00
Rikki Gibson 674674f6c4 Update ms rest (#24)
* Update ms-rest-js

* Update ms-rest-azure-env

* Fix tsconfig.json

* Update package-lock

* Update typescript

* Fix output dirs in tsconfig

* Put typings inline with dist

* update package-lock

* Remove .npmignore
2018-10-18 15:09:03 -07:00
Kamil Pajdzik 4745cab4ce
Update Authenticator implementation in KeyVaultFactory (#23)
* Update Authenticator implementation in KeyVaultFactory

* Return promise early
2018-10-02 10:23:15 -07:00
Kamil Pajdzik ac18671465
Add KeyVaultFactory (#22)
* Move KeyVaultCredentials class to KeyVault SDK

* Add KeyVaultCredentialsFactory class

* Add KeyVaultFactory

* Change the version to 0.6.0

* Remove static class and move functions outside
2018-09-27 13:17:47 -07:00
Kamil Pajdzik c3c909588a
Update documentation (#21)
* Update documentation

Fix minor problems

* Add returning from promises
2018-09-20 13:17:44 -07:00
Kamil Pajdzik b9f97baa97
Add support for KeyVault credentials (#18)
* Add support for KeyVault credentials

* Add toLowerCase to comparison

* Rename private httpClient

* Remove self temporary variable

* Bump the version
2018-09-19 13:55:56 -07:00