AuthorizationHandlerContext.Succeed(IAuthorizationRequirement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to mark the specified requirement
as being
successfully evaluated.
public:
void Succeed(Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^ requirement);
public:
virtual void Succeed(Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^ requirement);
public void Succeed (Microsoft.AspNetCore.Authorization.IAuthorizationRequirement requirement);
public virtual void Succeed (Microsoft.AspNetCore.Authorization.IAuthorizationRequirement requirement);
member this.Succeed : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement -> unit
abstract member Succeed : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement -> unit
override this.Succeed : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement -> unit
Public Sub Succeed (requirement As IAuthorizationRequirement)
Public Overridable Sub Succeed (requirement As IAuthorizationRequirement)
Parameters
- requirement
- IAuthorizationRequirement
The requirement whose evaluation has succeeded.