Implements the Basic Authentication mechanism for use in HTTP and other protocols.
TIdBasicAuthentication = class(TIdAuthentication);
TIdBasicAuthentication provides properties and methods needed to process user authentication in TIdHTTP client for HTTP requests and response using the "Basic" Authentication scheme. TIdBasicAuthentication implements support for client authentication using Username and Password values for the Realm specified in the WWW-Authenticate header of an HTTP server or proxy response.
TIdBasicAuthentication allows the client to construct the base64-encoded client credentials needed in the response to a server or proxy authentication challenge. The Authentication value is used in the HTTP Authorization header expressed in the following form:
Authorization: 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.