Sdílet prostřednictvím


AuthorizationHandlerContext.Succeed(IAuthorizationRequirement) Metoda

Definice

Volá se k označení zadaného requirement jako úspěšně vyhodnoceného.

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)

Parametry

requirement
IAuthorizationRequirement

Požadavek, jehož vyhodnocení proběhlo úspěšně.

Platí pro