title | titleSuffix | description | author | manager | services | ms.author | ms.date | ms.topic | ms.service | ms.subservice | zone_pivot_groups | ms.custom |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Quickstart - Create and manage access tokens |
An Azure Communication Services quickstart |
Learn how to manage identities and access tokens by using the Azure Communication Services Identity SDK. |
tomaschladek |
nmurav |
azure-communication-services |
tchladek |
11/17/2021 |
quickstart |
azure-communication-services |
identity |
acs-azcli-js-csharp-java-python-portal-nocode |
mode-other, devx-track-azurecli, devx-track-extended-java, devx-track-js, devx-track-python |
Access tokens let Azure Communication Services SDKs authenticate directly against Azure Communication Services as a particular identity. You'll need to create access tokens if you want your users to join a call or chat thread within your application.
In this quickstart, you'll learn how to use the Azure Communication Services SDKs to create identities and manage your access tokens. For production use cases, we recommend that you generate access tokens on a server-side service.
::: zone pivot="platform-azcli" [!INCLUDE Azure CLI] ::: zone-end
::: zone pivot="programming-language-csharp" [!INCLUDE .NET] ::: zone-end
::: zone pivot="programming-language-javascript" [!INCLUDE JavaScript] ::: zone-end
::: zone pivot="programming-language-python" [!INCLUDE Python] ::: zone-end
::: zone pivot="programming-language-java" [!INCLUDE Java] ::: zone-end
::: zone pivot="platform-azportal" [!INCLUDE AzPortal] ::: zone-end
::: zone pivot="platform-nocode" [!INCLUDE No Code] ::: zone-end
The user ID is intended to act as a primary key for logs and metrics that are collected through Azure Monitor. To view all of a user's calls, for example, you can set up your authentication in a way that maps a specific Azure Communication Services identity (or identities) to a single user.
Learn more about authentication concepts, call diagnostics through log analytics, and metrics that are available to you.
To clean up and remove a Communication Services subscription, delete the resource or resource group. Deleting a resource group also deletes any other resources that are associated with it. For more information, see the "Clean up resources" section of Create and manage Communication Services resources.
::: zone pivot="platform-nocode" To clean up your logic app workflow and related resources, review how to clean up Azure Logic Apps resources. ::: zone-end
::: zone pivot="platform-azportal,programming-language-java,programming-language-python,programming-language-javascript,programming-language-csharp,platform-azcli"
In this quickstart, you learned how to:
[!div class="checklist"]
- Issue access tokens
- Manage identities
[!div class="nextstepaction"] Add voice calling to your app
You might also want to:
- Learn about authentication
- Add chat to your app
- Learn about client and server architecture
- Deploy trusted authentication service hero sample
::: zone-end
::: zone pivot="platform-nocode"
In this quickstart, you learned how to create a user, delete a user, issue a user an access token and remove user access token using the Azure Communication Services Identity connector. To learn more check the Azure Communication Services Identity Connector documentation.
To see how tokens are use by other connectors, check out how to send a chat message from Power Automate using Azure Communication Services.
To learn more about how to send an email using the Azure Communication Services Email connector check Send email message in Power Automate with Azure Communication Services. ::: zone-end