Sdílet prostřednictvím


StackExchangeRedisDataProtectionBuilderExtensions.PersistKeysToStackExchangeRedis Metoda

Definice

Přetížení

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Nakonfiguruje systém ochrany dat tak, aby uchová klíče k výchozímu klíči (DataProtection-Keys) v databázi Redis.

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Nakonfiguruje systém ochrany dat tak, aby uchová klíče k zadanému klíči v databázi Redis.

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Nakonfiguruje systém ochrany dat tak, aby uchová klíče na zadaný klíč v databázi Redis.

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs

Nakonfiguruje systém ochrany dat tak, aby uchová klíče k výchozímu klíči (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

Pro StackExchange.Redis.IConnectionMultiplexer přístup k databázi.

Návraty

Odkaz na po IDataProtectionBuilder dokončení této operace.

Platí pro

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs

Nakonfiguruje systém ochrany dat tak, aby uchová klíče k zadanému klíči 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

Pro StackExchange.Redis.IConnectionMultiplexer přístup k databázi.

key
StackExchange.Redis.RedisKey

Slouží StackExchange.Redis.RedisKey k uložení seznamu klíčů.

Návraty

Odkaz na po IDataProtectionBuilder dokončení této operace.

Platí pro

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs
Zdroj:
RedisDataProtectionBuilderExtensions.cs

Nakonfiguruje systém ochrany dat tak, aby uchová 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 vytvoření StackExchange.Redis.IDatabase instancí.

key
StackExchange.Redis.RedisKey

Slouží StackExchange.Redis.RedisKey k uložení seznamu klíčů.

Návraty

Odkaz na po IDataProtectionBuilder dokončení této operace.

Platí pro