To customize authorization logic in ASP.NET Core, one can implement the _________ interface.
- IAuthorizationFilter
- IAuthorizationMiddleware
- IAuthorizationProvider
- ICustomAuthorization
To customize authorization logic in ASP.NET Core, you can implement the IAuthorizationFilter interface. This interface allows you to create custom authorization logic that can be applied to controllers and actions. It gives you fine-grained control over how authorization is performed for specific requests.
Loading...
Related Quiz
- In a blogging platform built with ASP.NET Core MVC, when a user submits a new blog post, which component would handle the validation and submission process?
- In a new project, you are given the responsibility to handle user registration. Your senior developer mentions that there's a built-in way in ASP.NET Core to manage users. What is this system called?
- To serve static files, one must configure the necessary _________ in the Startup.cs file.
- In which method of the Startup.cs file is routing typically configured in an ASP.NET Core MVC application?
- When using the [Authorize] attribute with policies, the specified policy name must be previously registered in the _________.