Тёмный
No video :(

.Net 8 API Role Based Authorization 

ScriptBytes
Подписаться 2,2 тыс.
Просмотров 4,2 тыс.
50% 1

Learn how to add role based authorization to your .Net 8 API using the IClaimsTransformation interface. This is a great way to protect your .Net API routes based on whether your user has specific roles.
Microsoft docs for IClaimsTransformation:
learn.microsof...
Github Repo with code from this video:
github.com/Scr...
Follow me on social media!
Instagram: / scriptbytes
Threads: www.threads.ne...
Check out my blog!
scriptbytes.io/

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@artemvolsh387
@artemvolsh387 4 месяца назад
Thanks, great content, easy to understand and follow!
@don_kavindu_prabhashitha
@don_kavindu_prabhashitha 3 месяца назад
Thanks a lot, for Explaining it simply 🤩
@scriptbytes
@scriptbytes 2 месяца назад
Thanks for watching!
@waynehawkins654
@waynehawkins654 Месяц назад
Nice. Love to see how to use JWT into this. I watch many videos and I always get a 404 not found. I sign in, and the API returns the JWT. I sigin into the API (top right) with Bearer {and token id}. And then try to access a Authorize http and bingo - I get 404 not 200 or 401. I'm going slowly crazy.
@scriptbytes
@scriptbytes Месяц назад
That is a little weird. I'm not sure why you would get a 404. If you add [AllowAnonymous] to whichever endpoint you're calling (just for a quick test), does that change anything?
Далее
Dynamic role based authorization in ASP.NET CORE
29:22
Просмотров 1,4 тыс.
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
ASP.NET Core - Roles vs Claims vs Policy
23:11
Просмотров 98 тыс.
ASP NET Core role based authorization
8:25
Просмотров 111 тыс.