DEV Community

Benjamin Fadina
Benjamin Fadina

Posted on

2

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.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay