.NET 6 Blazor 🔥 Authentication & Role-Based Authorization (using JWT & AuthenticationStateProvider)

Опубликовано: 18 Январь 2022
на канале: Patrick God
70,234
1.1k

🚀 Become .NET & Blazor Pro: https://dotnetwebacademy.com
💻 GitHub: https://github.com/patrickgod/BlazorA...
🐦 Twitter:   / _patrickgod  

🔥 Blazor Bootcamp: https://www.udemy.com/course/blazor-w...
🚀 .NET Jumpstart Course: https://www.udemy.com/course/net-core...

Table of Contents:
00:00:00 Intro
00:02:42 Create a Blazor WebAssembly ASP.NET Core Hosted Project
00:04:47 Add the NuGet Package
00:06:10 Change the App.razor
00:08:28 Create the AuthenticationStateProvider
00:09:58 Register the AuthenticationStateProvider & add Middleware
00:11:55 Implement the GetAuthenticationStateAsync() Method
00:16:54 Add the AuthorizeView Component
00:19:27 Parse the JSON Web Token (JWT)
00:22:31 Use the [Authorize] Attribute
00:25:22 Check the Roles
00:28:18 View the Token on jwt.io
00:29:08 GitHub Repo
00:29:24 Outro

🙏MANY THANKS TO THESE LOVELY PEOPLE:
Marco Otilli
Mark
FastTrak
l33ter
alibux
@mgrainger231
g.dassel
Luke Vincent
mrcl
Alain Legrand
Thomas Werner
István Csibor
Grant Burdon
@gianluigiconti
Gerrit Esmeijer
Illia
Németh-Pók István
Michael Mel
Marko Zdilar
GerryB
@DADA_universe
Domen Hren
@heroesch
Carey
Peter De Tender
Baris Keskin
Someone
@Big_Bear_27390
Mathias
walter e watkins
Günther Dassel
Axel
Josh
Daniel Huber
Fredric Adell
Juan Carlos
Manolis
Pajani
P.
Jonas Granlund
Someone
Bobby
Kristina
@xamarin007

#DotNet #Blazor #PatrickGod


Смотрите видео .NET 6 Blazor 🔥 Authentication & Role-Based Authorization (using JWT & AuthenticationStateProvider) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Patrick God 18 Январь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 70,234 раз и оно понравилось 1.1 тысяч людям.