🔐 ASP.NET Core Authorization: Policy Based Access Control

Опубликовано: 19 Октябрь 2024
на канале: Saeed Esmaeelinejad
800
40

In this video, I show you how to implement Policy-Based Authorization in ASP.NET Core, I covered both minimal API and Controller-Action.

Check the code here:
Repo: [PolicyBasedAuthorization] https://github.com/sa-es-ir/youtube-s...

#aspnetcore #dotnet #authorization #policybasedauthorization

Moments

00:00 - Intro
00:27 - The code base
01:33 - Generate JWT token using user-jwts command
04:38 - Create Policies for the API
09:00 - Adding custom claims using IClaimTransformation
---------------------------------------------------
Follow me on LinkedIn:
  / sa-es-ir