Compartir a través de


StackExchangeRedisDataProtectionBuilderExtensions.PersistKeysToStackExchangeRedis Método

Definición

Sobrecargas

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Configura el sistema de protección de datos para conservar las claves en la clave predeterminada ("DataProtection-Keys") en la base de datos de Redis.

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Configura el sistema de protección de datos para conservar las claves en la clave especificada en la base de datos de Redis.

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Configura el sistema de protección de datos para conservar las claves especificadas en la base de datos de Redis.

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs

Configura el sistema de protección de datos para conservar las claves en la clave predeterminada ("DataProtection-Keys") en la base de datos de Redis.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToStackExchangeRedis(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, StackExchange::Redis::IConnectionMultiplexer ^ connectionMultiplexer);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToStackExchangeRedis (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, StackExchange.Redis.IConnectionMultiplexer connectionMultiplexer);
static member PersistKeysToStackExchangeRedis : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * StackExchange.Redis.IConnectionMultiplexer -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToStackExchangeRedis (builder As IDataProtectionBuilder, connectionMultiplexer As IConnectionMultiplexer) As IDataProtectionBuilder

Parámetros

builder
IDataProtectionBuilder

Instancia del generador que se va a modificar.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

para StackExchange.Redis.IConnectionMultiplexer el acceso a la base de datos.

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Se aplica a

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs

Configura el sistema de protección de datos para conservar las claves en la clave especificada en la base de datos de Redis.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToStackExchangeRedis(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, StackExchange::Redis::IConnectionMultiplexer ^ connectionMultiplexer, StackExchange::Redis::RedisKey key);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToStackExchangeRedis (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, StackExchange.Redis.IConnectionMultiplexer connectionMultiplexer, StackExchange.Redis.RedisKey key);
static member PersistKeysToStackExchangeRedis : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * StackExchange.Redis.IConnectionMultiplexer * StackExchange.Redis.RedisKey -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToStackExchangeRedis (builder As IDataProtectionBuilder, connectionMultiplexer As IConnectionMultiplexer, key As RedisKey) As IDataProtectionBuilder

Parámetros

builder
IDataProtectionBuilder

Instancia del generador que se va a modificar.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

para StackExchange.Redis.IConnectionMultiplexer el acceso a la base de datos.

key
StackExchange.Redis.RedisKey

que StackExchange.Redis.RedisKey se usa para almacenar la lista de claves.

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Se aplica a

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs

Configura el sistema de protección de datos para conservar las claves especificadas en la base de datos de Redis.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToStackExchangeRedis(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Func<StackExchange::Redis::IDatabase ^> ^ databaseFactory, StackExchange::Redis::RedisKey key);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToStackExchangeRedis (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Func<StackExchange.Redis.IDatabase> databaseFactory, StackExchange.Redis.RedisKey key);
static member PersistKeysToStackExchangeRedis : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Func<StackExchange.Redis.IDatabase> * StackExchange.Redis.RedisKey -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToStackExchangeRedis (builder As IDataProtectionBuilder, databaseFactory As Func(Of IDatabase), key As RedisKey) As IDataProtectionBuilder

Parámetros

builder
IDataProtectionBuilder

Instancia del generador que se va a modificar.

databaseFactory
Func<StackExchange.Redis.IDatabase>

Delegado usado para crear StackExchange.Redis.IDatabase instancias.

key
StackExchange.Redis.RedisKey

que StackExchange.Redis.RedisKey se usa para almacenar la lista de claves.

Devoluciones

Referencia a una IDataProtectionBuilder vez completada esta operación.

Se aplica a