ASP.NET Identity and IdentityServer connection

旧街凉风 提交于 2019-12-12 11:24:22

问题


Can somebody explain the connection between Identity and IdentityServer?

There was a recent article that says there will be a new version of IdentityServer (ie IdentityServer 4).

I'm doing a ASP.NET 5 project. I only heard of Identity 3 before and I'm planning to use it.

Can I use Identity 3 in my project without using this IdentityServer?


回答1:


Can somebody explain the connection between Identity and IdentityServer?

There's no direct connection: ASP.NET Identity is a membership provider (i.e a way to manage your users) while IdentityServer is an OAuth2/OpenID Connect server you can use to support token authentication.

That said, IdentityServer4 will eventually support ASP.NET Identity 3 as a membership store.

Can I use Identity 3 in my project without using this IdentityServer?

Sure, you can use ASP.NET Identity without IdentityServer (and vice versa).



来源:https://stackoverflow.com/questions/35219662/asp-net-identity-and-identityserver-connection

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!