public class User
extends java.lang.Object
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEmail()
Get the email address of this user.
|
java.lang.String |
getKey()
Get the key that uniquely identifies this user within a Gluon CloudLink application.
|
LoginMethod.Type |
getLoginMethod()
Get the login method that was used when authenticating this user.
|
java.lang.String |
getLoginMethodIdentifier() |
java.lang.String |
getName()
Get the name of this user.
|
java.lang.String |
getNetworkId()
Get the unique id within a social network for this user.
|
java.lang.String |
getNick()
Get the nick name of this user.
|
java.lang.String |
getPicture()
Get the URL to the profile picture of this user.
|
void |
setEmail(java.lang.String email)
Set the email address for this user.
|
void |
setKey(java.lang.String key)
Set the key that uniquely identifies this user.
|
void |
setLoginMethod(LoginMethod.Type loginMethod)
Sets the login method that was used when authenticating this user.
|
void |
setLoginMethodIdentifier(java.lang.String loginMethodIdentifier) |
void |
setName(java.lang.String name)
Set the name for this user.
|
void |
setNetworkId(java.lang.String networkId)
Set the unique id within a social network for this user.
|
void |
setNick(java.lang.String nick)
Set the nick name for this user.
|
void |
setPicture(java.lang.String picture)
Set the URL to the profile picture for this user.
|
java.lang.String |
toString() |
public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- The key for this user.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name for this user.public java.lang.String getNick()
public void setNick(java.lang.String nick)
nick
- The nick name for the user.public java.lang.String getPicture()
public void setPicture(java.lang.String picture)
picture
- The URL to the profile picture for this user.public java.lang.String getEmail()
public void setEmail(java.lang.String email)
email
- The email address for the user.public java.lang.String getLoginMethodIdentifier()
public void setLoginMethodIdentifier(java.lang.String loginMethodIdentifier)
public LoginMethod.Type getLoginMethod()
public void setLoginMethod(LoginMethod.Type loginMethod)
loginMethod
- The login method used for authentication.public java.lang.String getNetworkId()
public void setNetworkId(java.lang.String networkId)
LoginMethod.Type.PASSWORD
login method, the value will be set to the nick name of the user.networkId
- The unique id of the social network that was used to authenticate this user.public java.lang.String toString()
toString
in class java.lang.Object