C# Class stikkPop.Imgur

Mostrar archivo Open project: Wirehive/stikkPop

Public Methods

Method Description
GetToken ( string pin ) : ImgurToken
RefreshToken ( ) : void
RequestPin ( ) : void
Upload ( Image pasteImage ) : string

Private Methods

Method Description
parseAuthResponse ( string &access_token, string &refresh_token, string &expires_in, byte ApiResponse ) : void

Method Details

GetToken() public static method

public static GetToken ( string pin ) : ImgurToken
pin string
return ImgurToken

RefreshToken() public static method

public static RefreshToken ( ) : void
return void

RequestPin() public static method

public static RequestPin ( ) : void
return void

Upload() public static method

public static Upload ( Image pasteImage ) : string
pasteImage Image
return string