Sets the user's credentials.
Updating user credentials will have no impact until the create method is called.
The credentials to send depend on the authentication plugin and the strategy you want to create credentials for.
| ||object||An object containing an attribute for each strategy you want to link the user to.|
JSONObject strategyCredentials = new JSONObject().put("some", "credentials"), credentials = new JSONObject().put("<strategy name>", strategyCredentials); user.setCredentials(credentials);