Skip to content

Commit c94ba86

Browse files
authored
acrolinx fixes
1 parent ed68f7f commit c94ba86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/communication-services/concepts/credentials-best-practices.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.service: azure-communication-services
1414

1515
# Credentials in Communication SDKs
1616

17-
This article provides information about best practices related to managing [User Access Tokens](./authentication.md#user-access-tokens) in Azure Communication Services SDKs. Following this guidance will help you optimize the resources used by your application and reduce the number of roundtrips to the Azure Communication Identity API.
17+
This article provides best practices for managing [User Access Tokens](./authentication.md#user-access-tokens) in Azure Communication Services SDKs. Following this guidance will help you optimize the resources used by your application and reduce the number of roundtrips to the Azure Communication Identity API.
1818

1919
## Communication Token Credential
2020

@@ -155,7 +155,7 @@ const refreshAadToken = async function (abortSignal, username) {
155155

156156
## Initial token
157157

158-
To further optimize your code, you can fetch the token at the application's startup and pass it to the Credential directly. This will skip the first call to the refresher callback function while preserving all subsequent calls to it.
158+
To further optimize your code, you can fetch the token at the application's startup and pass it to the Credential directly. Providing an initial token will skip the first call to the refresher callback function while preserving all subsequent calls to it.
159159

160160
```javascript
161161
const tokenCredential = new AzureCommunicationTokenCredential({
@@ -223,7 +223,7 @@ const publicClientApplication = new PublicClientApplication({
223223
## Cancel refreshing
224224
225225
For the Communication clients to be able to cancel ongoing refresh tasks, it's necessary to pass a cancellation object to the refresher callback.
226-
*Please note that this pattern applies only to JavaScript and .NET.*
226+
*Note that this pattern applies only to JavaScript and .NET.*
227227
228228
```javascript
229229
var controller = new AbortController();

0 commit comments

Comments
 (0)