Skip to content

Commit 0469112

Browse files
reorder paragraphs
1 parent 808439c commit 0469112

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/applied-ai-services/immersive-reader/how-to-cache-token.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This article demonstrates how to cache the authentication token in order to impr
1919

2020
## Using ASP.NET
2121

22-
Import the **Microsoft.Identity.Client** NuGet package, which is used to acquire a token. Next, use the following code to acquire an `AuthenticationResult`, using the authentication values you got when you [created the Immersive Reader resource](./how-to-create-immersive-reader.md).
22+
Import the **Microsoft.Identity.Client** NuGet package, which is used to acquire a token.
2323

2424
Create a confidential client application property.
2525

@@ -40,6 +40,8 @@ private IConfidentialClientApplication ConfidentialClientApplication
4040
}
4141
```
4242

43+
Next, use the following code to acquire an `AuthenticationResult`, using the authentication values you got when you [created the Immersive Reader resource](./how-to-create-immersive-reader.md).
44+
4345
```csharp
4446
public async Task<string> GetTokenAsync()
4547
{

0 commit comments

Comments
 (0)