Indy 9
TIdOnSelectAuthorization
Unit: IdHTTP
Event type signalled when an HTTP client selects an authentication mechanism.
TIdOnSelectAuthorization = procedure (Sender: TObject; var AuthenticationClass: TIdAuthenticationClass; AuthInfo: TIdHeaderList) of object;
Unit
IdHTTP
Parameters
AuthenticationClass
Authentication class to use for the connection.
AuthInfo
Header values to use in authectication.
Sender
HTTP client generating the event notification.
Description
TIdOnSelectAuthorization is an event type signalled when an HTTP client has selected an authentication class to be used when session or proxy authentication is required for a connection. TIdOnSelectAuthorization is th event type signalled to the TIdHTTP.OnSelectAuthorization and TIdHTTP.OnSelectProxyAuthorization event handlers prior to triggering the TIdHTTP.OnAuthorization event.

AuthenticationClass is the class instance to be used to perform authentication for the mechanisms required in an HTTP request.

AuthInfo is the header values to be be used in the HTTP response that includes the authentication results.


Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.