Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPRequestInfo.AuthExists Property

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

Pascal
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.

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.