php-travis-client icon indicating copy to clipboard operation
php-travis-client copied to clipboard

any plan to integrate support for private accounts?

Open odino opened this issue 11 years ago • 3 comments
trafficstars

odino avatar Dec 14 '13 19:12 odino

Also interested in private accounts. http://docs.travis-ci.com/api/#authentication

doublejosh avatar Nov 26 '14 18:11 doublejosh

Working on this -- https://github.com/tableau-mkt/php-travis-client/commit/ea7ca2ce50d2c3329b9724eb2db3bb0bf6a5e999

doublejosh avatar Jan 10 '15 03:01 doublejosh

Updated the library to allow public repos! No merge request yet.

  • Added a setApiUrlPrivate() function.
  • Added both a $clientInterface for curl, and token param in the __construct function, which uses a listener in the Buzz library.
  • Added a tokenAuthListener to extend Buzz and allow the correct authorization header.

See here:

doublejosh avatar Jan 13 '15 20:01 doublejosh