C# Class Foretagsplatsen.Api2.BasicAuthenticationRestClient

Basic Authentication client to sign and execute REST requests.
Inheritance: RestClientBase
Show file Open project: foretagsplatsen/Foretagsplatsen-DotNet-API

Public Methods

Method Description
BasicAuthenticationRestClient ( string username, string password, string baseUrl ) : System
CreateLoginRequest ( LoginParameters loginParameters ) : HttpWebRequest
CreateRequest ( string httpMethod, string url, object arguments ) : HttpWebRequest

Method Details

BasicAuthenticationRestClient() public method

public BasicAuthenticationRestClient ( string username, string password, string baseUrl ) : System
username string
password string
baseUrl string
return System

CreateLoginRequest() public method

public CreateLoginRequest ( LoginParameters loginParameters ) : HttpWebRequest
loginParameters LoginParameters
return System.Net.HttpWebRequest

CreateRequest() public method

public CreateRequest ( string httpMethod, string url, object arguments ) : HttpWebRequest
httpMethod string
url string
arguments object
return System.Net.HttpWebRequest