dolibarr 25.0.0-alpha
microsoftapp_oauthcallback.php File Reference

Page to get an app-only token for Microsoft Exchange Online (client credentials grant flow) More...

Go to the source code of this file.

Variables

 $uriFactory = new \OAuth\Common\Http\Uri\UriFactory()
 Create a new instance of the URI class with the current URI, stripping the query string.
 

Detailed Description

Page to get an app-only token for Microsoft Exchange Online (client credentials grant flow)

Unlike the other oauth callback pages, there is no redirect to the OAuth provider here: the token is requested server to server with the application credentials (application permissions with admin consent granted on https://portal.azure.com/), then stored.

Definition in file microsoftapp_oauthcallback.php.