ASP.NET Core WebApi JWT implement an interface based on the authorization verification

A, ASP.Net Core WebApi JWT Course Introduction

We know, HTTP protocol itself is a stateless protocol, and this means that if the user provides a user name and password to our application for user authentication, then the next time request, the user should once again perform user authentication before OK, because, according to http protocol, we can not know which user request is sent, so in order to make our application can identify which user request is issued, the information we can store a copy of the server user login, this login information will be passed to the browser in response, tell it to save the cookie , so that next time the application is sent to our request, so that our application will be able to identify which user requests from the. In recent years began to rage RESTful API using HTTP header authentication token to pass seemed to grow as it should, while the single-page application (SPA), before and after the end of the separation architecture seems to contribute to a growing number of WEB application to abandon the historic cookie / session authentication mechanism in favor of JWT to manage user session. The share Eben course to give us a JSON Web Token (JWT) is the most popular cross-domain authentication solutions.

1.1 The course includes knowledge points are as follows:

1) What is the JWT?

2), JWT authorization and authentication principles and realization of ideas

3), to verify authorized use Jwt implement an interface in the ASP.NET Core

4) integrated in ASP.NET Core JWT achieve certification in Swagger

5), answers questions about JWT Token

● how in jquery in? 

● How to get the server by JWT verified by the user Id identity? 

● Jwt Token leaked how to do? 

● JWT Token stored? 

● How to ensure the safety of JWT Token? 

● JWT's Tokne expired how to do? Is there RereshToken function? 

● JWT disadvantages? 

● What scene selection using JWT?

 1.2, the correct way of learning programs Notes

1), supporting video + source code examples to learn, there are a thousand thousand readers Hamlet, eyes of the beholder wise see wisdom!

2), the basic theory and practical exercises combined Yangaoshoudi remember. (Note: The need to have some basic ASP.NET Core)

3), in the learning process, we have less to complain about, the more of a harvest.

If you encounter any problems in the course of the learning process, please go directly to private Eben teacher online communication and exchange. Thank you for your understanding and support, I wish you a happy learning!

1.3 The course for the crowd as follows:

1), there are certain ASP.NET Core development foundation.

2), to learn and understand ASP.Net Core cross-platform development technology.

3), like Eben share of children's shoes dry course.

1.4, stating target and today we learn reached

How to get started easily and quickly based ASP.NET Core WebAPI cross-platform development technology uses certificate-based JWT authorized to implement the interface.

If you are also interested in sharing of this course "ASP.NET Core WebApi based JWT implement the interface authorization verification", then please follow Eben learning together. Ado, directly on dry goods, dry goods we do not produce, we just dry porter.


 

Second, what is JWT?

 

Three, JWT authorization and authentication principles and realization of ideas

 

 

Fourth, the use Jwt implement the interface in ASP.NET Core authorization verification in

 

Fifth, in ASP.NET Core integrated Swagger achieve certification JWT

 

 

Sixth, answers questions about JWT Token

1), how to use the jquery in?

2), the server how to get by JWT verified by the user Id identity?

3), Jwt Token leaked how to do?

4), JWT Token stored?

5) How to ensure the safety of JWT Token?

6), JWT's Tokne expired how to do? Is there RereshToken function?

7), JWT shortcomings?

8) What scene selection using JWT?

Seven summary

 

 

 

Guess you like

Origin www.cnblogs.com/51net/p/11183123.html