Skip to content

RegionOrebroLan/.NET-Web-Authentication-Cookies-Extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET-Web-Authentication-Cookies-Extensions

Additions and extensions for .NET web-authentication-cookies (ASP.NET Core).

NuGet

1 Features

1.1 Configurable ITicketStore

Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions.SessionStore is of type Microsoft.AspNetCore.Authentication.Cookies.ITicketStore. You can implement your own.

This library contains 2:

The ITicketStore is configurable in appsettings.json.

1.1.1 DistributedCacheTicketStore

The DistributedCacheTicketStore uses DataProtection. In a load-balanced environment the DataProtection also have to be configured/setup to support load-balancing.

2 Examples

2.1 Redis

Setup Redis locally with Docker:

docker run --rm -it -p 6379:6379 redis

3 Notes

About

Additions and extensions for .NET web-authentication-cookies (ASP.NET Core).

Resources

License

Stars

Watchers

Forks

Packages

No packages published