All Projects → i4004 → Owin.Security.AesDataProtectorProvider

i4004 / Owin.Security.AesDataProtectorProvider

Licence: LGPL-3.0 License
OWIN AES data protector provider

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Owin.Security.AesDataProtectorProvider

Fos
FastCgi Server designed to run Owin applications side by side with a FastCgi enabled web server.
Stars: ✭ 65 (+150%)
Mutual labels:  owin
oauth-aspnet
An ASP.NET Core compatible port of the OAuth Authorization Server Middleware from Microsoft's Project Katana (Microsoft.Owin.Security.OAuth)
Stars: ✭ 25 (-3.85%)
Mutual labels:  owin
WebApiStartTemplate
Web API Visual Studio Template.
Stars: ✭ 15 (-42.31%)
Mutual labels:  owin
Owin.HealthCheck
Health Check Middleware for the OWIN pipeline
Stars: ✭ 22 (-15.38%)
Mutual labels:  owin
NLog.Owin.Logging
NLog logging adapter for OWIN
Stars: ✭ 25 (-3.85%)
Mutual labels:  owin
embedio-extras
Additional Modules showing how to extend EmbedIO.
Stars: ✭ 43 (+65.38%)
Mutual labels:  owin
LeXun.Security.OAuth
用于 Asp.Net 和 Asp.Net Core 的OAuth2社交身份验证提供程序。支持支付宝,QQ,微信,百度等第三方登录
Stars: ✭ 19 (-26.92%)
Mutual labels:  owin
Simplify.Web
Moved to https://github.com/SimplifyNet. Simplify.Web is a lightweight and fast server-side .NET web-framework based on MVC and OWIN for building HTTP based web-applications, RESTful APIs etc.
Stars: ✭ 23 (-11.54%)
Mutual labels:  owin
connect-owin
Node.js connect middleware for .NET using OWIN
Stars: ✭ 46 (+76.92%)
Mutual labels:  owin
Multitenancy-Microservice-FederatedIdentity-Example
Multitenancy Federated Identity Example ASP.NET MVC C#
Stars: ✭ 33 (+26.92%)
Mutual labels:  owin
Microsoft.Owin.Security.QQ-WebChat
QQ and Webchat extensions for Microsoft.Owin.Security
Stars: ✭ 20 (-23.08%)
Mutual labels:  owin

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();
    }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].