DataProtectionBuilder Class

Default implementation of Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder.

Namespace
Microsoft.AspNetCore.DataProtection.Internal
Assemblies
  • Microsoft.AspNetCore.DataProtection

Syntax

public class DataProtectionBuilder : IDataProtectionBuilder
class Microsoft.AspNetCore.DataProtection.Internal.DataProtectionBuilder

Constructors

DataProtectionBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection)

Creates a new configuration object linked to a Microsoft.Extensions.DependencyInjection.IServiceCollection.

public DataProtectionBuilder(IServiceCollection services)

Properties

Microsoft.AspNetCore.DataProtection.Internal.DataProtectionBuilder.Services
Return type:Microsoft.Extensions.DependencyInjection.IServiceCollection
public IServiceCollection Services { get; }