php-oauth icon indicating copy to clipboard operation
php-oauth copied to clipboard

Ability to use own http adapter

Open logical-and opened this issue 9 years ago • 1 comments

Details are provided by @cmodijk here

logical-and avatar May 26 '15 11:05 logical-and

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.

cmodijk avatar May 26 '15 13:05 cmodijk