From bfc9e1e5d598f354dd39e5c2eb51d5e51585359b Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 28 Nov 2013 20:45:52 -0600 Subject: Verify access tokens before launching Minecraft Kind of an important thing to do... Heh... --- logic/auth/YggdrasilTask.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'logic/auth/YggdrasilTask.h') diff --git a/logic/auth/YggdrasilTask.h b/logic/auth/YggdrasilTask.h index 6aebae16..5a433aeb 100644 --- a/logic/auth/YggdrasilTask.h +++ b/logic/auth/YggdrasilTask.h @@ -99,6 +99,8 @@ protected: * If an error occurred, this should emit a failed signal and return false. * If Yggdrasil gave an error response, it should call setError() first, and then return false. * Otherwise, it should return true. + * Note: If the response from the server was blank, and the HTTP code was 200, this function is called with + * an empty QJsonObject. */ virtual bool processResponse(QJsonObject responseData) = 0; -- cgit v1.2.3