mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
extracted imgur credentials to another class
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2047 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
4698ee8d7d
commit
ef4b1344e5
3 changed files with 28 additions and 5 deletions
|
@ -150,8 +150,8 @@ namespace GreenshotImgurPlugin {
|
|||
oAuth.AccessTokenUrl = "http://api.imgur.com/oauth/access_token";
|
||||
oAuth.AuthorizeUrl = "http://api.imgur.com/oauth/authorize";
|
||||
oAuth.RequestTokenUrl = "http://api.imgur.com/oauth/request_token";
|
||||
oAuth.ConsumerKey = fill in;
|
||||
oAuth.ConsumerSecret = fill in;
|
||||
oAuth.ConsumerKey = ImgurCredentials.CONSUMER_KEY;
|
||||
oAuth.ConsumerSecret = ImgurCredentials.CONSUMER_SECRET;
|
||||
oAuth.UserAgent = "Greenshot";
|
||||
if (string.IsNullOrEmpty(config.ImgurToken)) {
|
||||
LOG.Debug("Creating Imgur Token");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue