supi dupi force param

This commit is contained in:
2014-06-18 18:58:43 +02:00
parent 761d670c65
commit 97919cdd18
4 changed files with 9 additions and 5 deletions
+4
View File
@@ -1,3 +1,7 @@
### 4.1.2 (2014-06-18)
- Add force param to login+registration
### 4.1.1 (2014-06-17)
- Fix batch adding bug
+2 -2
View File
@@ -60,7 +60,7 @@ namespace PocketSharp
RequestCode = requestCode;
}
return new Uri(String.Format(authentificationUri, RequestCode, CallbackUri, isMobileClient ? "1" : "0"));
return new Uri(String.Format(authentificationUri, RequestCode, CallbackUri, isMobileClient ? "1" : "0", "login"));
}
@@ -122,7 +122,7 @@ namespace PocketSharp
RequestCode = requestCode;
}
return new Uri(String.Format("{0}&force=signup", String.Format(authentificationUri, RequestCode, CallbackUri, isMobileClient ? "1" : "0")));
return new Uri(String.Format(authentificationUri, RequestCode, CallbackUri, isMobileClient ? "1" : "0", "signup"));
}
}
}
+1 -1
View File
@@ -45,7 +45,7 @@ namespace PocketSharp
/// <summary>
/// The authentification URL
/// </summary>
protected string authentificationUri = "https://getpocket.com/auth/authorize?request_token={0}&redirect_uri={1}&mobile={2}";
protected string authentificationUri = "https://getpocket.com/auth/authorize?request_token={0}&redirect_uri={1}&mobile={2}&force={3}";
/// <summary>
/// Indicates, whether this client is used for mobile or desktop
+2 -2
View File
@@ -22,5 +22,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.1.1")]
[assembly: AssemblyFileVersion("4.1.1")]
[assembly: AssemblyVersion("4.1.2")]
[assembly: AssemblyFileVersion("4.1.2")]