C# Class UserVoice.Client

Afficher le fichier Open project: uservoice/uservoice-csharp Class Usage Examples

Méthodes publiques

Свойство Type Description
Secret string
Token string

Méthodes publiques

Méthode Description
AuthorizeURL ( ) : string
Client ( string subdomainName, string apiKey, string apiSecret = null, string callback = null, string token = null, string secret = null, string uservoiceDomain = null, string protocol = null ) : System
Delete ( string path ) : JToken
Get ( string path ) : JToken
GetCollection ( string path, int limit = null ) : UserVoice.Collection
LoginAs ( string email ) : Client
LoginAsOwner ( ) : Client
LoginWithAccessToken ( string token, string secret ) : Client
LoginWithVerifier ( string verifier ) : Client
Post ( string path, Object parameters ) : JToken
Put ( string path, Object parameters ) : JToken
Request ( Method method, string path, Object body = null ) : JToken
RequestToken ( string callback = null ) : Client

Private Methods

Méthode Description
getToken ( ) : RestSharp.RestClient

Method Details

AuthorizeURL() public méthode

public AuthorizeURL ( ) : string
Résultat string

Client() public méthode

public Client ( string subdomainName, string apiKey, string apiSecret = null, string callback = null, string token = null, string secret = null, string uservoiceDomain = null, string protocol = null ) : System
subdomainName string
apiKey string
apiSecret string
callback string
token string
secret string
uservoiceDomain string
protocol string
Résultat System

Delete() public méthode

public Delete ( string path ) : JToken
path string
Résultat JToken

Get() public méthode

public Get ( string path ) : JToken
path string
Résultat JToken

GetCollection() public méthode

public GetCollection ( string path, int limit = null ) : UserVoice.Collection
path string
limit int
Résultat UserVoice.Collection

LoginAs() public méthode

public LoginAs ( string email ) : Client
email string
Résultat Client

LoginAsOwner() public méthode

public LoginAsOwner ( ) : Client
Résultat Client

LoginWithAccessToken() public méthode

public LoginWithAccessToken ( string token, string secret ) : Client
token string
secret string
Résultat Client

LoginWithVerifier() public méthode

public LoginWithVerifier ( string verifier ) : Client
verifier string
Résultat Client

Post() public méthode

public Post ( string path, Object parameters ) : JToken
path string
parameters Object
Résultat JToken

Put() public méthode

public Put ( string path, Object parameters ) : JToken
path string
parameters Object
Résultat JToken

Request() public méthode

public Request ( Method method, string path, Object body = null ) : JToken
method Method
path string
body Object
Résultat JToken

RequestToken() public méthode

public RequestToken ( string callback = null ) : Client
callback string
Résultat Client

Property Details

Secret public_oe property

public string Secret
Résultat string

Token public_oe property

public string Token
Résultat string