Table of Contents

Class RedisDataProtectionBuilderExtensions

Namespace
Steeltoe.Security.DataProtection.Redis
Assembly
Steeltoe.Security.DataProtection.Redis.dll
public static class RedisDataProtectionBuilderExtensions
Inheritance
RedisDataProtectionBuilderExtensions
Inherited Members

Methods

PersistKeysToRedis(IDataProtectionBuilder)

Configures the data protection system to persist keys in a Redis database, using the Steeltoe Connector for Redis.

public static IDataProtectionBuilder PersistKeysToRedis(this IDataProtectionBuilder builder)

Parameters

builder IDataProtectionBuilder

The IDataProtectionBuilder to configure.

Returns

IDataProtectionBuilder

The incoming builder so that additional calls can be chained.

PersistKeysToRedis(IDataProtectionBuilder, string)

Configures the data protection system to persist keys in a Redis database, using the Steeltoe Connector for Redis.

public static IDataProtectionBuilder PersistKeysToRedis(this IDataProtectionBuilder builder, string serviceBindingName)

Parameters

builder IDataProtectionBuilder

The IDataProtectionBuilder to configure.

serviceBindingName string

The service binding name, in case multiple redis services are used.

Returns

IDataProtectionBuilder

The incoming builder so that additional calls can be chained.