Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

imperugo/IdentityServer3.Contrib.Cache.Redis

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IdentityServer3.Contrib.Cache.Redis

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

  • ICache<Client>
  • ICache<IEnumerable<Scope>>
  • ICache<IEnumerable<Claim>>

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.