A example of authenticating to Evernote on Windows Universal
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
EvernoteUniveralWindowsAuthenticationDemo
.gitattributes
.gitignore
EvernoteUniveralWindowsAuthenticationDemo.sln
LICENSE
README.md

README.md

EnUWPAuthDemo

A complete standalone working example of authenticating to Evernote on Windows Universal

You'll want to use the EvernoteAuthenticator class.

      var result = await EvernoteAuthenticator.AuthenticateAsync(Host.Text, Key.Text, Secret.Text, Callback.Text);
      
      TTransport noteStoreTransport = new THttpClient(new Uri(result.EdamNoteStoreUrl));
      TProtocol noteStoreProtocol = new TBinaryProtocol(noteStoreTransport);
      var noteStore = new NoteStore.Client(noteStoreProtocol);
      var defaultNotebook = await Task.Run(() => noteStore.getDefaultNotebook(result.AuthToken));
      Output.Text = $"Your default notebook is {defaultNotebook.Name}";