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.
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
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.
-
.NETFramework 4.5
- Microsoft.Owin.Security (>= 4.2.1)
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!
|