DataProtectionBuilderExtensions.AddKeyManagementOptions Метод

Определение

Настраивает параметры управления ключами для системы защиты данных.

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

Параметры

setupAction
Action<KeyManagementOptions>

Действие Action<T> для настройки предоставленного объекта KeyManagementOptions.

Возвращаемое значение

Ссылка на после IDataProtectionBuilder завершения этой операции.

Применяется к