diff --git a/sdk/identity/identity/samples-dev/clientSecretCredential.ts b/sdk/identity/identity/samples-dev/clientSecretCredential.ts index 8ffa60c45488..a1583e83ce19 100644 --- a/sdk/identity/identity/samples-dev/clientSecretCredential.ts +++ b/sdk/identity/identity/samples-dev/clientSecretCredential.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. /** - * @summary Authenticates with a client and a app registration's secret. + * @summary Authenticates with an app registration’s client Id and secret. */ import { ClientSecretCredential } from "@azure/identity"; @@ -14,7 +14,7 @@ require("dotenv").config(); export async function main(): Promise { const credential = new ClientSecretCredential( process.env.AZURE_TENANT_ID!, // The tenant ID in Azure Active Directory - process.env.AZURE_CLIENT_ID!, // The app registration client ID in the AAD tenant + process.env.AZURE_CLIENT_ID!, // The app registration client Id in the AAD tenant process.env.AZURE_CLIENT_SECRET! // The app registration secret for the registered application ); diff --git a/sdk/identity/identity/samples/v2/javascript/README.md b/sdk/identity/identity/samples/v2/javascript/README.md index a8c1d7082aa9..ae1dbc0e254b 100644 --- a/sdk/identity/identity/samples/v2/javascript/README.md +++ b/sdk/identity/identity/samples/v2/javascript/README.md @@ -14,7 +14,7 @@ These sample programs show how to use the JavaScript client libraries for Azure | **File Name** | **Description** | | --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| [clientSecretCredential.js][clientsecretcredential] | Authenticates with a client and a app registration's secret. | +| [clientSecretCredential.js][clientsecretcredential] | Authenticates with an app registration’s client Id and secret. | | [defaultAzureCredential.js][defaultazurecredential] | Tries several authentication methods using a single credential. The simplest way to use `@azure/identity`. | | [environmentCredential.js][environmentcredential] | Authenticates as an app registration automatically using environment variables. | diff --git a/sdk/identity/identity/samples/v2/javascript/clientSecretCredential.js b/sdk/identity/identity/samples/v2/javascript/clientSecretCredential.js index a693d294a746..974275a904ae 100644 --- a/sdk/identity/identity/samples/v2/javascript/clientSecretCredential.js +++ b/sdk/identity/identity/samples/v2/javascript/clientSecretCredential.js @@ -2,7 +2,7 @@ // Licensed under the MIT license. /** - * @summary Authenticates with a client and a app registration's secret. + * @summary Authenticates with an app registration’s client Id and secret. */ const { ClientSecretCredential } = require("@azure/identity"); @@ -14,7 +14,7 @@ require("dotenv").config(); async function main() { const credential = new ClientSecretCredential( process.env.AZURE_TENANT_ID, // The tenant ID in Azure Active Directory - process.env.AZURE_CLIENT_ID, // The app registration client ID in the AAD tenant + process.env.AZURE_CLIENT_ID, // The app registration client Id in the AAD tenant process.env.AZURE_CLIENT_SECRET // The app registration secret for the registered application ); diff --git a/sdk/identity/identity/samples/v2/typescript/README.md b/sdk/identity/identity/samples/v2/typescript/README.md index e1a7ae035d59..1803bafee1e4 100644 --- a/sdk/identity/identity/samples/v2/typescript/README.md +++ b/sdk/identity/identity/samples/v2/typescript/README.md @@ -14,7 +14,7 @@ These sample programs show how to use the TypeScript client libraries for Azure | **File Name** | **Description** | | --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| [clientSecretCredential.ts][clientsecretcredential] | Authenticates with a client and a app registration's secret. | +| [clientSecretCredential.ts][clientsecretcredential] | Authenticates with an app registration’s client Id and secret. | | [defaultAzureCredential.ts][defaultazurecredential] | Tries several authentication methods using a single credential. The simplest way to use `@azure/identity`. | | [environmentCredential.ts][environmentcredential] | Authenticates as an app registration automatically using environment variables. | diff --git a/sdk/identity/identity/samples/v2/typescript/src/clientSecretCredential.ts b/sdk/identity/identity/samples/v2/typescript/src/clientSecretCredential.ts index 8ffa60c45488..a1583e83ce19 100644 --- a/sdk/identity/identity/samples/v2/typescript/src/clientSecretCredential.ts +++ b/sdk/identity/identity/samples/v2/typescript/src/clientSecretCredential.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. /** - * @summary Authenticates with a client and a app registration's secret. + * @summary Authenticates with an app registration’s client Id and secret. */ import { ClientSecretCredential } from "@azure/identity"; @@ -14,7 +14,7 @@ require("dotenv").config(); export async function main(): Promise { const credential = new ClientSecretCredential( process.env.AZURE_TENANT_ID!, // The tenant ID in Azure Active Directory - process.env.AZURE_CLIENT_ID!, // The app registration client ID in the AAD tenant + process.env.AZURE_CLIENT_ID!, // The app registration client Id in the AAD tenant process.env.AZURE_CLIENT_SECRET! // The app registration secret for the registered application );