logical-and / php-oauth

Support for authenticating users (without dep from any framework) using both OAuth1 and OAuth2 methods
https://packagist.org/packages/and/oauth
MIT License
43 stars 13 forks source link

Ability to use own http adapter #27

Open logical-and opened 9 years ago

logical-and commented 9 years ago

Details are provided by @cmodijk here

cmodijk commented 9 years ago

I think the request method should stay the same but needs te return a ResponseInterface.

And we should add a new method signRequest which accepts a RequestInterface that only add's the sining keys or headers to the request. With this method you could create your own requests which can upload stuff or have a custom body or custom headers.