C# Class LoveSeat.Support.CouchBase

Show file Open project: soitgoes/LoveSeat

Protected Properties

Property Type Description
authType AuthenticationType
baseUri string
password string
timeout int?
username string

Public Methods

Method Description
Authenticate ( string baseUri, string userName, string password ) : bool
GetSession ( ) : Cookie
SetTimeout ( int timeoutMs ) : void

Protected Methods

Method Description
CouchBase ( ) : System
CouchBase ( string username, string password, AuthenticationType aT ) : System
GetRequest ( string uri ) : CouchRequest
GetRequest ( string uri, string etag ) : CouchRequest

Method Details

Authenticate() public static method

public static Authenticate ( string baseUri, string userName, string password ) : bool
baseUri string
userName string
password string
return bool

CouchBase() protected method

protected CouchBase ( ) : System
return System

CouchBase() protected method

protected CouchBase ( string username, string password, AuthenticationType aT ) : System
username string
password string
aT AuthenticationType
return System

GetRequest() protected method

protected GetRequest ( string uri ) : CouchRequest
uri string
return CouchRequest

GetRequest() protected method

protected GetRequest ( string uri, string etag ) : CouchRequest
uri string
etag string
return CouchRequest

GetSession() public method

public GetSession ( ) : Cookie
return System.Net.Cookie

SetTimeout() public method

public SetTimeout ( int timeoutMs ) : void
timeoutMs int
return void

Property Details

authType protected property

protected AuthenticationType authType
return AuthenticationType

baseUri protected property

protected string baseUri
return string

password protected property

protected string password
return string

timeout protected property

protected int? timeout
return int?

username protected property

protected string username
return string