UserCenterManager

public class UserCenterManager

The UserCenterManager is responsible for managing Gini users.

Constructors

UserCenterManager
Link copied to clipboard
void UserCenterManager(UserCenterAPICommunicator userCenterAPICommunicator)
An implementation of the UserCenterAPIManager which handles the communication with the Gini User Center API for this manager instance.

Functions

createUser
Link copied to clipboard
Task<UsercreateUser(UserCredentials userCredentials)
Creates a new user which has the given client credentials.
getUser
Link copied to clipboard
Task<UsergetUser(Uri userUri)
loginUser
Link copied to clipboard
Task<SessionloginUser(UserCredentials userCredentials)
Log-in the user which is identified with the given credentials.
updateEmail
Link copied to clipboard
Task<JSONObjectupdateEmail(String newEmail, String oldEmail, Session giniAPISession)
Update the email of the logged in user.