EphemeralDataProtectionProvider 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
EphemeralDataProtectionProvider() |
Creates an ephemeral IDataProtectionProvider. |
EphemeralDataProtectionProvider(ILoggerFactory) |
Creates an ephemeral IDataProtectionProvider with logging. |
EphemeralDataProtectionProvider(IServiceProvider) |
Creates an ephemeral IDataProtectionProvider, optionally providing services (such as logging) for consumption by the provider. |
EphemeralDataProtectionProvider()
Creates an ephemeral IDataProtectionProvider.
public:
EphemeralDataProtectionProvider();
public EphemeralDataProtectionProvider ();
Public Sub New ()
Applies to
EphemeralDataProtectionProvider(ILoggerFactory)
Creates an ephemeral IDataProtectionProvider with logging.
public:
EphemeralDataProtectionProvider(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public EphemeralDataProtectionProvider (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider
Public Sub New (loggerFactory As ILoggerFactory)
Parameters
- loggerFactory
- ILoggerFactory
The ILoggerFactory.
Applies to
EphemeralDataProtectionProvider(IServiceProvider)
Creates an ephemeral IDataProtectionProvider, optionally providing services (such as logging) for consumption by the provider.
public:
EphemeralDataProtectionProvider(IServiceProvider ^ services);
public EphemeralDataProtectionProvider (IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider : IServiceProvider -> Microsoft.AspNetCore.DataProtection.EphemeralDataProtectionProvider
Public Sub New (services As IServiceProvider)
Parameters
- services
- IServiceProvider