Skip to content

Commit 0b54865

Browse files
committed
Fix comments
1 parent 108a5c8 commit 0b54865

5 files changed

+36
-22
lines changed

articles/azure-web-pubsub/howto-use-aad-in-java.md renamed to articles/azure-web-pubsub/howto-create-serviceclient-with-java-and-azure-identity.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: How to use Azure Active Directory (AAD) in Java
3-
description: How to use Azure Active Directory (AAD) in Java
2+
title: How to create a WebPubSubServiceClient with Java and Azure Identity
3+
description: How to create a WebPubSubServiceClient with Java and Azure Identity
44
author: terencefan
55

66
ms.author: tefa
@@ -9,7 +9,9 @@ ms.service: azure-web-pubsub
99
ms.topic: how-to
1010
---
1111

12-
# How to use Azure Active Directory (AAD) in Java
12+
# How to create a `WebPubSubServiceClient` with Java and Azure Identity
13+
14+
This how-to guide shows you how to create a `WebPubSubServiceClient` with Java and Azure Identity.
1315

1416
## Requirements
1517

@@ -23,6 +25,7 @@ ms.topic: how-to
2325
</dependency>
2426
```
2527

28+
> [!Tip]
2629
> Latest version can be found on this [page](https://mvnrepository.com/artifact/com.azure/azure-identity)
2730
2831
See [Azure authentication with Java and Azure Identity](/azure/developer/java/sdk/identity) to learn more.
@@ -37,6 +40,7 @@ ms.topic: how-to
3740
</dependency>
3841
```
3942

43+
> [!Tip]
4044
> Latest version can be found on this [page](https://mvnrepository.com/artifact/com.azure/azure-messaging-webpubsub)
4145
4246
## Sample codes
@@ -66,7 +70,6 @@ ms.topic: how-to
6670
- VisualStudioCredential
6771
- VisualStudioCodeCredential
6872
- AzureCliCredential
69-
- ...
7073

7174
To learn more, see [Azure Identity client library for Java](/java/api/overview/azure/identity-readme)
7275

@@ -95,7 +98,7 @@ ms.topic: how-to
9598
}
9699
```
97100

98-
3. Learn how to use this client, see [Azure Web PubSub service client library for Java](/java/api/overview/azure/messaging-webpubsub-readme)
101+
Learn how to use this client, see [Azure Web PubSub service client library for Java](/java/api/overview/azure/messaging-webpubsub-readme)
99102

100103
## Complete sample
101104

articles/azure-web-pubsub/howto-use-aad-in-javascript.md renamed to articles/azure-web-pubsub/howto-create-serviceclient-with-javascript-and-azure-identity.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: How to use Azure Active Directory (AAD) in JavaScript
3-
description: How to use Azure Active Directory (AAD) in JavaScript
2+
title: How to create a WebPubSubServiceClient with JavaScript and Azure Identity
3+
description: How to create a WebPubSubServiceClient with JavaScript and Azure Identity
44
author: terencefan
55

66
ms.author: tefa
@@ -9,7 +9,9 @@ ms.service: azure-web-pubsub
99
ms.topic: how-to
1010
---
1111

12-
# How to use Azure Active Directory (AAD) in JavaScript
12+
# How to create a `WebPubSubServiceClient` with JavaScript and Azure Identity
13+
14+
This how-to guide shows you how to create a `WebPubSubServiceClient` using Azure Active Directory in JavaScript.
1315

1416
## Requirements
1517

@@ -44,7 +46,6 @@ ms.topic: how-to
4446
- VisualStudioCredential
4547
- VisualStudioCodeCredential
4648
- AzureCliCredential
47-
- ...
4849

4950
To learn more, see [Azure Identity client library for JavaScript](/javascript/api/overview/azure/identity-readme)
5051

@@ -58,7 +59,7 @@ ms.topic: how-to
5859
let serviceClient = new WebPubSubServiceClient("<endpoint>", credential, "<hub>");
5960
```
6061

61-
3. Learn how to use this client, see [Azure Web PubSub service client library for JavaScript](/javascript/api/overview/azure/web-pubsub-readme)
62+
Learn how to use this client, see [Azure Web PubSub service client library for JavaScript](/javascript/api/overview/azure/web-pubsub-readme)
6263

6364
## Complete sample
6465

