Share via


DataProtectionBuilderExtensions.UseEphemeralDataProtectionProvider Method

Definition

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

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.

Applies to