Datasnap.DSHTTPClient.TDSHTTP.SetAuthentication

提供: RAD Studio API Documentation
移動先: 案内検索

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 パラメータで指定)を使用して、承認ヘッダー内の値として使用する文字列を取得します。

関連項目