C# Class ImgurNet.Authentication.ClientAuthentication

Inheritance: IAuthentication
Show file Open project: 0xdeafcafe/ImgurNet Class Usage Examples

Public Methods

Method Description
ClientAuthentication ( string clientId, bool checkRateLimit ) : ImgurNet.Models

Creates a new Imgur Authorization based off of a client's ClientId.

Method Details

ClientAuthentication() public method

Creates a new Imgur Authorization based off of a client's ClientId.
public ClientAuthentication ( string clientId, bool checkRateLimit ) : ImgurNet.Models
clientId string The ClientId of your imgur client. Create one here (https://api.imgur.com/oauth2/addclient).
checkRateLimit bool Check, and load into the model, the current ratelimit status of your client.
return ImgurNet.Models