ASP.NET Core Authorization: Policy Based Access Control

ASP.NET Core Authorization: Policy Based Access Control

Saeed Esmaeelinejad

5 месяцев назад

843 Просмотров

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-samples?tab=readme-ov-file#all-youtube-sample-codes-i-use-in-my-channel

#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:
https://www.linkedin.com/in/sa-es-ir
Ссылки и html тэги не поддерживаются


Комментарии: