Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTP.OnProxyAuthorization
Event handler for selecting the HTTP client authentication mechanism for a proxy connection.

property OnProxyAuthorization: TIdProxyOnAuthorization;
Description
OnProxyAuthorization is a TIdProxyOnAuthorization property that represents the event handler signalled when an HTTP client selects an authentication class to be used when session or proxy authentication is required for a connection. OnProxyAuthorization is signalled prior to triggering the OnAuthorization event handler.

AuthenticationClass is the class instance to be used to perform authentication for the mechanisms required in an HTTP request.

AuthInfo is the header values to be be used in the HTTP response that includes the authentication results.