RUVIDEO
Поделитесь видео 🙏

ASP.Net Core Web API - Secure using JWT Authentication

In this video , you will learn how to secure ASP.NET Core Web API using JWT Authentication. I will try to simplify this topic step-by-step while coding. We will build two endpoints, one for the customers’ login and one to get customer orders. The APIs will be connected to an SQL Server Express database all running on the local machine.

Script File :
?https://github.com/haythamsarawy/JWT-Authentication-DB/blob/main/script.txt

Testing Login on Postman:
=======================
Keep the browser open, and open postman.
In a new request tab, put down the localhost and port number provided to you in the settings once you run the application.
From the body, choose raw and JSON and put the below JSON object that you will be using to login to the customers database through our RESTful API.
We have our first JWT.
Prepare our API to receive this token, validate it, find a claim in it and then return a response for the caller.

* There are multiple ways in which you can use to validate your APIs and authorize your users:
- Policy-based authorization, which can also include defining Roles and Requirements, as per the dot
net core team, this is the recommended approach to implement the API Authentication through a
fine-grained approach.
- Having a custom middleware that validates the JWT passed in the request headers on the APIs that
have the Authorize attribute decorated on them.
- Having a custom attribute set on one or more Controller methods that validates the Request
Headers Collection for the JWT Authorization header.
In this video , I will be using the Policy-based authentication in its simplest form, just to show you
that you can apply the policy-based approach in securing your ASP.NET Core Web APIs.


asp.net jwt authentication
asp.net jwt token authentication
jwt in asp.net web api
jwt asp.net core 3.1
jwt asp.net core 5.0
asp.net core identity jwt authentication
asp.net core jwt refresh token
asp.net mvc jwt authentication
asp.net core api jwt authentication
asp.net web api jwt authentication
asp.net core mvc jwt authentication
asp.net core jwt token authentication
asp.net authentication and authorization tutorial
asp.net authentication with identity
asp.net authentication and authorization
asp.net authentication tutorial
asp.net authentication schemes
asp.net core web api authentication
asp net web api token authentication
asp.net core api authentication and authorization
asp.net core api jwt authentication

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «ASP.Net Core Web API - Secure using JWT Authentication», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.