RedisDataProtectionBuilderExtensions.PersistKeysToRedis 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í
| PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer) |
Nakonfiguruje systém ochrany dat tak, aby zachoval klíče na výchozí klíč (' DataProtection-Keys ') v databázi Redis. |
| PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey) |
Nakonfiguruje systém ochrany dat tak, aby zachoval klíče na zadaný klíč v databázi Redis. |
| PersistKeysToRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey) |
Nakonfiguruje systém ochrany dat tak, aby zachoval klíče na zadaný klíč v databázi Redis. |
PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer)
Nakonfiguruje systém ochrany dat tak, aby zachoval klíče na výchozí klíč (' DataProtection-Keys ') v databázi Redis.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToRedis(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, StackExchange::Redis::IConnectionMultiplexer ^ connectionMultiplexer);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToRedis (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, StackExchange.Redis.IConnectionMultiplexer connectionMultiplexer);
static member PersistKeysToRedis : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * StackExchange.Redis.IConnectionMultiplexer -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToRedis (builder As IDataProtectionBuilder, connectionMultiplexer As IConnectionMultiplexer) As IDataProtectionBuilder
Parametry
- builder
- IDataProtectionBuilder
Instance Tvůrce, kterou chcete upravit.
- connectionMultiplexer
- StackExchange.Redis.IConnectionMultiplexer
StackExchange.Redis.IConnectionMultiplexerPro přístup k databázi.
Návraty
Odkaz na IDataProtectionBuilder po této operaci byl dokončen.
Platí pro
PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)
Nakonfiguruje systém ochrany dat tak, aby zachoval klíče na zadaný klíč v databázi Redis.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToRedis(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, StackExchange::Redis::IConnectionMultiplexer ^ connectionMultiplexer, StackExchange::Redis::RedisKey key);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToRedis (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, StackExchange.Redis.IConnectionMultiplexer connectionMultiplexer, StackExchange.Redis.RedisKey key);
static member PersistKeysToRedis : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * StackExchange.Redis.IConnectionMultiplexer * StackExchange.Redis.RedisKey -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToRedis (builder As IDataProtectionBuilder, connectionMultiplexer As IConnectionMultiplexer, key As RedisKey) As IDataProtectionBuilder
Parametry
- builder
- IDataProtectionBuilder
Instance Tvůrce, kterou chcete upravit.
- connectionMultiplexer
- StackExchange.Redis.IConnectionMultiplexer
StackExchange.Redis.IConnectionMultiplexerPro přístup k databázi.
- key
- StackExchange.Redis.RedisKey
StackExchange.Redis.RedisKeySlouží k uložení seznamu klíčů.
Návraty
Odkaz na IDataProtectionBuilder po této operaci byl dokončen.
Platí pro
PersistKeysToRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)
Nakonfiguruje systém ochrany dat tak, aby zachoval klíče na zadaný klíč v databázi Redis.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToRedis(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Func<StackExchange::Redis::IDatabase ^> ^ databaseFactory, StackExchange::Redis::RedisKey key);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToRedis (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Func<StackExchange.Redis.IDatabase> databaseFactory, StackExchange.Redis.RedisKey key);
static member PersistKeysToRedis : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Func<StackExchange.Redis.IDatabase> * StackExchange.Redis.RedisKey -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToRedis (builder As IDataProtectionBuilder, databaseFactory As Func(Of IDatabase), key As RedisKey) As IDataProtectionBuilder
Parametry
- builder
- IDataProtectionBuilder
Instance Tvůrce, kterou chcete upravit.
- databaseFactory
- Func<StackExchange.Redis.IDatabase>
Delegát, který slouží k vytváření StackExchange.Redis.IDatabase instancí.
- key
- StackExchange.Redis.RedisKey
StackExchange.Redis.RedisKeySlouží k uložení seznamu klíčů.
Návraty
Odkaz na IDataProtectionBuilder po této operaci byl dokončen.