ASP.NET Core JWT Authentication and role-based authorization

Описание к видео ASP.NET Core JWT Authentication and role-based authorization

💻Get the source code: https://go.dotnetacademy.io/howtoprot...

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

🔥Become a Senior C# Backend Engineer: https://juliocasal.com/courses

🗺️Get My Free .NET Backend Developer Roadmap: https://juliocasal.com/roadmap

Join me on Patreon:   / juliocasal  
Follow me on LinkedIn:   / juliocasal  
Follow me on X: https://x.com/julioc

#dotnet #aspnetcore #aspnet

Комментарии

Информация по комментариям в разработке