You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Chad Shurtz edited this page Aug 30, 2016
·
1 revision
OneNote uses the OAuth 2.0 protocol to authenticate users and grant the application developer permissions to access their data in a secure manner. The access token provided by the authentication process is required to use OneNote's REST API.
After acquiring an access token, the token string should be passed to the constructor of the OneNoteApi object as follows:
var api = new OneNoteApi.OneNoteApi(accessToken);
On instantiating the OneNoteApi object, you may now use it to access the user's data under the permissions granted by the authentication process. Examples on how to use the OneNoteApi object can be found under Usage.