IDataProtectionBuilder Interface¶
Provides access to configuration for the data protection system, which allows the developer to configure default cryptographic algorithms, key storage locations, and the mechanism by which keys are protected at rest.
- Namespace
Microsoft.AspNetCore.DataProtection
- Assemblies
- Microsoft.AspNetCore.DataProtection
Syntax¶
public interface IDataProtectionBuilder
-
interface
Microsoft.AspNetCore.DataProtection.
IDataProtectionBuilder
Properties¶
-
Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder.
Services
¶ Provides access to the
Microsoft.Extensions.DependencyInjection.IServiceCollection
passed to this object’s constructor.Return type: Microsoft.Extensions.DependencyInjection.IServiceCollection IServiceCollection Services { get; }
-