The OneDrive API uses standard OAuth 2.0 authentication scheme to authenticate users and generate access tokens.
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 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. |