Create ClaimsPrincipal in Cookie with AuthenticationHandler | ASP.NET Identity & Core Security Ep 6

preview_player
Показать описание
🎁ALL-ACCESS Subscription: Unlock access to all of my courses, both now and in the future at a low $19.99 / month.

💎Learn .NET MAUI while creating a Contacts App in .NET 7:

🔥Learn Blazor while creating an Inventory Management System in .NET 6

💎 Complete Guide to ASP.NET Core Identity

💎Complete Blazor Course: Build an e-commerce app with ASP.NET Blazor and Clean Architecture

💎 Complete Web API Course:

👍Architecture Course

Рекомендации по теме
Комментарии
Автор

You are an excelent teacher. Unlike both official tutorials and most 3rd party ones, you actually show, discuss and explain the reasoning behind what your doing. As well as demonstrating the code and running app at a pace that can be reasonably followed for each step.

kodaxmax
Автор

Hi Frank - you are great. That's the first time I see comprehensive explanation of the Authorization process. !! Thank you

billbortkevich
Автор

Man, you are insane, you have a magical way to deliver the info, hope you can make more courses.
Thank you so much.

amraldayarneh
Автор

Super awesome explanation, very clear and easy to understand, better than msdn, great job Frank 👍🏾

shyampramanik
Автор

Fantastic Tutorial. One of the Best. You are a gifted. Thank you so much.

srinivasyarragunta
Автор

Brillient Tutor making Fantastic Tutorial ❤❤
Thank u Frank liu🎉🎉🎉

athourrahman
Автор

Thank you for this tutorial, I just enrolled for complete course

lodor
Автор

Thanks, we were looking how to save the cookie in order to avoid multiple round trips to the server to get the roles claims

PticostaricaGS
Автор

Thanks a lot... I waiting for your next video... :)

balajim
Автор

Thank you for the great video! Quick question. You mentioned that it's best practice to declare a constant for your cookie. Where would you keep that constant?

katkovdify
Автор

When I send the form, the OnPostAsync doesn't trigger at all. My page is not SSL, and in the F12 console in google chrome it says that I should migrate to it or have trouble recieving the AntiForgeryToken. Any idea what could be wrong?

osrsmerchant
Автор

Hi Frank, Did you cover this topic in your course "Complete Web API in .NET 5 Consumed with Blazor WebAssembly" becuase I couldn't find them ?

hikayat_stories
Автор

Thanks for the great video.

I don't think the _options => {__options.Cookie.Name__ = "YourCookieAuth";}_ is actually necessary, it seems to be only for debugging purposes making it easier to read, the default name is already what you initially give it.

SuperDre
Автор

Hi Frank Thank you for your video's! Very much appreciated!! Can you also maybe show us how to do this with Blazor (razor.cs) pages only. Since login and logout need to be handled slightly different (e.g. how to access HttpContext). Hope you have the time to make such a video!! Thanks again Frank!

AM-rllv