AuthenticateBasic¶
Authenticates the client with HTTP Basic mechanism.
1 |
|
Parameters¶
string userName
User name to be sent. Cannot be null or empty.
string password
Password to be sent.
Remarks¶
HTTP Basic method is considered as non-secure mechanism. Password sent is almost in clear text format.
Specifying user name and password from scripting environment is not recommended. RestClient.Authenticate method automatically resolves the credentials from domain settings and more secure.