AuthorizationHandlerContext.Succeed(IAuthorizationRequirement) AuthorizationHandlerContext.Succeed(IAuthorizationRequirement) AuthorizationHandlerContext.Succeed(IAuthorizationRequirement) Method

Definition

Called to mark the specified requirement as being successfully evaluated.

public virtual void Succeed (Microsoft.AspNetCore.Authorization.IAuthorizationRequirement requirement);
abstract member Succeed : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement -> unit
override this.Succeed : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement -> unit
Public Overridable Sub Succeed (requirement As IAuthorizationRequirement)
Parameters
requirement
IAuthorizationRequirement IAuthorizationRequirement IAuthorizationRequirement

The requirement whose evaluation has succeeded.

Applies to