Internet Direct (Indy) Version 9.0.1 Beta
TIdHTTP.OnAuthorization
Event handler for authentication of an HTTP connection.

property OnAuthorization: TIdOnAuthorization;
Description
OnAuthorization is a TIdOnAuthorization property that represents the event handler signalled when an HTTP client connection needs to provide authentication data as part of an HTTP request.

VUserName and VPassword are the authentication credentials found in the HTTP Request, and can be updated in the event handler. Handled indicates if the event handler has successfully authenticated using the client account credentials and method.