StackExchangeRedisDataProtectionBuilderExtensions.PersistKeysToStackExchangeRedis Метод

Определение

Перегрузки

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Настраивает систему защиты данных для сохранения ключей в ключе по умолчанию ("DataProtection-Keys") в базе данных Redis.

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

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

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Настраивает систему защиты данных для сохранения ключей для указанного ключа в базе данных Redis.

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Настраивает систему защиты данных для сохранения ключей в ключе по умолчанию ("DataProtection-Keys") в базе данных 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

Параметры

builder
IDataProtectionBuilder

Изменяемый экземпляр построителя.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

Для StackExchange.Redis.IConnectionMultiplexer доступа к базе данных.

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

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

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

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Настраивает систему защиты данных для сохранения ключей к указанному ключу в базе данных 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

Параметры

builder
IDataProtectionBuilder

Изменяемый экземпляр построителя.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

Для StackExchange.Redis.IConnectionMultiplexer доступа к базе данных.

key
StackExchange.Redis.RedisKey

Объект , используемый StackExchange.Redis.RedisKey для хранения списка ключей.

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

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

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

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Настраивает систему защиты данных для сохранения ключей для указанного ключа в базе данных 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

Параметры

builder
IDataProtectionBuilder

Изменяемый экземпляр построителя.

databaseFactory
Func<StackExchange.Redis.IDatabase>

Делегат, используемый для создания StackExchange.Redis.IDatabase экземпляров.

key
StackExchange.Redis.RedisKey

Объект , используемый StackExchange.Redis.RedisKey для хранения списка ключей.

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

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

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