AliBazzi / IdentityServer4.Contrib.RedisStore

A persistence layer using Redis DB for operational data and for caching capability for Identity Server 4
https://www.nuget.org/packages/IdentityServer4.Contrib.RedisStore
MIT License
137 stars 48 forks source link

Add support for bringing your own ConnectionMultiplexer #20

Closed joukevandermaas closed 5 years ago

joukevandermaas commented 5 years ago

Fixes #19.

In the case where both a connection string and a multiplexer are provided, the multiplexer is now preferred and no connection will be made. There is a strange edge case if a user reads the multiplexer property before setting it (in that case a connection is made), but I think it is not an issue in practice.

AliBazzi commented 5 years ago

Thank you @joukevandermaas for the PR a new release is pushed as https://www.nuget.org/packages/IdentityServer4.Contrib.RedisStore/2.1.0

joukevandermaas commented 5 years ago

Thanks!!