DataProtectionBuilderExtensions.UseEphemeralDataProtectionProvider Method
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.
Configures the data protection system to use the EphemeralDataProtectionProvider for data protection services.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ UseEphemeralDataProtectionProvider(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder UseEphemeralDataProtectionProvider (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder);
static member UseEphemeralDataProtectionProvider : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function UseEphemeralDataProtectionProvider (builder As IDataProtectionBuilder) As IDataProtectionBuilder
Parameters
- builder
- IDataProtectionBuilder
Returns
A reference to the IDataProtectionBuilder after this operation has completed.
Remarks
If this option is used, payloads protected by the data protection system will be permanently undecipherable after the application exits.