From c9da1a764c18cb04561aeca2ce68c5dafe2ca42d Mon Sep 17 00:00:00 2001 From: Ramya Achutha Rao Date: Tue, 4 May 2021 23:03:36 -0700 Subject: [PATCH 1/2] [Identity] Add note on Node.js support --- sdk/identity/identity/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sdk/identity/identity/README.md b/sdk/identity/identity/README.md index e554f5a12385..3b8efa9fee04 100644 --- a/sdk/identity/identity/README.md +++ b/sdk/identity/identity/README.md @@ -18,11 +18,15 @@ npm install --save @azure/identity ### Prerequisites -- Node.js 8 LTS or higher. - An [Azure subscription](https://azure.microsoft.com/free/). -- The [Azure CLI][azure_cli] can also be useful for authenticating in a development environment and managing account roles. +- Optional: The [Azure CLI][azure_cli] can also be useful for authenticating in a development environment and managing account roles. +- As of v2.0.0-beta.1, the credentials `InteractiveBrowserCredential`, `DeviceCodeCredential`, `ClientSecretCredential`, `ClientCertificateCredential` and `UsernamePasswordCredential` allow specifying `tokenCachePersistenceOptions` to enable persistent caching. To use this feature, developers will also need to install [@azure/msal-node-extensions](https://www.npmjs.com/package/@azure/msal-node-extensions). -Credentials `InteractiveBrowserCredential`, `DeviceCodeCredential`, `ClientSecretCredential`, `ClientCertificateCredential` and `UsernamePasswordCredential` allow specifying `tokenCachePersistenceOptions` to enable persistent caching. To use this feature, developers will also need to install [@azure/msal-node-extensions](https://www.npmjs.com/package/@azure/msal-node-extensions). +#### Supported Node.js versions + +This version of `@azure/identity` supports stable (even numbered) versions of Node.js starting from v10. While it may run in Node.js v8, no support is guaranteed. + +> **Note:** If your application runs on Node.js v8 or lower, we strongly recommend you to upgrade your Node.js version to latest stable version or pin your `@azure/identity` dependency to version 1.1.0. ### Authenticate the client in development environment From 3c1b8592e5c0fba442c91fac37380ebf112076d4 Mon Sep 17 00:00:00 2001 From: Ramya Achutha Rao Date: Tue, 4 May 2021 23:07:50 -0700 Subject: [PATCH 2/2] Remove note on persistent cache feature --- sdk/identity/identity/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/identity/identity/README.md b/sdk/identity/identity/README.md index 3b8efa9fee04..13bd860f75b2 100644 --- a/sdk/identity/identity/README.md +++ b/sdk/identity/identity/README.md @@ -20,7 +20,6 @@ npm install --save @azure/identity - An [Azure subscription](https://azure.microsoft.com/free/). - Optional: The [Azure CLI][azure_cli] can also be useful for authenticating in a development environment and managing account roles. -- As of v2.0.0-beta.1, the credentials `InteractiveBrowserCredential`, `DeviceCodeCredential`, `ClientSecretCredential`, `ClientCertificateCredential` and `UsernamePasswordCredential` allow specifying `tokenCachePersistenceOptions` to enable persistent caching. To use this feature, developers will also need to install [@azure/msal-node-extensions](https://www.npmjs.com/package/@azure/msal-node-extensions). #### Supported Node.js versions