|
Spring Social | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.connect.UserProfile
public class UserProfile
A normalized model representing a service provider user profile. The structure of a "UserProfile" varies across providers (see the difference between Facebook and Twitter, for example). That said, there are generally a common set of profile fields that apply across providers. This model provides access to those common fields in an uniform way. This is particularly useful for pre-populating a local application registration form with provider profile data during a provider sign-in attempt.
Field Summary | |
---|---|
static UserProfile |
EMPTY
Shared, empty profile that when used indicates no profile data is available (all property values are null). |
Method Summary | |
---|---|
java.lang.String |
getEmail()
The user's registered email address. |
java.lang.String |
getFirstName()
The user's registered first name e.g. |
java.lang.String |
getLastName()
The user's registered last name e.g. |
java.lang.String |
getName()
The user's registered full name e.g. |
java.lang.String |
getUsername()
The user's registered username e.g. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final UserProfile EMPTY
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getFirstName()
public java.lang.String getLastName()
public java.lang.String getEmail()
public java.lang.String getUsername()
|
Spring Social | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |