Data.Cloud.CloudAPI.TCloudHTTP.SetAuthentication

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure SetAuthentication(const user: string; const password: string);

C++

void __fastcall SetAuthentication(const System::UnicodeString user, const System::UnicodeString password);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
public
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Data.Cloud.CloudAPI TCloudHTTP


Beschreibung

Setzt den Authorization-Header dieser Anforderung über die angegebene TIdAuthentication-Instanz.

SetAuthentication verwendet die im Parameter auth angegebene TIdAuthentication-Instanz, um den als Wert im Authorization-Header zu verwendenden String zu ermitteln.

Siehe auch