Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
/ EnUWPAuthDemo Public archive

A example of authenticating to Evernote on Windows Universal

License

Notifications You must be signed in to change notification settings

DamianMehers/EnUWPAuthDemo

Repository files navigation

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}";

About

A example of authenticating to Evernote on Windows Universal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages