public class WindowsLiveProfile extends OAuth20Profile
This class is the user profile for Windows Live with appropriate getters.
It is returned by the WindowsLiveClient
.
Method : | From the JSON profile response : |
---|---|
The attributes of the CommonProfile |
|
String getEmail() | null |
String getFirstName() | the first_name attribute |
String getFamilyName() | the last_name attribute |
String getDisplayName() | the name attribute |
String getUsername() | null |
Gender getGender() | the gender attribute |
Locale getLocale() | the locale attribute |
String getPictureUrl() | null |
String getProfileUrl() | the link attribute |
String getLocation() | null |
More specific attributes | |
Date getUpdatedTime() | the updated_time attribute |
WindowsLiveClient
,
Serialized FormUSERNAME
logger, SEPARATOR
Constructor and Description |
---|
WindowsLiveProfile() |
Modifier and Type | Method and Description |
---|---|
protected AttributesDefinition |
getAttributesDefinition()
Return the attributes definition for this user profile.
|
String |
getDisplayName()
Return the displayed name of the user.
|
String |
getFamilyName()
Return the family name of the user.
|
String |
getProfileUrl()
Return the url of the profile of the user.
|
Date |
getUpdatedTime() |
clear, getAccessToken, setAccessToken
getEmail, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
protected AttributesDefinition getAttributesDefinition()
UserProfile
getAttributesDefinition
in class UserProfile
public String getFamilyName()
CommonProfile
getFamilyName
in class CommonProfile
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
public String getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public Date getUpdatedTime()
Copyright © 2016. All rights reserved.