filmov
tv
Asp.net Core Authentication With JWT(Json Web Token) & Refresh Tokens
Показать описание
----------------------------------------------------------------------
What is JWT Token based authentication Web Api work flow? What is the need for Refresh Tokens?
User provides user name and password to the client application. Client application sends the user name and password to the Authorization server. Authorization server validates the credentials and returns JWT Token Web API. Client application preserves the token and sends the JWT Token to the Resource Server. Resource server validates the JWT Token Web API and sends the Resource.
-------------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------------
Swagger Authorization | Swagger Bearer Token
-----------------------------------------------------------------------
-----------------------------------------------------------------------
Apart from all the above information, we have used Entity Framework Core (EFCore) to preserve our Refresh tokens also I have demonstrated EF Core Database migrations.
Chapters
00:00:00 Introduction
00:00:50 Creating new Web Api Project
00:09:20 JWT Service class to generate JWT Token
00:22:39 JWT Token Anatomy
00:26:50 Swagger Authentication
What is JWT Token based authentication Web Api work flow? What is the need for Refresh Tokens?
User provides user name and password to the client application. Client application sends the user name and password to the Authorization server. Authorization server validates the credentials and returns JWT Token Web API. Client application preserves the token and sends the JWT Token to the Resource Server. Resource server validates the JWT Token Web API and sends the Resource.
-------------------------------------------------------------------
-----------------------------------------------------------------
---------------------------------------------------------------------
Swagger Authorization | Swagger Bearer Token
-----------------------------------------------------------------------
-----------------------------------------------------------------------
Apart from all the above information, we have used Entity Framework Core (EFCore) to preserve our Refresh tokens also I have demonstrated EF Core Database migrations.
Chapters
00:00:00 Introduction
00:00:50 Creating new Web Api Project
00:09:20 JWT Service class to generate JWT Token
00:22:39 JWT Token Anatomy
00:26:50 Swagger Authentication
Комментарии