Identity and Difference and Relation IdentityServer

About Identity and IdentityServer beginner when there may be some doubts (although I was not very deep, right), however, said here on your own understanding some of both, if wrong, please correct me

 

On the whole,

  • ASP.NET Core Identity provides a framework for managing and storing user accounts.
  • IdentityServer is a middleware that can be added in line with OpenID Connect and OAuth2.0 terminals (endpoints) to an arbitrary ASP.NET Core applications. 

About Identity

ASP.NET Core Identity is used in ASP.NET Core increasing the login function of the application. Users can use stored in Identity create an account login information, or they can use a third-party login, some third-party logon support: Facebook, Google, in the Microsoft the Account, Twitter . Of course, you can integrate some domestic, QQ , etc.

Identity can be configured to use a SQL Server database to store user names, passwords, and other information. Of course, you can also use another persistent storage, such as Azure Table Storage

ASP.NET Core Identity provides a framework for managing and storing user account in ASP.NET Core applications. When you create a project, select the authentication is Individual User Accounts ( personal user account ) , the Identity is added to your project. Identity is used by default Entity Framework Core data model.

On this, we can look at this

About IdentityServer

The following table contains a number of open-source providers regarding authentication (authentication) of which contains IdentityServer

Above with respect to certification of open source projects have their own characteristics

Here simply under IdentityServer

IdentityServer is designed to help companies use .net establish Identity (logo, note here that the above is not the ASP.NET Core Identity framework, but shows a logo that identifies the user), and access control (access control), and  includes single sign-on (single sign-on), Identity management , authorization (authorization) and api security based on the success of open source projects such as IdentityServer, can provide the flexibility to design programs to meet your requirements

IdentityServer is a middleware , it can be added in line with OpenID Connect and OAuth2.0 terminals (endpoints) to an arbitrary ASP.NET Core applications . 

Typically, you create an application, the application has a login and logout page, and IdentityServer middleware add the necessary protocols to applications, so that the client application can use these standard protocols and the protocol exchange.

 

References:

https://identityserver4.readthedocs.io/en/latest/index.html

https://docs.microsoft.com/en-us/aspnet/core/?view=aspnetcore-2.2

https://docs.microsoft.com/en-us/aspnet/core/security/authentication/community?view=aspnetcore-2.2

https://identityserver.io/

 

Guess you like

Origin www.cnblogs.com/Vincent-yuan/p/11030223.html