Skip to content

Instantly share code, notes, and snippets.

bthubbard / Authentication.xaml.cs
Created October 5, 2012 01:00
Windows 8 Evernote oAuth Example
Quick and dirty code strung together from an Evernote example which used ReactiveOAuth and the MSFT examples.
public sealed partial class Authenication : YourApp.Common.LayoutAwarePage
private const string parametersQueryString = @"/oauth?oauth_consumer_key={0}&oauth_signature={1}&oauth_signature_method=PLAINTEXT&oauth_timestamp={2}&oauth_nonce={3}";
private const string callBackUrl = "http://localhost/YouApp";
private const string oAuthToken = "oauth_token";
private string postResponse;