DEV Community

Benjamin Fadina
Benjamin Fadina

Posted on

Developing Hotel Management App With Radzen Blazor WebAssembly (Lesson 8) Custom Security Part 4

In this video I add add CustomAuthenticationStateProvider.cs to client project, register CustomAuthenticationStateProvider in Main method of program.cs in client project, create a controller to handle application security in server project, customize our application's main layout to get the email address of the current user from the security controller in the server project, update our login page so that when the submit form is submitted on the client side, http post request is made to the security controller method that is responsible for authenticating users.

Discussion (0)