Topic Path: Symbol Reference > Classes > TIdCustomHTTP Class > TIdCustomHTTP Events > OnSelectProxyAuthorization Event
TIdCustomHTTP.OnSelectProxyAuthorization Event

Event handler triggered when the client selects an authentication mechanism for the Proxied connection.

property OnSelectProxyAuthorization: TIdOnSelectAuthorization;
HTTP client generating the event notification.
Authentication class to use for the connection.
Header values to use in authectication. 

OnSelectProxyAuthorization is a TIdOnSelectAuthorization property that represents the event handler triggered when the HTTP client chooses an Authentication method and class for authorizing a Proxied connection. 

OnSelectProxyAuthorization is triggered when a Request needs Authentication using a supported Authentication method for the Proxy headers found in Response. OnSelectProxyAuthorization can be used to set the class instance in Auth used for authenticating the client Request based on header values found in AuthInfo. 

OnSelectProxyAuthorization is used prior to triggering the OnProxyAuthorization event handler for the client connection.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.