Internet Direct (Indy)
Home
PreviousUpNext
TIdBasicAuthentication.Authentication Method

Creates the authorization scheme and credentials for the authentication class.

Pascal
function Authentication: String; override;

String - Scheme and Base64-encoded credentials for the process.

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

 

   Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.