Policy Based Authorization In .Net 6 API With JWT | Custom Authorization Handler & Simple Policies

preview_player
Показать описание
Policy Based Authorization In .Net 6 API With JWT

Policy based authorization is the next step when it comes to authorization with json web tokens. There are 3 types of policies you can create that all have differing levels of complexity but I will take my time in explaining their differences. With just some setup you can pull off some interesting policies that allow you to check a lot of different parts of the JWT. The code from this project is based off the videos from my JWT Auth playlist and the github link is below. So anyone that needs the code or wants to watch the other videos feel free to check those out.

#PolicyBasedAuthorizationInDotNet6Api #jwt #PolicyBasedAuthorizationWithjwtdotnet

TimeStamps
----------------------------
00:00 Intro
00:40 What Is Policy Based Authorization?
02:48 Review Of The Current API Code
04:40 Simple Policies
12:20 Function Policies
17:52 Custom Authorization Handler/ Custom Policies
Рекомендации по теме
Комментарии
Автор

If you guys found this video useful please drop a LIKE! Thank you for the support and any other topics you want me to cover feel free to comment them down below! :)

IsraelQuiroz
Автор

This is really nice video. I learnt a lot.

bqlxpnf
Автор

You my friend have yourself a new Subscriber!

webdevfs
Автор

Hi thank u for the tutorial, can you please help with integration with something like vue and vuex

TakuCoding
Автор

Great Tutorials.. Keep up the good work. The only thing that needs to be improved is your voice, no issue with the voice quality just the volume levels are low.

jrizxus
Автор

Can i ask where did they create the AuthorizationHandlerContext ?

cuongtuan