Topic Path: Symbol Reference > Classes > TIdBasicAuthentication Class > TIdBasicAuthentication Methods > Authentication Method
ContentsIndexHome
PreviousUpNext
TIdBasicAuthentication.Authentication Method

Creates the authorization scheme and credentials for the authentication class.

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==
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.