WP-API / client-php

Reference client library for the WP API
Other
60 stars 17 forks source link

Add Connection class #3

Closed danielbachhuber closed 10 years ago

danielbachhuber commented 10 years ago

Passing username and password to WPAPI is lame. We should have proper connection class(es), with oAuth1 and Basic_Auth to start.

rmccue commented 10 years ago

This is what Requests_Auth is for, I'd like to avoid another layer of indirection there. We can actually store a serialised version of the object for use between requests too.

On Wed, May 7, 2014 at 10:54 AM, Daniel Bachhuber notifications@github.com wrote:

Passing username and password to WPAPI is lame. We should have proper connection class(es), with oAuth1 and Basic_Auth to start.

Reply to this email directly or view it on GitHub: https://github.com/WP-API/client-php/issues/3

rmccue commented 10 years ago

Closing, we can just use Requests_Auth.