C# Class stikkPop.Imgur

Afficher le fichier Open project: Wirehive/stikkPop

Méthodes publiques

Méthode Description
GetToken ( string pin ) : ImgurToken
RefreshToken ( ) : void
RequestPin ( ) : void
Upload ( Image pasteImage ) : string

Private Methods

Méthode Description
parseAuthResponse ( string &access_token, string &refresh_token, string &expires_in, byte ApiResponse ) : void

Method Details

GetToken() public static méthode

public static GetToken ( string pin ) : ImgurToken
pin string
Résultat ImgurToken

RefreshToken() public static méthode

public static RefreshToken ( ) : void
Résultat void

RequestPin() public static méthode

public static RequestPin ( ) : void
Résultat void

Upload() public static méthode

public static Upload ( Image pasteImage ) : string
pasteImage Image
Résultat string