Page MenuHomePhabricator

Allow ConduitClient to use OAuth access tokens for authentication
ClosedPublic

Authored by epriestley on Apr 5 2016, 10:00 PM.

Details

Summary

Ref T7303. This adds OAuth token support to ConduitClient.

Test Plan

Logged out of an instance and got logged out of the linked upstream; see followup diffs.

Diff Detail

Repository
rPHU libphutil
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley updated this revision to Diff 37661.Apr 5 2016, 10:00 PM
epriestley retitled this revision from to Allow ConduitClient to use OAuth access tokens for authentication.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad accepted this revision.Apr 5 2016, 10:08 PM
chad edited edge metadata.
This revision is now accepted and ready to land.Apr 5 2016, 10:08 PM
epriestley added inline comments.Apr 5 2016, 10:11 PM
src/auth/PhutilPhabricatorAuthAdapter.php
66

(This isn't directly related, but this scope no longer exists so it stops the endpoint from complaining.)

This revision was automatically updated to reflect the committed changes.