Closed Stephan123 closed 10 years ago
Was looking for the same thing and saw your question, hope this helps:
$client->setCredentials('user', 'pass');
Thanks @markstreich. I also added an example: https://github.com/tan-tan-kanarek/github-php-client/blob/master/README.md
Please publish an example with user authentication. Username and password are known.