page_type | products | languages | extensions | ||||||
---|---|---|---|---|---|---|---|---|---|
sample |
|
|
|
This sample illustrates the basic concepts for interacting with OneDrive via Microsoft Graph API to create a file explorer web app.
Files included in this project:
- index.html - A sample web app to view the contents of the signed in user's OneDrive and show the JSON structures returned by the API.
- callback.html - A callback page used as part of the OAuth authenication flow.
- odauth.js - A simple js library for handling the OAuth2 implicit grant flow for OneDrive. Called from index.html.
Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT license.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.