OAuth 2 fixes for Box & Picasa. Noticed that Box uses one refresh-token per authentication token, as soon as an Authenticating token is requested the refresh token is used. An refresh token can also expire, usually after 60 days. This commit should make it work.

This commit is contained in:
Robin 2015-04-18 00:06:57 +02:00
commit 6948df14f6
6 changed files with 144 additions and 66 deletions

View file

@ -50,12 +50,6 @@ namespace GreenshotBoxPlugin {
set;
}
[IniProperty("AddFilename", Description = "Is the filename passed on to Box", DefaultValue = "False")]
public bool AddFilename {
get;
set;
}
[IniProperty("RefreshToken", Description = "Box authorization refresh Token", Encrypted = true)]
public string RefreshToken {
get;