ClaimsCookie 0.9.6

An HttpModule that will serialize user information to a chunked protected cookie (with MachineKey) and deserialize on every request to a ClaimsPrincipal.


var user = new Dictionary<string, string>
               { "name", "John Foo" },
               { "id", "1234" },
               { "email", "" }


That's it. Now, you will be able to access the user claims like this:


The cookie will be chunked in multiple cookies to avoid hitting a limit if you are storing lots of user info and it will be deflated and protected with the machine key.

There is a newer version of this package available.
See the version list below for details.
Install-Package ClaimsCookie -Version 0.9.6
dotnet add package ClaimsCookie --version 0.9.6
<PackageReference Include="ClaimsCookie" Version="0.9.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClaimsCookie --version 0.9.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 6,146 7/23/2013
1.0.0 827 7/1/2013
0.9.6 997 5/7/2013
0.9.5 663 5/7/2013
0.9.4 648 5/7/2013
0.9.3 707 3/21/2013
0.9.2 954 3/20/2013
0.9.1 734 3/20/2013
0.9.0 651 3/20/2013