loginClient

Task<JSONObjectloginClient()

Logs in this client to the Gini User Center API. Uses the instance's client credentials to identify the client. Please note that this is used to login the client (in other words: the app) and not a Gini user. Please do not mix the different sessions.

Return

A task which will resolve to a JSONObject representing the API's response, which is a valid access token for the Gini User Center API.