Beispiel #1
0
 public RequestHandler(string username, SecureString password, string url, DataspaceRequest.AuthMethod authMethod)
 {
     _client     = new RestClient(ValidateURL(url));
     _username   = username;
     _password   = password;
     _authMethod = authMethod;
 }
Beispiel #2
0
 public RequestHandler(string sessionId, string url, DataspaceRequest.AuthMethod authMethod)
 {
     _client     = new RestClient(ValidateURL(url));
     _sessionId  = sessionId;
     _authMethod = authMethod;
 }
Beispiel #3
0
 public RequestHandler(string username, string password, string url, DataspaceRequest.AuthMethod authMethod)
     : this(username, Utility.StringToSecureString(password), url, authMethod)
 {
 }