Permalink
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (27 sloc) 2.05 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.