Internet Direct (Indy) Version 9.0.2 Beta
AuthenticationRetriesMaximum
Indicates the maximum number of authorization attempts allowed for an HTTP client request.

Description
AuthenticationRetriesMaximum is an Integer property that indicates the maximum number of retries allowed when performing authorization for an HTTP request that includes a WWW-authenticate header.

AuthenticationRetriesMaximum is used when preparing an HTTP Request after the HTTP 401 ResponseCode has been received in a previous Response. The Request will indicate the number of times that authentication has been attempted, and is compared to the HTTP client property prior to setting the UserName and Password used when triggering the OnAuthorization event handler.

The default value for AuthenticationRetriesMaximum is Id_TIdHTTP_MaxAuthRetries as assigned in the Create constructor.