Homec4science

Add PhutilOAuth1Future, for signing OAuth1 requests

Authored by epriestley <git@epriestley.com> on Aug 8 2013, 18:21.

Description

Add PhutilOAuth1Future, for signing OAuth1 requests

Summary:
Ref T3687. JIRA uses OAuth1, not OAuth2, so we need to build a bit of infrastructure before we can auth against it. On the upside (I guess?) we can pick up Twitter too.

This implements an OAuth1Future which at least mostly works and can sign requests. It includes unit tests from the Twitter docs and an older version of the OAuth1 spec.

Test Plan: Ran unit tests.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3687

Differential Revision: https://secure.phabricator.com/D6695

Details

Committed
epriestley <git@epriestley.com>Aug 8 2013, 18:21
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU9d0e2be90bfc: Allow configuration of global CA bundle in HTTPSFuture, T3668
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUeb227d4a5800: Add PhutilOAuth1Future, for signing OAuth1 requests (authored by epriestley <git@epriestley.com>).Aug 8 2013, 18:21