Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 2.03 KB

readme.md

File metadata and controls

37 lines (27 loc) · 2.03 KB

Authentication for the OneDrive API

The OneDrive API uses standard OAuth 2.0 authentication scheme to authenticate users and generate access tokens.

OneDrive Personal

OneDrive uses Microsoft accounts to authenticate users and applications.

Method Description
Sign in Sign in to Microsoft account and OneDrive personal.
Refresh Refresh your access token.
Sign out Sign out of Microsoft account and OneDrive personal.

OneDrive For Business

OneDrive for Business uses Azure Active Directory to authenticate users and applications.

Method Description
Sign in Sign in to an AAD account and OneDrive for Business.
Discover Endpoint Discover the OneDrive for Business URL for a user.
Refresh Refresh your access token.