Owin.Security.AesDataProtectorProvider 1.2.3

.NET Framework 4.5
There is a newer version of this package available.
See the version list below for details.
Install-Package Owin.Security.AesDataProtectorProvider -Version 1.2.3
dotnet add package Owin.Security.AesDataProtectorProvider --version 1.2.3
<PackageReference Include="Owin.Security.AesDataProtectorProvider" Version="1.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Owin.Security.AesDataProtectorProvider --version 1.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Owin.Security.AesDataProtectorProvider, 1.2.3"
#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 Owin.Security.AesDataProtectorProvider as a Cake Addin
#addin nuget:?package=Owin.Security.AesDataProtectorProvider&version=1.2.3

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

Owin.Security.AesDataProtectorProvider

Nuget Version Nuget Download AppVeyor branch AppVeyor tests (branch) Libraries.io dependency status for latest release CodeFactor Grade Platform

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

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();
    }
}
Product Versions
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Owin.Security.AesDataProtectorProvider:

Package Downloads
Cql.Core.Owin.Autofac

Common Autofac code.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Owin.Security.AesDataProtectorProvider:

Repository Stars
AscensionGameDev/Intersect-Engine
Intersect provides a complete game development suite for creating 2d mmorpgs with no programming experience required!
Version Downloads Last updated
1.2.4 72 5/18/2022
1.2.3 109 4/9/2022
1.2.2 3,002 8/7/2021
1.2.0 14,948 9/13/2020
1.1.2 224,963 7/23/2017
1.1.1 18,557 5/9/2017
1.1.0 84,161 4/28/2015
1.0.0 3,027 10/29/2014