CacheOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for MSAL token caches.
public class CacheOptions
type CacheOptions = class
Public Class CacheOptions
- Inheritance
-
CacheOptions
Remarks
Detailed cache guidance for each application type and platform, including L2 options: https://aka.ms/msal-net-token-cache-serialization
Constructors
CacheOptions() |
Constructor for the options with default values. |
CacheOptions(Boolean) |
Constructor |
Properties
EnableSharedCacheOptions |
Recommended options for using a static cache. |
UseSharedCache |
Share the cache between all ClientApplication objects. The cache becomes static. Defaults to false. |
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour