php-api-wrapper icon indicating copy to clipboard operation
php-api-wrapper copied to clipboard

OAuth2 transport provider supporting of Legue OAuth Provider defaultHeaders()

Open holdmann opened this issue 2 years ago • 1 comments

Some OAuth api-es require for default headers, that not currently passed to Curl-based requests. So adding support of this...

holdmann avatar Sep 16 '23 06:09 holdmann

Can you provide a real world API example that has this behavior please ?

I'm not sure we will merge this PR if it is to add few API Support.

But : It is totaly fine in that case to override the Transport (in your own class) and add your logic to handle your needs. I'm relatively perplex about the need to get this behavior in the core of php-api-wrapper.

TZK- avatar Sep 17 '23 14:09 TZK-