add first version of authentification;

This commit is contained in:
2013-06-21 00:07:05 +02:00
parent 1f5c4d672c
commit d81a35ef48
4 changed files with 55 additions and 15 deletions
+4 -6
View File
@@ -16,15 +16,13 @@ namespace PocketSharp.Console
// this consumerKey is just for demonstration purposes
// please create your own application and retrieve it's key. It's a 1-step process ;-)
PocketClient client = new PocketClient(
consumerKey: "15396-f6f92101d72c8e270a6c9bb3",
accessCode: "a85134a7-243c-6656-ab82-97c901"
consumerKey: "15396-f6f92101d72c8e270a6c9bb3"
);
client.Search("css").ForEach(delegate(PocketItem item)
{
System.Console.WriteLine(item.FullTitle);
});
var x = client.GetAuthentificationUri(new Uri("http://ceecore.com"));
System.Console.WriteLine(x.ToString());
System.Console.ReadKey();
}
}