Indy 9
|
TIdBasicAuthentication = class(TIdAuthentication)
TIdBasicAuthentication is based on the model where a client must authenticate for each unique Realm on a server. TIdBasicAuthentication is used in response to a challenge header in the form:
WWW-Authenticate: Basic realm="URISpace"
To receive authorization, the client sends the Username and Password, separated by a single colon (":") character, within a base64 encoded string in the Authentiction credentials. Username might be case sensitive.
property Realm: String;
function Authentication: String; override;
Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
constructor Create; override;
function KeepAlive: Boolean; override;
procedure Reset; override;