Udostępnij za pośrednictwem


AuthorizationHandlerContext.Succeed(IAuthorizationRequirement) Metoda

Definicja

Wywoływane w celu oznaczenia określonego jako requirement pomyślnie ocenionego.

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

Wymaganie, którego ocena zakończyła się pomyślnie.

Dotyczy