Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Authenticates the client with HTTP Basic mechanism.

RestClient myRestClient.AuthenticateBasic(userName: string, password: string)

Arguments

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.