C# Class FellowshipOne.API.RestClient

Inheritance: Restify.Client
Show file Open project: fellowshiptech/fellowshiponeapi-csharp-wrapper

Public Properties

Property Type Description
GivingRealm FellowshipOne.API.Realms.Giving
PeopleRealm FellowshipOne.API.Realms.Person

Private Properties

Property Type Description
BuildTicket F1OAuthTicket
BuildTicket F1OAuthTicket
SecureStringToString String
SetProperties void

Public Methods

Method Description
Authorize ( F1OAuthTicket ticket, string username, string password, LoginType loginType, bool isStaging = false, bool useDemo = false ) : F1OAuthTicket
Authorize ( F1OAuthTicket ticket, string username, string password, LoginType loginType, string baseUrl, bool isSecure = false, bool isStaging = false, bool useDemo = false ) : F1OAuthTicket
ExchangeRequestToken ( F1OAuthTicket ticket, bool isStaging = false, bool useDemo = false ) : F1OAuthTicket
GetRequestToken ( F1OAuthTicket ticket, bool isStaging = false, bool useDemo = false ) : F1OAuthTicket
RestClient ( F1OAuthTicket ticket, bool isStaging = false, bool useDemo = false ) : System
RestClient ( F1OAuthTicket ticket, string baseUrl, bool isSecure = false, bool useDemo = false ) : System

Private Methods

Method Description
BuildTicket ( F1OAuthTicket ticket, string authUrl ) : F1OAuthTicket
BuildTicket ( F1OAuthTicket ticket, string username, string password, Restify.Client client, string authUrl ) : F1OAuthTicket
SecureStringToString ( SecureString value ) : String
SetProperties ( F1OAuthTicket ticket, bool useDemo, string baseUrl ) : void

Method Details

Authorize() public static method

public static Authorize ( F1OAuthTicket ticket, string username, string password, LoginType loginType, bool isStaging = false, bool useDemo = false ) : F1OAuthTicket
ticket F1OAuthTicket
username string
password string
loginType LoginType
isStaging bool
useDemo bool
return F1OAuthTicket

Authorize() public static method

public static Authorize ( F1OAuthTicket ticket, string username, string password, LoginType loginType, string baseUrl, bool isSecure = false, bool isStaging = false, bool useDemo = false ) : F1OAuthTicket
ticket F1OAuthTicket
username string
password string
loginType LoginType
baseUrl string
isSecure bool
isStaging bool
useDemo bool
return F1OAuthTicket

ExchangeRequestToken() public static method

public static ExchangeRequestToken ( F1OAuthTicket ticket, bool isStaging = false, bool useDemo = false ) : F1OAuthTicket
ticket F1OAuthTicket
isStaging bool
useDemo bool
return F1OAuthTicket

GetRequestToken() public static method

public static GetRequestToken ( F1OAuthTicket ticket, bool isStaging = false, bool useDemo = false ) : F1OAuthTicket
ticket F1OAuthTicket
isStaging bool
useDemo bool
return F1OAuthTicket

RestClient() public method

public RestClient ( F1OAuthTicket ticket, bool isStaging = false, bool useDemo = false ) : System
ticket F1OAuthTicket
isStaging bool
useDemo bool
return System

RestClient() public method

public RestClient ( F1OAuthTicket ticket, string baseUrl, bool isSecure = false, bool useDemo = false ) : System
ticket F1OAuthTicket
baseUrl string
isSecure bool
useDemo bool
return System

Property Details

GivingRealm public property

public FellowshipOne.API.Realms.Giving GivingRealm
return FellowshipOne.API.Realms.Giving

PeopleRealm public property

public FellowshipOne.API.Realms.Person PeopleRealm
return FellowshipOne.API.Realms.Person