Authentication fixes: grant_type and json response handling
authorAaron Parecki <aaron@parecki.com>
Tue, 14 Mar 2017 17:49:26 +0000 (10:49 -0700)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 23 Mar 2017 06:40:56 +0000 (07:40 +0100)
commit1d2f32fd7ec746b63ccc1fbc66878bfb8cc39a46
tree7f1ebdb40f636fc7c4126d17aa8abcd305e0e530
parent956202bfa5b27a89f5c435640590188524889225
Authentication fixes: grant_type and json response handling

* sends `grant_type` parameter for code exchange
* accepts both form-encoded and json responses from token endpoint
src/shpub/Command/Connect.php