Model for the Logout page. This class is decorated with the Authorize attribute. More...
Public Member Functions | |
async Task< IActionResult > | OnGet () |
Logs the user out and redirects them to the login page. More... | |
Model for the Logout page. This class is decorated with the Authorize attribute.
|
inline |
Logs the user out and redirects them to the login page.
This method is called when the user navigates to the logout page. It logs the user out and redirects them to the login page with a logout message.