Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomHTTP.OnSelectProxyAuthorization Event

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

Pascal
property OnSelectProxyAuthorization: TIdOnSelectAuthorization;
Parameters 
Description 
Sender 
HTTP client generating the event notification.
 
AuthenticationClass 
Authentication class to use for the connection.
 
AuthInfo 
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.