StackExchangeRedisDataProtectionBuilderExtensions.PersistKeysToStackExchangeRedis Metoda

Definicja

Przeciążenia

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Konfiguruje system ochrony danych w celu utrwalania kluczy do klucza domyślnego ('DataProtection-Keys') w bazie danych Redis

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Konfiguruje system ochrony danych w celu utrwalania kluczy do określonego klucza w bazie danych Redis

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Konfiguruje system ochrony danych w celu utrwalania kluczy do określonego klucza w bazie danych Redis

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Konfiguruje system ochrony danych w celu utrwalania kluczy do klucza domyślnego ('DataProtection-Keys') w bazie danych 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

Wystąpienie konstruktora do zmodyfikowania.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

Element StackExchange.Redis.IConnectionMultiplexer dla dostępu do bazy danych.

Zwraca

Odwołanie do elementu po zakończeniu IDataProtectionBuilder tej operacji.

Dotyczy

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Konfiguruje system ochrony danych w celu utrwalania kluczy do określonego klucza w bazie danych 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

Wystąpienie konstruktora do zmodyfikowania.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

Element StackExchange.Redis.IConnectionMultiplexer dla dostępu do bazy danych.

key
StackExchange.Redis.RedisKey

Element StackExchange.Redis.RedisKey używany do przechowywania listy kluczy.

Zwraca

Odwołanie do elementu po zakończeniu IDataProtectionBuilder tej operacji.

Dotyczy

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Konfiguruje system ochrony danych w celu utrwalania kluczy do określonego klucza w bazie danych 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

Wystąpienie konstruktora do zmodyfikowania.

databaseFactory
Func<StackExchange.Redis.IDatabase>

Delegat używany do tworzenia StackExchange.Redis.IDatabase wystąpień.

key
StackExchange.Redis.RedisKey

Element StackExchange.Redis.RedisKey używany do przechowywania listy kluczy.

Zwraca

Odwołanie do elementu po zakończeniu IDataProtectionBuilder tej operacji.

Dotyczy