ASP.NET Core JWT Authentication and role-based authorization
Автор: Julio Casal
Загружено: 2023-01-31
Просмотров: 21133
💻 Free Full Source Code: https://juliocasal.com/code?utm_sourc...
🔥 Become a .NET Cloud Developer: https://juliocasal.com/courses/dotnet...
A solid REST API should make sure that its resources are protected so that only authorized users and clients can get access to them. And thanks to the latest innovations in ASP.NET Core, protecting your Web API could not be easier.
Here I'll show you how to protect your ASP.NET Core Web API in just a few steps.
Topics covered:
00:28 Understanding Token-Based Authentication
01:56 Creating a simple minimal API
08:13 Using JWT authentication and requiring authorization
13:02 Generating tokens with dotnet user-jwts
14:50 Understanding Json Web Tokens (JWT)
21:42 Implementing role based authorization
24:43 Extracting user information via ClaimsPrincipal
33:03 Evaluating user claims
Join me on Patreon: / juliocasal
Follow me on LinkedIn: / juliocasal
Follow me on X: https://x.com/julioc
#dotnet #aspnetcore #aspnet
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: