TestMyQt / Qt-CreatorTMC

Qt Creator plugin for TestMyCode (TMC) at University of Helsinki
https://testmycode.github.io
GNU Lesser General Public License v3.0
0 stars 1 forks source link

Authentication to TMC server #3

Closed j4miol closed 7 years ago

j4miol commented 7 years ago

Added TmcClient class with functionality to authenticate to TMC server with username and password input by the user on login window. Currently also prints out user's info after successfull login, mainly just to test that the access token can be used.

If wrong login info is presented, a warning popup is shown. On succesfull login the login window closed.

TmcClient class is planned to become the catch-all class that takes care of the communication with the server.