DataProtectionStartup Class

Definition

Allows controlling the configuration of the ASP.NET Core Data Protection system.

public ref class DataProtectionStartup
public class DataProtectionStartup
type DataProtectionStartup = class
Public Class DataProtectionStartup
Inheritance
DataProtectionStartup

Remarks

Developers should not call these APIs directly. Instead, developers should subclass this type and override the ConfigureServices(IServiceCollection) method or CreateDataProtectionProvider(IServiceProvider) methods as appropriate.

Constructors

DataProtectionStartup()

Methods

ConfigureServices(IServiceCollection)

Configures services used by the Data Protection system.

CreateDataProtectionProvider(IServiceProvider)

Creates a new instance of an IDataProtectionProvider.

Applies to