Topic Path: Symbol Reference > Classes > TIdHTTPResponseInfo Class > TIdHTTPResponseInfo Properties > AuthRealm Property
ContentsIndexHome
PreviousUpNext
TIdHTTPResponseInfo.AuthRealm Property

Identifies the authentication and encryption for the HTTP response.

property AuthRealm: string;

AuthRealm is a String property that identifies the authentication and encryption scheme used for the HTTP response. AuthRealm is used when constructing headers for TIdHTTPResponseInfo using property values. 

When AuthRealm contains a non-blank value, the HTTP response will include a "WWW-Authenticate" header with the value "Basic realm=" and the quoted contents of the AuthRealm property. AuthRealm also ensures that the ResponseNo for the HTTP Response is 401. 

The ContentText for the response is also set under this condition and no previous ContentText has been assigned. ContentText will contain an HTML document consisting of the ResponseNo and the textual message from RSHTTPUnauthorized.

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