Skip to content

Allows for alternate auth mode#2

Open
gms8994 wants to merge 6 commits intoProcessMaker:masterfrom
expanse:master
Open

Allows for alternate auth mode#2
gms8994 wants to merge 6 commits intoProcessMaker:masterfrom
expanse:master

Conversation

@gms8994
Copy link
Copy Markdown

@gms8994 gms8994 commented Nov 22, 2019

We're using a generated token from the Azure system instead of Oauth via a user. Minor difference is that now you

use ProcessMaker\Flysystem\Adapter\MSGraphApp as SharepointAdapter;

new SharepointAdapter(SharepointAdapter::MODE_SHAREPOINT, $sharepoint_site_id, $document_library, $access_token)

or

use ProcessMaker\Flysystem\Adapter\MSGraphUser as SharepointAdapter;

new SharepointAdapter($appId, $appPassword, $tokenEndpoint, SharepointAdapter::MODE_SHAREPOINT, $sharepoint_site_id, $document_library)

Feedback welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant