Web.HTTPApp.TWebResponse.FormatAuthenticate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FormatAuthenticate: string;

C++

System::UnicodeString __fastcall FormatAuthenticate();

Properties

Type Visibility Source Unit Parent
function protected
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TWebResponse

Description

Lists of one or more comma-separated challenges provided when the request fails with StatusCode 401 (Unauthorized).

FormatAuthenticate returns the value of WWWAuthenticate if Realm is an empty string. If it is not empty, it returns a name/value pair describing the realm of the WWWAuthenticate property.

See Also