I am making a Provider-Hosted Sharepoint 2013 app in PHP. I have successfully authenticated with OAuth and can make requests on behalf of a user but I am struggling to figure out how to make requests using the App-Only policy so I can execute requests with elevated permissions.
From my understanding I need to make requests with a App only token, but I do know how to retrieve this. The only examples I can find seem to use a the TokenHelper C# library which does not reveal any implementation details of the underlying requests that need to happen.
Any help would be much appreciated.
Ed
Edit: I have
<AppPermissionRequests AllowAppOnlyPolicy="true">
set in my App's manifest