articles/azure-web-pubsub/howto-use-aad-in-csharp.md renamed to articles/azure-web-pubsub/howto-create-serviceclient-with-net-and-azure-identity.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
2-
title: How to use Azure Active Directory (AAD) in C#
3-
description: How to use Azure Active Directory (AAD) in C#
2+
title: How to create a WebPubSubServiceClient with .NET and Azure Identity
3+
description: How to create a WebPubSubServiceClient with .NET and Azure Identity
44
author: terencefan
5-
65
ms.author: tefa
76
ms.date: 11/15/2021
87
ms.service: azure-web-pubsub
98
ms.topic: how-to
109
---
1110

12-
# How to use Azure Active Directory (AAD) in C#
11+
# How to create a `WebPubSubServiceClient` with .NET and Azure Identity
12+
13+
This how-to guide shows you how to create a `WebPubSubServiceClient` using Azure Active Directory in .NET.
1314

1415
## Requirements
1516

@@ -53,7 +54,6 @@ ms.topic: how-to
5354
- VisualStudioCredential
5455
- VisualStudioCodeCredential
5556
- AzureCliCredential
56-
- ...
5757

5858
To learn more, see [Azure Identity client library for .NET](/dotnet/api/overview/azure/identity-readme)
5959

@@ -106,7 +106,7 @@ ms.topic: how-to
106106
}
107107
```
108108

109-
3. Learn how to use this client, see [Azure Web PubSub service client library for .NET](/dotnet/api/overview/azure/messaging.webpubsub-readme-pre)
109+
Learn how to use this client, see [Azure Web PubSub service client library for .NET](/dotnet/api/overview/azure/messaging.webpubsub-readme-pre)
110110

111111
## Complete sample
112112

articles/azure-web-pubsub/howto-use-aad-in-python.md renamed to articles/azure-web-pubsub/howto-create-serviceclient-with-python-and-azure-identity.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
2-
title: How to use Azure Active Directory (AAD) in Python
3-
description: How to use Azure Active Directory (AAD) in Python
2+
title: How to create a WebPubSubServiceClient with Python and Azure Identity
3+
description: How to create a WebPubSubServiceClient with Python and Azure Identity
44
author: terencefan
5-
65
ms.author: tefa
76
ms.date: 11/15/2021
87
ms.service: azure-web-pubsub
98
ms.topic: how-to
109
---
1110

12-
# How to use Azure Active Directory (AAD) in Python
11+
# How to create a `WebPubSubServiceClient` with Python and Azure Identity
12+
13+
This how-to guide shows you how to create a `WebPubSubServiceClient` using Azure Active Directory in Python.
1314

1415
## Requirements
1516

@@ -44,7 +45,6 @@ ms.topic: how-to
4445
- VisualStudioCredential
4546
- VisualStudioCodeCredential
4647
- AzureCliCredential
47-
- ...
4848

4949
To learn more, see [Azure Identity client library for Python](/python/api/overview/azure/identity-readme)
5050

@@ -58,7 +58,7 @@ ms.topic: how-to
5858
client = WebPubSubServiceClient(hub="<hub>", endpoint="<endpoint>", credential=credential)
5959
```
6060

61-
3. Learn how to use this client, see [Azure Web PubSub service client library for Python](/python/api/overview/azure/messaging-webpubsubservice-readme)
61+
Learn how to use this client, see [Azure Web PubSub service client library for Python](/python/api/overview/azure/messaging-webpubsubservice-readme)
6262

6363
## Complete sample
6464

articles/azure-web-pubsub/toc.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@
5454
href: howto-websocket-connect.md
5555
- name: Configure event handler
5656
href: howto-develop-eventhandler.md
57+
- name: Create `WebPubSubServiceClient` with Azure Identity
58+
items:
59+
- name: Create `WebPubSubServiceClient` with Azure Identity and .NET
60+
href: howto-create-serviceclient-with-net-and-azure-identity.md
61+
- name: Create `WebPubSubServiceClient` with Azure Identity and Java
62+
href: howto-create-serviceclient-with-java-and-azure-identity.md
63+
- name: Create `WebPubSubServiceClient` with Azure Identity and JavaScript
64+
href: howto-create-serviceclient-with-javascript-and-azure-identity.md
65+
- name: Create `WebPubSubServiceClient` with Azure Identity and Python
66+
href: howto-create-serviceclient-with-python-and-azure-identity.md
5767
- name: Monitor
5868
items:
5969
- name: Audit compliance using Azure Policy

0 commit comments

Comments
 (0)