MsalAbstractTokenCacheProvider Constructors

Definition

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.

logger
ILogger<MsalAbstractTokenCacheProvider>

MsalDistributedTokenCacheAdapter logger.

Applies to