Datasnap.DSHTTP.TDSHTTPResponseIndy.SetHeaderAuthentication
Delphi
procedure SetHeaderAuthentication(const Value: string; const Realm: string); override;
C++
virtual void __fastcall SetHeaderAuthentication(const System::UnicodeString Value, const System::UnicodeString Realm);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TDSHTTPResponseIndy |
Description
Définit le moyen d'authentification de WWW.
La méthode SetHeaderAuthentication définit le moyen d'authentification de WWW. Le paramètre Value spécifie le type d'authentification (en général 'Basic'), tandis que le paramètre Realm spécifie la zone d'authentification (par exemple, 'REST').