createUser

Task<UricreateUser(UserCredentials userCredentials, Session userCenterApiSession)

Creates a new Gini user.

Return

A task which will resolve to a JSONObject representing the API's response, which is a user information.

Parameters

userCredentials

The user's credentials.

userCenterApiSession

A valid session to do requests to the Gini User Center API.

Throws

If the user credentials can't be JSON serialized.