EMS.ResourceAPI.TEMSEndpointAuthorization.Authorize

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
EMS.ResourceAPI.pas
EMS.ResourceAPI.hpp
Unit: EMS.ResourceAPI
Parent: TEMSEndpointAuthorization

Delphi

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

C++

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

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