Aspnet成员身份用于身份验证和授权的不同数据库 [英] Aspnet membership different databases for authentication and authorization
本文介绍了Aspnet成员身份用于身份验证和授权的不同数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是ASPNET Identity 2.0的新手。我想知道自定义Identity 2.0以使用两个数据库的方法。一个用于身份验证的数据库(比如和IDP,但我可以查询此数据库)。另一个用于授权(角色表)。任何帮助?
他认证表是集中的身份数据库
I am new to ASPNET Identity 2.0. I would like to know the way to customize Identity 2.0 to work with two databases. One db for authentication (like and IDP but I can query this db). Another one for authorization (role table). Any help?
He the authentication table is the centralized Identity database
推荐答案
DotNet技巧 [ ^ ]
扩展身份帐户和实施角色 - ASP.NET MVC 5中的基于身份验证 [ ^ ]
自定义表单初学者教程ASP.NET MVC应用程序中的身份验证 [ ^ ]
以上链接是关于认证和授权的一些非常好的链接/文章。
这些肯定会对你有帮助。
谢谢:)
DotNet tricks[^]
Extending Identity Accounts and Implementing Role-Based Authentication in ASP.NET MVC 5[^]
A Beginner's Tutorial on Custom Forms Authentication in ASP.NET MVC Application[^]
The above links are some very good links/articles on Authentication and authorization.
These would surely help you.
Thanks :)
谢谢大家,我会检查那些
Thank you all, I will check those
这篇关于Aspnet成员身份用于身份验证和授权的不同数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文