Home GnuPG

Add PhutilOAuth1Future, for signing OAuth1 requests
eb227d4a5800Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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

Provenance
epriestley <git@epriestley.com>Authored on Aug 8 2013, 6:21 PM
Parents
rPHUTIL9d0e2be90bfc: Allow configuration of global CA bundle in HTTPSFuture, T3668
Branches
Unknown
Tags
Unknown

Event Timeline

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