Login
Simple guide on how to login with the universal api
name : username -> value : the username you're trying to login with
name : password -> value : the password of the user
name : program_key -> value : the program key
name : api_key -> value : the program api/enc key
complete api link for logging-in : https://cauth.me/api/uni_handler.php?type=login
PHP Code-Example
Response example : {"success":false,"response":"no_sub","message":"The user doesn't have an active subscription"}
it is a json encoded array with three elements, success, response and message.
In case the user logged in successfully, the response will have this structure : {"success":true,"response":"logged_in","message":"The user logged in successfully!","user_data":{"username":"username","email":"username@gmail.com","expires":"1600006629","var":"none","rank":1}}