DataProtectionBuilderExtensions.AddKeyManagementOptions 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 key management options for the data protection system.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ AddKeyManagementOptions(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Action<Microsoft::AspNetCore::DataProtection::KeyManagement::KeyManagementOptions ^> ^ setupAction);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddKeyManagementOptions (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Action<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions> setupAction);
static member AddKeyManagementOptions : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Action<Microsoft.AspNetCore.DataProtection.KeyManagement.KeyManagementOptions> -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function AddKeyManagementOptions (builder As IDataProtectionBuilder, setupAction As Action(Of KeyManagementOptions)) As IDataProtectionBuilder
Parameters
- builder
- IDataProtectionBuilder
- setupAction
- Action<KeyManagementOptions>
An Action<T> to configure the provided KeyManagementOptions.
Returns
A reference to the IDataProtectionBuilder after this operation has completed.