In ASP.NET Core Identity, the _________ property is often used to ensure unique user identification beyond just the username.
- PhoneNumber
- SecurityStamp
- Role
In ASP.NET Core Identity, the SecurityStamp property is often used to ensure unique user identification beyond just the username. The security stamp is a unique value associated with each user, and it can be used to invalidate user sessions and tokens when security-related changes occur, such as password changes or logouts.
Loading...
Related Quiz
- If a developer is looking to quickly scaffold a new ASP.NET Core controller, which CLI command would they most likely use?
- How can you use Razor forms to send data to an action method via an HTTP GET request instead of the default POST request?
- While working on a Razor project, you come across a file named _ViewImports.cshtml. What is the primary role of this file in the Razor view engine?
- Which Razor helper is primarily used to generate form elements in an ASP.NET Core view?
- In complex scenarios, instead of using simple roles or claims, you might need a custom authorization policy. How do you apply a custom policy using the [Authorize] attribute?