Home

Awesome

IdentityServer3.Contrib.Cache.Redis

IdentityServer3.Contrib.Cache.Redis is a library that offers the right implementation of

for all distributed environments that are using Redis as cache server.

##How to install it

##Install Core NuGet Status

PM> Install-Package IdentityServer3.Contrib.Cache.Redis

Than register it on your Identity Server

var clientStoreCache = new ClientStoreCache(myRedisMultiplexInstance);
var scopeStoreCache = new ScopeStoreCache(myRedisMultiplexInstance);
var userServiceCache = new UserServiceCache(myRedisMultiplexInstance);

factory.ConfigureClientStoreCache(new Registration<ICache<Client>>(clientStoreCache));

factory.ConfigureScopeStoreCache(new Registration<ICache<IEnumerable<Scope>>>(scopeStoreCache));

factory.ConfigureUserServiceCache(new Registration<ICache<IEnumerable<Claim>>>(userServiceCache));

For more information about caching and Identity Server Take a look here

Contributing

Getting started with Git and GitHub

Once you're familiar with Git and GitHub, clone the repository and start contributing.