Skip to content

Commit

Permalink
better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasant authored Dec 13, 2021
1 parent 7263a41 commit 9f525fc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions sdk/identity/identity/samples-dev/clientSecretCredential.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -14,7 +14,7 @@ require("dotenv").config();
export async function main(): Promise<void> {
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
);

Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/identity/samples/v2/javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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
);

Expand Down
2 changes: 1 addition & 1 deletion sdk/identity/identity/samples/v2/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -14,7 +14,7 @@ require("dotenv").config();
export async function main(): Promise<void> {
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
);

Expand Down

0 comments on commit 9f525fc

Please sign in to comment.