DoSomething / gateway

:lock_with_ink_pen: An opinionated PHP REST API client.
MIT License
2 stars 0 forks source link

More little fixes. #23

Closed DFurnes closed 8 years ago

DFurnes commented 8 years ago

Changes

🗿 Fixes issue where the default request headers (Accept: application/json and Content-Type: application/json) would be discarded when setting the Authorization header for a request. This is because Guzzle only applies the values set in the defaults array when the request doesn't have a value for that option.

💻 Use the v2/clients endpoint rather than v1/keys for listing OAuth clients. Also fixes two incorrect docblocks for method return types.


For review: @angaither

angaither commented 8 years ago

💯