History log of /plugin/oauth/HTTPClient.php (Results 1 – 6 of 6)
Revision Date Author Comments
# dd98db8c 02-Nov-2024 Naoto Kobayashi <naoto.kobayashi4c@gmail.com>

Add http response body to HttpTokenResponseException

Because response body is also helpful for error handler.

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>


# 096e7539 30-Oct-2024 Naoto Kobayashi <naoto.kobayashi4c@gmail.com>

Add HttpTokenResponseException making error handling easy

Although http status code and http error message are helpful in error handling,
TokenResponseException, throwed by oauth\HTTPClient if an er

Add HttpTokenResponseException making error handling easy

Although http status code and http error message are helpful in error handling,
TokenResponseException, throwed by oauth\HTTPClient if an error occured during
the http request, does not have fields/methods which indicate them directly.

Solve it by adding HttpTokenResponseException which has indicators of http status
code and http error message, and throwing it instead of TokenResponseException.

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>

show more ...


# 290e9b1f 05-Mar-2024 Andreas Gohr <andi@splitbrain.org>

automatic style fixes and new workflows


# 97399108 11-Jan-2022 Andreas Gohr <andi@splitbrain.org>

check HTTP status properly in HTTPClient


# 04a78b87 03-Dec-2021 Andreas Gohr <andi@splitbrain.org>

renamed our Service to Adapter to avoid confusion

Also added a mechanism to register Services from an adapter


# 98a36116 30-Jul-2020 Andreas Gohr <andi@splitbrain.org>

initial begin of refactoring

using composer for the oauth lib dependency, autoloading for our own
classes. Services are now their own action plugins to inherit from our
Service class.

All still unt

initial begin of refactoring

using composer for the oauth lib dependency, autoloading for our own
classes. Services are now their own action plugins to inherit from our
Service class.

All still untested and broken

show more ...