EMS.ResourceAPI.TEMSEndpointAuthorization.Authorize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Authorize(const AContext: TEndpointContext; const AACL: TACL); virtual; abstract;

C++

virtual void __fastcall Authorize(TEndpointContext* const AContext, TACL* const AACL) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
EMS.ResourceAPI.pas
EMS.ResourceAPI.hpp
EMS.ResourceAPI TEMSEndpointAuthorization

Description

Determines whether or not the specified access control list (ACL) authorizes the request of the specified endpoint context, and raises an exception if the ACL does not authorize the request.

If the ACL does not authorize the request, DoAuthorizeRequest calls RaiseUnauthorized on the Response property of the endpoint context.

See Also