C# Class CartoDBClient.oAuthCartoDB

Inheritance: OAuthBase
Afficher le fichier Open project: thedatarepublic/CartoDBClientDotNET Class Usage Examples

Méthodes publiques

Свойство Type Description
ACCESS_TOKEN string
AUTHORIZE string
REQUEST_TOKEN string
SCOPE string
XAUTH_ACCESS_TOKEN string

Méthodes publiques

Méthode Description
AccessTokenGet ( string authToken, string verifier ) : void

Exchange the request token for an access token.

AuthorizationLinkGet ( ) : string

Get the link to CartoDB's authorization page for this application.

WebRequest ( Method method, string url, string postData ) : string

Web Request Wrapper

WebResponseGet ( HttpWebRequest webRequest ) : string

Process the web response.

oAuthCartoDBQuery ( string query ) : string

Exchange the username and password for an access token.

oAuthWebRequest ( Method method, string url, string postData ) : string

Submit a web request using oAuth.

xAuthAccessTokenGet ( ) : void

Exchange the username and password for an access token.

Method Details

AccessTokenGet() public méthode

Exchange the request token for an access token.
public AccessTokenGet ( string authToken, string verifier ) : void
authToken string The oauth_token is supplied by CartoDB's authorization page following the callback.
verifier string
Résultat void

AuthorizationLinkGet() public méthode

Get the link to CartoDB's authorization page for this application.
public AuthorizationLinkGet ( ) : string
Résultat string

WebRequest() public méthode

Web Request Wrapper
public WebRequest ( Method method, string url, string postData ) : string
method Method Http Method
url string Full url to the web resource
postData string Data to post in querystring format
Résultat string

WebResponseGet() public méthode

Process the web response.
public WebResponseGet ( HttpWebRequest webRequest ) : string
webRequest System.Net.HttpWebRequest The request object.
Résultat string

oAuthCartoDBQuery() public méthode

Exchange the username and password for an access token.
public oAuthCartoDBQuery ( string query ) : string
query string
Résultat string

oAuthWebRequest() public méthode

Submit a web request using oAuth.
public oAuthWebRequest ( Method method, string url, string postData ) : string
method Method GET or POST
url string The full url, including the querystring.
postData string Data to post (querystring format)
Résultat string

xAuthAccessTokenGet() public méthode

Exchange the username and password for an access token.
public xAuthAccessTokenGet ( ) : void
Résultat void

Property Details

ACCESS_TOKEN public_oe property

public string ACCESS_TOKEN
Résultat string

AUTHORIZE public_oe property

public string AUTHORIZE
Résultat string

REQUEST_TOKEN public_oe property

public string REQUEST_TOKEN
Résultat string

SCOPE public_oe property

public string SCOPE
Résultat string

XAUTH_ACCESS_TOKEN public_oe property

public string XAUTH_ACCESS_TOKEN
Résultat string