Blazor Tutorial : Role-based Authorization - EP18

Опубликовано: 07 Февраль 2020
на канале: CuriousDrive: Solve Coding Problems & Win Prizes!
16,454
183

Hey Coders,

Subscribe here -    / @curiousdrive  
Talk to us on -   / curiousdrive  

Like our page -   / curiousdrive  
Follow us on -   / curious_drive  
Follow us on -   / curiousdrive  

Make a donation - https://www.paypal.me/curiousdrive
Be a member -   / curiousdrive  

Find Code here - https://github.com/CuriousDrive/BookS...

In this #Blazor tutorial, I am going to trough steps to add #role-based #authorization for the app

Content
1. AuthenticationStateProvider
2. ClaimTypes.Role
3. AuthorizeView Roles="Publisher"
4. @attribute [Authorize(Roles = "Publisher")]

#CuriousDrive #WeLoveCoding