diff --git a/src/Microsoft.Identity.Web/TokenCacheProviders/Distributed/MsalDistributedTokenCacheAdapter.cs b/src/Microsoft.Identity.Web/TokenCacheProviders/Distributed/MsalDistributedTokenCacheAdapter.cs index 20196968f..520847c24 100644 --- a/src/Microsoft.Identity.Web/TokenCacheProviders/Distributed/MsalDistributedTokenCacheAdapter.cs +++ b/src/Microsoft.Identity.Web/TokenCacheProviders/Distributed/MsalDistributedTokenCacheAdapter.cs @@ -23,7 +23,7 @@ public class MsalDistributedTokenCacheAdapter : MsalAbstractTokenCacheProvider /// /// MSAL memory token cache options. /// - private readonly DistributedCacheEntryOptions _cacheOptions; + private readonly MsalDistributedTokenCacheAdapterOptions _cacheOptions; /// /// Initializes a new instance of the class. @@ -36,7 +36,7 @@ public MsalDistributedTokenCacheAdapter( IOptions microsoftIdentityOptions, IHttpContextAccessor httpContextAccessor, IDistributedCache memoryCache, - IOptions cacheOptions) + IOptions cacheOptions) : base(microsoftIdentityOptions, httpContextAccessor) { if (cacheOptions == null) diff --git a/src/Microsoft.Identity.Web/TokenCacheProviders/Distributed/MsalDistributedTokenCacheAdapterOptions.cs b/src/Microsoft.Identity.Web/TokenCacheProviders/Distributed/MsalDistributedTokenCacheAdapterOptions.cs new file mode 100644 index 000000000..5aba0a8a8 --- /dev/null +++ b/src/Microsoft.Identity.Web/TokenCacheProviders/Distributed/MsalDistributedTokenCacheAdapterOptions.cs @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Extensions.Caching.Distributed; + +namespace Microsoft.Identity.Web.TokenCacheProviders.Distributed +{ + /// + /// Options for the MSAL token cache serialization adapter, + /// which delegates the serialization to the IDistributedCache implementations + /// available with .NET Core. + /// + public class MsalDistributedTokenCacheAdapterOptions : DistributedCacheEntryOptions + { + } +}