property OnAuthorization: TScHttpDoAuthorizationEvent;

type

 TScHttpDoAuthorizationEvent = procedure(Sender: TObject; RequestInfo: TScHttpRequestInfo; ResponseInfo: TScHttpResponseInfo; var Cancel: boolean) of object;

 

Description

Occurs when a client attempts to authenticate to the HTTP server. The server independently authorizes the client, but the user is given the opportunity to check the authorization parameters and reject the request with invalid parameters.

 

Parameters:

Sender - the object whose event handler is called;
RequestInfo - the object of the TScHttpRequestInfo type contains complete information about the request, including authorization parameters;
ResponseInfo - the object of the TScHttpResponseInfo type contains complete information about the response;
Cancel - the default value is False. Set Cancel to True to reject the connection.

 

 

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support