Topic Path: Symbol Reference > Classes > TIdHTTPRequestInfo Class > TIdHTTPRequestInfo Properties > AuthExists Property
ContentsIndexHome
PreviousUpNext
TIdHTTPRequestInfo.AuthExists Property

Indicates that an authorization header is used in the HTTP request.

property AuthExists: Boolean;

AuthExists is a read-only Boolean property that indicates an authorization header is used in the HTTP request. AuthExists is set to True when the AuthUsername and AuthPassword properties have non-blank values during execution of the an HTTP client session. 

AuthExists is updated when TIdCustomHTTPServer executes the session for the HTTP client, and is used to determine when a TIdDecoderMIME needs to be constructed for decoding AuthUsername and AuthPassword values from the request header.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.