Internet Direct (Indy) Version 9.0.2 Beta
TIdHTTP.OnSelectAuthorization
Event handler triggered when the client selects an authentication mechanism for the connection.

property OnSelectAuthorization: TIdOnSelectAuthorization;
Description
OnSelectAuthorization is a TIdOnSelectAuthorization property that represents the event handler triggered when the HTTP client chooses an Authentication method and class for authorizing a connection.

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

OnSelectAuthorization is used prior to triggering the OnAuthorization event handler for the client connection.