Skip to content

Commit 7917529

Browse files
authored
Merge pull request #95650 from MicrosoftDocs/shwetamathur7-patch-8
(AzureCXP) fixes MicrosoftDocs/azure-docs#95632
2 parents f0f9469 + 603e559 commit 7917529

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/active-directory/develop/msal-net-token-cache-serialization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ services.Configure<MsalDistributedTokenCacheAdapterOptions>(options =>
102102
options.DisableL1Cache = false;
103103

104104
// Or limit the memory (by default, this is 500 MB)
105-
options.L1CacheOptions.SizeLimit = 1024 * 1024 * 1024, // 1 GB
105+
options.L1CacheOptions.SizeLimit = 1024 * 1024 * 1024; // 1 GB
106106
107107
// You can choose if you encrypt or not encrypt the cache
108108
options.Encrypt = false;
109109

110110
// And you can set eviction policies for the distributed
111111
// cache.
112112
options.SlidingExpiration = TimeSpan.FromHours(1);
113-
}
113+
});
114114

115115
// Then, choose your implementation of distributed cache
116116
// -----------------------------------------------------
@@ -708,4 +708,4 @@ The following samples illustrate token cache serialization.
708708
| ------ | -------- | ----------- |
709709
|[active-directory-dotnet-desktop-msgraph-v2](https://github.com/azure-samples/active-directory-dotnet-desktop-msgraph-v2) | Desktop (WPF) | Windows Desktop .NET (WPF) application that calls the Microsoft Graph API. ![Diagram that shows a topology with a desktop app client flowing to Azure Active Directory by acquiring a token interactively and to Microsoft Graph.](media/msal-net-token-cache-serialization/topology.png)|
710710
|[active-directory-dotnet-v1-to-v2](https://github.com/Azure-Samples/active-directory-dotnet-v1-to-v2) | Desktop (console) | Set of Visual Studio solutions that illustrate the migration of Azure AD v1.0 applications (using ADAL.NET) to Microsoft identity platform applications (using MSAL.NET). In particular, see [Token cache migration](https://github.com/Azure-Samples/active-directory-dotnet-v1-to-v2/blob/master/TokenCacheMigration/README.md) and [Confidential client token cache](https://github.com/Azure-Samples/active-directory-dotnet-v1-to-v2/tree/master/ConfidentialClientTokenCache). |
711-
[ms-identity-aspnet-webapp-openidconnect](https://github.com/Azure-Samples/ms-identity-aspnet-webapp-openidconnect) | ASP.NET (net472) | Example of token cache serialization in an ASP.NET MVC application (using MSAL.NET). In particular, see [MsalAppBuilder](https://github.com/Azure-Samples/ms-identity-aspnet-webapp-openidconnect/blob/master/WebApp/Utils/MsalAppBuilder.cs).
711+
[ms-identity-aspnet-webapp-openidconnect](https://github.com/Azure-Samples/ms-identity-aspnet-webapp-openidconnect) | ASP.NET (net472) | Example of token cache serialization in an ASP.NET MVC application (using MSAL.NET). In particular, see [MsalAppBuilder](https://github.com/Azure-Samples/ms-identity-aspnet-webapp-openidconnect/blob/master/WebApp/Utils/MsalAppBuilder.cs).

0 commit comments

Comments
 (0)