Share via


RedisDataProtectionBuilderExtensions.PersistKeysToRedis Methode

Definition

Überlädt

PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den Standardschlüssel ("DataProtection-Keys") in der Redis-Datenbank beibehalten werden.

PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Konfiguriert das Datenschutzsystem zum Beibehalten von Schlüsseln für den angegebenen Schlüssel in der Redis-Datenbank

PersistKeysToRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Konfiguriert das Datenschutzsystem zum Beibehalten von Schlüsseln für den angegebenen Schlüssel in der Redis-Datenbank

PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Quelle:
RedisDataProtectionBuilderExtensions.cs

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den Standardschlüssel ("DataProtection-Keys") in der Redis-Datenbank beibehalten werden.

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

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

Die für den StackExchange.Redis.IConnectionMultiplexer Datenbankzugriff.

Gibt zurück

Ein Verweis auf den IDataProtectionBuilder , nachdem dieser Vorgang abgeschlossen wurde.

Gilt für:

PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Quelle:
RedisDataProtectionBuilderExtensions.cs

Konfiguriert das Datenschutzsystem zum Beibehalten von Schlüsseln für den angegebenen Schlüssel in der Redis-Datenbank

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

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

Die für den StackExchange.Redis.IConnectionMultiplexer Datenbankzugriff.

key
StackExchange.Redis.RedisKey

Die StackExchange.Redis.RedisKey zum Speichern der Schlüsselliste verwendete.

Gibt zurück

Ein Verweis auf den IDataProtectionBuilder , nachdem dieser Vorgang abgeschlossen wurde.

Gilt für:

PersistKeysToRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Quelle:
RedisDataProtectionBuilderExtensions.cs

Konfiguriert das Datenschutzsystem zum Beibehalten von Schlüsseln für den angegebenen Schlüssel in der Redis-Datenbank

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

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

databaseFactory
Func<StackExchange.Redis.IDatabase>

Der Delegat, der zum Erstellen von StackExchange.Redis.IDatabase Instanzen verwendet wird.

key
StackExchange.Redis.RedisKey

Die StackExchange.Redis.RedisKey zum Speichern der Schlüsselliste verwendete.

Gibt zurück

Ein Verweis auf den IDataProtectionBuilder , nachdem dieser Vorgang abgeschlossen wurde.

Gilt für: