Install-Package Kaizen.Mvc.EncryptedToken -Version
dotnet add package Kaizen.Mvc.EncryptedToken --version
<PackageReference Include="Kaizen.Mvc.EncryptedToken" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Kaizen.Mvc.EncryptedToken --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Kaizen.Mvc.EncryptedToken,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Kaizen.Mvc.EncryptedToken as a Cake Addin
#addin nuget:?package=Kaizen.Mvc.EncryptedToken&version=

// Install Kaizen.Mvc.EncryptedToken as a Cake Tool
#tool nuget:?package=Kaizen.Mvc.EncryptedToken&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This is a generic pluggable package, developer can use this package to authenticate and authorize dynamically every requests comes to web application.

Developer can have role based authorization dynamically. There's no need to hard code any Role Name. This package has own UI interface to authorize any role against any permission at any time.

Encrypted token will be saved in cookie. Internally this package holds user's state during MVC request life cycle. So developer doesn't need to worry about state management of login user.

Each & Every token will be generated by use of unique secrete key to encrypt user's information. In other world, If I would say, the secrete key will not be same for each successful login, whether it is same or different user, so consequently  each and every encrypted token will be unique too. 

Once user is authenticated by username and password, this package will help you to create an encrypted token which will come with each request so that request will be authenticated and authorized.

This package is not forcing you to implement any specific membership provider, Even developer can have your own custom implementation to authenticate username and password.

Click here for more detail

Click here for demo project

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 506 9/10/2018 458 9/9/2018 490 8/21/2018 479 8/18/2018
1.0.1 476 8/18/2018
1.0.0 488 8/18/2018

Database.SetInitializer is implemented to create required tables