Internet Direct (Indy) Version 9.0.1 Beta
TIdHTTPRequestInfo.AuthExists
Indicates that authorization is used for the HTTP request.

property AuthExists: Boolean;
Description
AuthExists is a Boolean property that indicates authorization is used for the HTTP request. AuthExists is True when the AuthUsername and AuthPassword properties have non-empty values.