DataProtectionBuilderExtensions.AddKeyManagementOptions Metodo

Definizione

Configura le opzioni di gestione delle chiavi per il sistema di protezione dei dati.

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

Parametri

setupAction
Action<KeyManagementOptions>

Oggetto Action<T> per la configurazione dell'oggetto KeyManagementOptions fornito.

Restituisce

Riferimento all'oggetto dopo il completamento dell'operazione IDataProtectionBuilder .

Si applica a