Indy 9
|
TIdOnAuthorization = procedure (Sender: TObject; Authentication: TIdAuthentication; var Handled: boolean) of object;
VUserName and VPassword are the authentication credentials found in the HTTP request, and can be updated by the TIdOnAuthorization event handler. Handled indicates if the event handler has successfully authenticated using the client account credentials and method.
TIdOnAuthorization is used after a TIdOnSelectAuthorization event has been signalled to select and create the authentication method for the HTTP client.