A example of authenticating to Evernote on Windows Universal
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
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}";