共用方式為


IConfidentialClientApplication.AppTokenCache Property

Definition

Application token cache which holds access tokens for this application. It's maintained and updated silently when calling AcquireTokenForClient(IEnumerable<String>)

public Microsoft.Identity.Client.ITokenCache AppTokenCache { get; }
member this.AppTokenCache : Microsoft.Identity.Client.ITokenCache
Public ReadOnly Property AppTokenCache As ITokenCache

Property Value

Remarks

On .NET Framework and .NET Core you can also customize the token cache serialization. See Token Cache Serialization. This is taken care of by MSAL.NET on other platforms.

Applies to