Datasnap.DSHTTPClient.TDSHTTP.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 | Datasnap.DSHTTPClient.pas Datasnap.DSHTTPClient.hpp |
Datasnap.DSHTTPClient | TDSHTTP |
説明
この要求の承認ヘッダーを、指定された IIPAuthentication で設定します。
SetAuthentication では、指定された IIPAuthentication インターフェイス(auth
パラメータで指定)を使用して、承認ヘッダー内の値として使用する文字列を取得します。