Data.Cloud.CloudAPI.TCloudHTTP.SetAuthentication
Delphi
procedure SetAuthentication(const user: string; const password: string);
C++
void __fastcall SetAuthentication(const System::UnicodeString user, const System::UnicodeString password);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.Cloud.CloudAPI.pas Data.Cloud.CloudAPI.hpp |
Data.Cloud.CloudAPI | TCloudHTTP |
Description
Sets the Authorization header of this request from the given TIdAuthentication.
SetAuthentication uses the given TIdAuthentication (through the auth
parameter) instance to get the string to use as the value in the Authorization header.