问题描述
有人可以解释Identity和IdentityServer之间的联系吗?
Can somebody explain the connection between Identity and IdentityServer?
最近有一篇文章说将会有一个新版本的IdentityServer(即IdentityServer 4).
There was a recent article that says there will be a new version of IdentityServer (ie IdentityServer 4).
我正在做一个ASP.NET 5项目.我之前只听说过Identity 3,并且打算使用它.
I'm doing a ASP.NET 5 project. I only heard of Identity 3 before and I'm planning to use it.
我可以在不使用此IdentityServer的情况下在我的项目中使用Identity 3吗?
Can I use Identity 3 in my project without using this IdentityServer?
推荐答案
没有直接连接:ASP.NET Identity是成员资格提供程序(即一种管理用户的方式),而IdentityServer是可用于支持令牌身份验证的OAuth2/OpenID Connect服务器.
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.
也就是说,IdentityServer4最终将支持ASP.NET Identity 3作为成员存储.
That said, IdentityServer4 will eventually support ASP.NET Identity 3 as a membership store.
当然,您可以在不使用IdentityServer的情况下使用ASP.NET Identity(反之亦然).
Sure, you can use ASP.NET Identity without IdentityServer (and vice versa).
这篇关于ASP.NET身份和IdentityServer连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!