In .Net Core, the controller attribute [AllowAnonymous] lets you set a controller to allow non-logged in users to access the controller.
Is there a way to do the opposite, to require a user to be logged in? Without giving all users a role and then checking every single controller with [Authorize(Roles = "WarmBody")], I can't see how to require a login?