StackExchangeRedisDataProtectionBuilderExtensions.PersistKeysToStackExchangeRedis Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer) |
Nakonfiguruje systém ochrany dat tak, aby uchovával klíče do výchozího klíče (DataProtection-Keys) v databázi Redis. |
| PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey) |
Nakonfiguruje systém ochrany dat tak, aby uchovával klíče do zadaného klíče v databázi Redis. |
| PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey) |
Nakonfiguruje systém ochrany dat tak, aby uchovával klíče na zadaný klíč v databázi Redis. |
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)
Nakonfiguruje systém ochrany dat tak, aby uchovával klíče do výchozího klíče (DataProtection-Keys) v databázi 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
Parametry
- builder
- IDataProtectionBuilder
Instance tvůrce, která se má upravit.
- connectionMultiplexer
- StackExchange.Redis.IConnectionMultiplexer
Přístup StackExchange.Redis.IConnectionMultiplexer k databázi.
Návraty
Odkaz na po IDataProtectionBuilder dokončení této operace.
Platí pro
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)
Nakonfiguruje systém ochrany dat tak, aby uchovával klíče do zadaného klíče v databázi 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
Parametry
- builder
- IDataProtectionBuilder
Instance tvůrce, která se má upravit.
- connectionMultiplexer
- StackExchange.Redis.IConnectionMultiplexer
Přístup StackExchange.Redis.IConnectionMultiplexer k databázi.
- key
- StackExchange.Redis.RedisKey
Použitý StackExchange.Redis.RedisKey k ukládání seznamu klíčů.
Návraty
Odkaz na po IDataProtectionBuilder dokončení této operace.
Platí pro
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)
Nakonfiguruje systém ochrany dat tak, aby uchovával klíče na zadaný klíč v databázi 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
Parametry
- builder
- IDataProtectionBuilder
Instance tvůrce, která se má upravit.
- databaseFactory
- Func<StackExchange.Redis.IDatabase>
Delegát použitý k vytváření StackExchange.Redis.IDatabase instancí.
- key
- StackExchange.Redis.RedisKey
Použitý StackExchange.Redis.RedisKey k ukládání seznamu klíčů.
Návraty
Odkaz na po IDataProtectionBuilder dokončení této operace.