When combining multiple [Authorize] attributes on a single action or controller, how does ASP.NET Core evaluate the requirements?

  • Logical AND
  • Logical OR
  • Randomly
  • Sequentially
ASP.NET Core evaluates the requirements of multiple [Authorize] attributes logically using AND. This means all authorization requirements specified in these attributes must be met for a user to access the action or controller.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *