Datasnap.DSHTTPClient.TDSHTTP.SetAuthentication
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: Datasnap.DSHTTPClient.pas Datasnap.DSHTTPClient.hpp
| |
Unit: Datasnap.DSHTTPClient | |
Parent: TDSHTTP |
Delphi
procedure SetAuthentication(const user: string; const password: string);
C++
void __fastcall SetAuthentication(const System::UnicodeString user, const System::UnicodeString password);
Description
Uses the HTTP standard authentication protocols with the given credentials.
SetAuthentication adds the given user
and the password
credentials to the local credentials storage.
The following table shows the significance of the parameters.
Parameter | Description |
---|---|
|
The user name to encode for Authorization. |
|
The password to encode for Authorization. |