RedisDataProtectionBuilderExtensions.PersistKeysToRedis メソッド

定義

オーバーロード

PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Redis データベースの既定のキー ('DataProtection-Keys') にキーを保持するようにデータ保護システムを構成します

PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Redis データベースで指定したキーにキーを保持するようにデータ保護システムを構成します

PersistKeysToRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Redis データベースで指定されたキーにキーを保持するようにデータ保護システムを構成します

PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Redis データベースの既定のキー ('DataProtection-Keys') にキーを保持するようにデータ保護システムを構成します

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

パラメーター

builder
IDataProtectionBuilder

変更するビルダー インスタンス。

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

StackExchange.Redis.IConnectionMultiplexerデータベース アクセスの 。

戻り値

この操作が完了した後の への IDataProtectionBuilder 参照。

適用対象

PersistKeysToRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

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

パラメーター

builder
IDataProtectionBuilder

変更するビルダー インスタンス。

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

StackExchange.Redis.IConnectionMultiplexerデータベース アクセスの 。

key
StackExchange.Redis.RedisKey

StackExchange.Redis.RedisKeyキー リストの格納に使用される 。

戻り値

この操作が完了した後の への IDataProtectionBuilder 参照。

適用対象

PersistKeysToRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

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

パラメーター

builder
IDataProtectionBuilder

変更するビルダー インスタンス。

databaseFactory
Func<StackExchange.Redis.IDatabase>

インスタンスの作成 StackExchange.Redis.IDatabase に使用されるデリゲート。

key
StackExchange.Redis.RedisKey

StackExchange.Redis.RedisKeyキー リストの格納に使用される 。

戻り値

この操作が完了した後の への IDataProtectionBuilder 参照。

適用対象