Compartilhar via


DataProtectionBuilderExtensions.AddKeyEscrowSink Método

Definição

Sobrecargas

AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)

Registra um IKeyEscrowSink para executar o caução antes que as chaves sejam mantidas no armazenamento.

AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)

Registra um IKeyEscrowSink para executar o caução antes que as chaves sejam mantidas no armazenamento.

AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)

Registra um IKeyEscrowSink para executar o caução antes que as chaves sejam mantidas no armazenamento.

AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)

Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs

Registra um IKeyEscrowSink para executar o caução antes que as chaves sejam mantidas no armazenamento.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ AddKeyEscrowSink(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::AspNetCore::DataProtection::KeyManagement::IKeyEscrowSink ^ sink);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddKeyEscrowSink (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink sink);
static member AddKeyEscrowSink : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function AddKeyEscrowSink (builder As IDataProtectionBuilder, sink As IKeyEscrowSink) As IDataProtectionBuilder

Parâmetros

sink
IKeyEscrowSink

A instância do IKeyEscrowSink a ser registrado.

Retornos

Uma referência ao após a IDataProtectionBuilder conclusão dessa operação.

Comentários

Os registros são aditivos.

Aplica-se a

AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)

Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs

Registra um IKeyEscrowSink para executar o caução antes que as chaves sejam mantidas no armazenamento.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ AddKeyEscrowSink(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Func<IServiceProvider ^, Microsoft::AspNetCore::DataProtection::KeyManagement::IKeyEscrowSink ^> ^ factory);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddKeyEscrowSink (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Func<IServiceProvider,Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink> factory);
static member AddKeyEscrowSink : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Func<IServiceProvider, Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink> -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function AddKeyEscrowSink (builder As IDataProtectionBuilder, factory As Func(Of IServiceProvider, IKeyEscrowSink)) As IDataProtectionBuilder

Parâmetros

factory
Func<IServiceProvider,IKeyEscrowSink>

Uma fábrica que cria a IKeyEscrowSink instância .

Retornos

Uma referência ao após a IDataProtectionBuilder conclusão dessa operação.

Comentários

Os registros são aditivos. A fábrica é registrada como Singleton.

Aplica-se a

AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)

Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs
Origem:
DataProtectionBuilderExtensions.cs

Registra um IKeyEscrowSink para executar o caução antes que as chaves sejam mantidas no armazenamento.

public:
generic <typename TImplementation>
 where TImplementation : class, Microsoft::AspNetCore::DataProtection::KeyManagement::IKeyEscrowSink[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ AddKeyEscrowSink(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddKeyEscrowSink<TImplementation> (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder) where TImplementation : class, Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink;
static member AddKeyEscrowSink : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder (requires 'Implementation : null and 'Implementation :> Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink)
<Extension()>
Public Function AddKeyEscrowSink(Of TImplementation As {Class, IKeyEscrowSink}) (builder As IDataProtectionBuilder) As IDataProtectionBuilder

Parâmetros de tipo

TImplementation

O tipo concreto do IKeyEscrowSink a ser registrado.

Parâmetros

Retornos

Uma referência ao após a IDataProtectionBuilder conclusão dessa operação.

Comentários

Os registros são aditivos. A fábrica é registrada como Singleton.

Aplica-se a