Internet Direct (Indy) Version 9.0.1 Beta
TIdBasicAuthentication.Authentication
Creates the authorization scheme and credentials for the authentication class.

function Authentication: String; override;
Returns
String - Scheme and Base64-encoded credentials for the process.

Description
Authentication is an overriden String function that implements creation of the authorization credentials for the Basic Authentication scheme using the Usernasme and Password seperated by a colon, and returned as a Base64-encoded string. Authentication normally returns a value in the form:

      Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==