OWIN AES data protector provider
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.ci .nuget.exe path fix Jul 6, 2017
.nuget Upgrade to new nuget restore way May 9, 2017
Owin.Security.AesDataProtectorProvider.Tests
Owin.Security.AesDataProtectorProvider
.gitignore
.travis.yml nunit.sh privileges set Jul 6, 2017
LICENSE
Owin.Security.AesDataProtectorProvider.sln
README.md Readme version update Jul 23, 2017
appveyor.yml 'Visual Studio 2017' image set for VS 2017 Jul 23, 2017

README.md

Owin.Security.AesDataProtectorProvider

Owin.Security.AesDataProtectorProvider - is an AES cryptic provider for OWIN authentication middlewares. It is based on managed and CSP .Net framework providers.

Package status

Latest version Nuget version
Dependencies NuGet Status

Issues status

Ready issues
Stories in Ready

Build status

Platform Status of last build
.NET (4.5) AppVeyor build status
Mono (Latest) Travis build status

Examples

Registration

public class Startup
{
	public void Configuration(IAppBuilder app)
	{
		...
		app.UseAesDataProtectorProvider();
		...
	}
}
Usage with custom key:
...
app.UseAesDataProtectorProvider("my key");
...
Enabling usage with FIPS-compliant CSP provider:
...
app.UseAesDataProtectorProvider(null, true);
...

or

...
app.UseAesDataProtectorProvider("my key", true);
...

Usage example with cookie authentication

public class Startup
{
	public void Configuration(IAppBuilder app)
	{
		app.UseCookieAuthentication(new CookieAuthenticationOptions
		{
			AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
			LoginPath = new PathString("/login")
		});

		app.UseAesDataProtectorProvider();
	}
}