diff options
author | Andrew <forkk@forkk.net> | 2013-11-28 20:45:52 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-11-28 20:45:52 -0600 |
commit | bfc9e1e5d598f354dd39e5c2eb51d5e51585359b (patch) | |
tree | 20d2dd60b8b053ac4a93eb916b5484090d375b67 /logic/auth/YggdrasilTask.h | |
parent | 1f150dcb7821fea19b40b9e1024fff5b594f03e9 (diff) | |
download | MultiMC-bfc9e1e5d598f354dd39e5c2eb51d5e51585359b.tar MultiMC-bfc9e1e5d598f354dd39e5c2eb51d5e51585359b.tar.gz MultiMC-bfc9e1e5d598f354dd39e5c2eb51d5e51585359b.tar.lz MultiMC-bfc9e1e5d598f354dd39e5c2eb51d5e51585359b.tar.xz MultiMC-bfc9e1e5d598f354dd39e5c2eb51d5e51585359b.zip |
Verify access tokens before launching Minecraft
Kind of an important thing to do... Heh...
Diffstat (limited to 'logic/auth/YggdrasilTask.h')
-rw-r--r-- | logic/auth/YggdrasilTask.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |