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