简体   繁体   English

使用OWIN实现身份验证和授权

[英]Implementing authentication and authorization using OWIN

I try to create authentication and authorization for my single page web-api project. 我尝试为单页web-api项目创建身份验证和授权。

For this purpose I red this cool article from Taiseer Joudeh . 为此,我从Taiseer Joudeh那里得到了这篇很酷的文章

But the problem is that in my project I have database with tables and I want to adopt OWIN to work with my existing tables . 但问题是,在我的项目中,我有表格的数据库,我想采用OWIN来处理我现有的表格

Maybe someone knows useful article or post on which I can rely for this subject? 也许有人知道我可以依赖这个主题的有用文章或帖子?

You need to be looking at creating a custom Identity storage provider. 您需要考虑创建自定义身份存储提供程序。 Read the following as a starting point: https://www.asp.net/identity/overview/extensibility/overview-of-custom-storage-providers-for-aspnet-identity . 请阅读以下内容作为起点: https//www.asp.net/identity/overview/extensibility/overview-of-custom-storage-providers-for-aspnet-identity

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Asp.net 4.8 WebForms授权使用Owin OpenId Connect Authentication (app.UseOpenIdConnectAuthentication) - Asp.net 4.8 WebForms authorization using Owin OpenId Connect Authentication (app.UseOpenIdConnectAuthentication) 使用现有数据库名称验证实现OWIN? - Implementing OWIN using existing Database name validation? 使用web.config授权元素时未触发OWIN质询 - OWIN challenge not triggered when using web.config authorization elements 将ASP.NET Core WEB API令牌身份验证与OWIN / Katana OAuth 2.0授权服务器一起用作资源服务器 - Use ASP.NET Core WEB API token authentication as a resourceserver with OWIN/Katana OAuth 2.0 Authorization Server 在ASP.NET OWIN OpenIdConnect代码授权流程中通过基于令牌的身份验证替换Cookie - Replacing Cookie by Token based authentication in ASP.NET OWIN OpenIdConnect code authorization flow 使用ADFS实现主动身份验证 - Implementing active authentication using ADFS 使用OWIN无需单击按钮即可重定向到外部身份验证提供程序 - Redirect to external authentication provider without button click using OWIN 使用OWIN身份验证和Web API,Thread.CurrentPrincipal是否可靠? - Is Thread.CurrentPrincipal reliable using OWIN authentication and Web API? OWIN身份验证和“在线用户” - OWIN Authentication and “online users” 与Owin和Nancy的Oauth认证 - Oauth authentication with owin & Nancy
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM