Internet Direct (Indy) Version 9.0.2 Beta
TIdRequestHeaderInfo.Authentication
Used to calculate HTTP Access Authentication credentials.

Authentication: TIdAuthentication;
Description
Authentication is a public TIdAuthentication member that contains the object instance to be used to perform HTTP Access Authentication. Authentication will normally contain an instance of a TIdAuthentication descendant like TIdBasicAuthentication or TIdDigestAuthentication.

Applications can assign the Authentication class to be used for the request. If Authentication has not been assigned, and BasicAuthentication is True, a TIdBasicAuthentication object instance will be automatically created in SetHeaders.