StackExchangeRedisDataProtectionBuilderExtensions.PersistKeysToStackExchangeRedis Method

Definition

Overloads

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Configures the data protection system to persist keys to the default key ('DataProtection-Keys') in Redis database

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Configures the data protection system to persist keys to the specified key in Redis database

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Configures the data protection system to persist keys to specified key in Redis database

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)

Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs

Configures the data protection system to persist keys to the default key ('DataProtection-Keys') in Redis database

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

Parameters

builder
IDataProtectionBuilder

The builder instance to modify.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

The StackExchange.Redis.IConnectionMultiplexer for database access.

Returns

A reference to the IDataProtectionBuilder after this operation has completed.

Applies to

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)

Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs

Configures the data protection system to persist keys to the specified key in Redis database

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

Parameters

builder
IDataProtectionBuilder

The builder instance to modify.

connectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer

The StackExchange.Redis.IConnectionMultiplexer for database access.

key
StackExchange.Redis.RedisKey

The StackExchange.Redis.RedisKey used to store key list.

Returns

A reference to the IDataProtectionBuilder after this operation has completed.

Applies to

PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)

Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs
Source:
RedisDataProtectionBuilderExtensions.cs

Configures the data protection system to persist keys to specified key in Redis database

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

Parameters

builder
IDataProtectionBuilder

The builder instance to modify.

databaseFactory
Func<StackExchange.Redis.IDatabase>

The delegate used to create StackExchange.Redis.IDatabase instances.

key
StackExchange.Redis.RedisKey

The StackExchange.Redis.RedisKey used to store key list.

Returns

A reference to the IDataProtectionBuilder after this operation has completed.

Applies to