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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | Data.Cloud.CloudAPI.pas Data.Cloud.CloudAPI.hpp |
Data.Cloud.CloudAPI | TCloudHTTP |
説明
このリクエストの Authorization ヘッダーを、渡された TIdAuthentication によって設定します。
SetAuthentication は、渡された TIdAuthentication(auth
パラメータを介して)インスタンスを使用して、Authorization ヘッダーの値として使用する文字列を取得します。