diff --git a/src/Security/Authorization/Core/src/DenyAnonymousAuthorizationRequirement.cs b/src/Security/Authorization/Core/src/DenyAnonymousAuthorizationRequirement.cs index 6e8729dc92e1..69f5d308175a 100644 --- a/src/Security/Authorization/Core/src/DenyAnonymousAuthorizationRequirement.cs +++ b/src/Security/Authorization/Core/src/DenyAnonymousAuthorizationRequirement.cs @@ -7,8 +7,10 @@ namespace Microsoft.AspNetCore.Authorization.Infrastructure; /// -/// Implements an and -/// which requires the current user must be authenticated. +/// Implements an and which requires the current user must be authenticated. +/// This calls for authenticated users. Like all built-in requirements, +/// it never calls . The produces a failed +/// when any requirement has not succeeded even if other requirements have succeeded, and no requirement has explicitly failed. /// public class DenyAnonymousAuthorizationRequirement : AuthorizationHandler, IAuthorizationRequirement {