简体   繁体   English

在现有MVC 5应用程序中实现OWIN身份验证

[英]Implement OWIN Authentication in Existing MVC 5 app

I am currently struggling to understand how exactly the OWIN Authentication works within MVC 5. I have read numerous articles, but it all seems as if they expect you to know quite a bit about this. 我目前正在努力了解OWIN身份验证在MVC 5中的确切运作方式。我已阅读了大量文章,但似乎他们希望您对此有所了解。

I want to implement Authentication in my MVC 5 app, but have not yet find a good tutorial or article explaining this. 我想在我的MVC 5应用程序中实现身份验证,但还没有找到一个很好的教程或解释这个的文章。

I see a lot of mention about the UserManager classes, but not even sure what this is used for. 我看到很多关于UserManager类的提及,但是甚至不确定它用于什么。

Do any of you have any code samples, or articles that you would not mind sharing? 您是否有任何代码示例或您不介意分享的文章?

Thanks 谢谢

I found the stuff here fairly helpful: http://typecastexception.com/category/C.aspx . 我发现这里的东西非常有用: http//typecastexception.com/category/C.aspx There are easy peasy walkthroughs for authentication on both MVC and Web API in there. 在那里有一些简单易用的演练,用于在MVC和Web API上进行身份验证。

I suspect that this question may be too broad and risks being shut down. 我怀疑这个问题可能过于宽泛,有可能被关闭。 You may want to take a quick scan through the material above and revise to focus it a little on some specifics. 您可能需要快速浏览上面的材料并进行修改,以便稍微关注一些细节。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM