public class MobileServiceUser extends Object
Constructor and Description |
---|
MobileServiceUser(String userId)
Creates a user specifying the User Id
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthenticationToken()
Returns the authentication token for the user
|
String |
getUserId()
Returns the current User Id
|
void |
setAuthenticationToken(String authenticationToken)
Sets the authentication token for the user
|
void |
setUserId(String userId)
Sets the user's id
|
public MobileServiceUser(String userId)
userId
- The User Idpublic String getUserId()
public void setUserId(String userId)
userId
- The user's idpublic String getAuthenticationToken()
public void setAuthenticationToken(String authenticationToken)
authenticationToken
- Authentication token