C# Class Imgur.API.Authentication.Impl.MashapeClient

Imgur API application credentials. Register at https://api.imgur.com/oauth2/addclient
Inheritance: ApiClientBase, IMashapeClient
Show file Open project: DamienDennehy/Imgur.API Class Usage Examples

Public Methods

Method Description
MashapeClient ( string clientId, string mashapeKey ) : System

Initializes a new instance of the ImgurClient class.

MashapeClient ( string clientId, string mashapeKey, IOAuth2Token oAuth2Token ) : System

Initializes a new instance of the MashapeClient class.

MashapeClient ( string clientId, string clientSecret, string mashapeKey ) : System

Initializes a new instance of the MashapeClient class.

MashapeClient ( string clientId, string clientSecret, string mashapeKey, IOAuth2Token oAuth2Token ) : System

Initializes a new instance of the MashapeClient class.

Method Details

MashapeClient() public method

Initializes a new instance of the ImgurClient class.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. ///
public MashapeClient ( string clientId, string mashapeKey ) : System
clientId string The Imgur app's ClientId.
mashapeKey string The Mashape Key.
return System

MashapeClient() public method

Initializes a new instance of the MashapeClient class.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. ///
public MashapeClient ( string clientId, string mashapeKey, IOAuth2Token oAuth2Token ) : System
clientId string The Imgur app's ClientId.
mashapeKey string The Mashape Key.
oAuth2Token IOAuth2Token An OAuth2 Token used for actions against a user's account.
return System

MashapeClient() public method

Initializes a new instance of the MashapeClient class.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. ///
public MashapeClient ( string clientId, string clientSecret, string mashapeKey ) : System
clientId string The Imgur app's ClientId.
clientSecret string The Imgur app's ClientSecret.
mashapeKey string The Mashape Key.
return System

MashapeClient() public method

Initializes a new instance of the MashapeClient class.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. ///
public MashapeClient ( string clientId, string clientSecret, string mashapeKey, IOAuth2Token oAuth2Token ) : System
clientId string The Imgur app's ClientId.
clientSecret string The Imgur app's ClientSecret.
mashapeKey string The Mashape Key.
oAuth2Token IOAuth2Token An OAuth2 Token used for actions against a user's account.
return System