Share via


EphemeralDataProtectionProvider Constructors

Definition

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()

Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs

Creates an ephemeral IDataProtectionProvider.

public:
 EphemeralDataProtectionProvider();
public EphemeralDataProtectionProvider ();
Public Sub New ()

Applies to

EphemeralDataProtectionProvider(ILoggerFactory)

Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs
Source:
EphemeralDataProtectionProvider.cs

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

Applies to