MsalAbstractTokenCacheProvider Constructors
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.
Overloads
MsalAbstractTokenCacheProvider(IDataProtector) |
Constructor. |
MsalAbstractTokenCacheProvider(IDataProtector, ILogger<MsalAbstractTokenCacheProvider>) |
Constructor. |
MsalAbstractTokenCacheProvider(IDataProtector)
Constructor.
protected MsalAbstractTokenCacheProvider (Microsoft.AspNetCore.DataProtection.IDataProtector? dataProtector = default);
new Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider : Microsoft.AspNetCore.DataProtection.IDataProtector -> Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider
Protected Sub New (Optional dataProtector As IDataProtector = Nothing)
Parameters
- dataProtector
- IDataProtector
Service provider. Can be null, in which case the token cache will not be encrypted. See https://aka.ms/ms-id-web/token-cache-encryption.
Applies to
MsalAbstractTokenCacheProvider(IDataProtector, ILogger<MsalAbstractTokenCacheProvider>)
Constructor.
protected MsalAbstractTokenCacheProvider (Microsoft.AspNetCore.DataProtection.IDataProtector? dataProtector, Microsoft.Extensions.Logging.ILogger<Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider> logger);
new Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider : Microsoft.AspNetCore.DataProtection.IDataProtector * Microsoft.Extensions.Logging.ILogger<Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider> -> Microsoft.Identity.Web.TokenCacheProviders.MsalAbstractTokenCacheProvider
Protected Sub New (dataProtector As IDataProtector, logger As ILogger(Of MsalAbstractTokenCacheProvider))
Parameters
- dataProtector
- IDataProtector
Service provider. Can be null, in which case the token cache will not be encrypted. See https://aka.ms/ms-id-web/token-cache-encryption.
MsalDistributedTokenCacheAdapter logger.