Share via


StackExchangeRedisDataProtectionBuilderExtensions.PersistKeysToStackExchangeRedis Methode

Definition

Überlädt

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

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

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Schlüssel in der Redis-Datenbank beibehalten werden.

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

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

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
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 ^ 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

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

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

Gibt zurück

Ein Verweis auf nach IDataProtectionBuilder Abschluss dieses Vorgangs.

Gilt für:

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs

Konfiguriert das Datenschutzsystem so, dass Schlüssel für den angegebenen Schlüssel in der Redis-Datenbank beibehalten werden.

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

Parameter

builder
IDataProtectionBuilder

Der Generator instance zu ändern.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

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

key
StackExchange.Redis.RedisKey

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

Gibt zurück

Ein Verweis auf nach IDataProtectionBuilder Abschluss dieses Vorgangs.

Gilt für:

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
Quelle:
RedisDataProtectionBuilderExtensions.cs
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 ^ 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

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 nach IDataProtectionBuilder Abschluss dieses Vorgangs.

Gilt für: