Extends: eh_GJBaseRequest < HTTPRequest
This class decribes the Auth api endpoint. It’s response is modeled in the custom resource of [eh_GJUsersAuthData]
It’s a simple class to help with login in the user, but should be the first thing the game does or check for.
If the request fails, the signal [eh_GJBaseRequest.gj_request_failed] will be emitted with an error dict as its parameter. category: HTTPRequests
func auth_user_credentials(p_username: String, p_user_token: String) -> int
Builds url and send request to the auth Endpoint. Return an int which is the request error code.