public class WeiboProfile extends OAuth20Profile
This class is the user profile for Sina Weibo (using OAuth protocol version 2) with appropriate getters.
It is returned by the WeiboClient
.
logger, SEPARATOR
Constructor and Description |
---|
WeiboProfile() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Return the displayed name of the user.
|
String |
getFirstName()
Return the first name of the user.
|
Locale |
getLocale()
Return the locale of the user.
|
URI |
getPictureUrl()
Return the url of the picture of the user.
|
URI |
getProfileUrl()
Return the url of the profile of the user.
|
String |
getUsername()
Return the username of the user.
|
clearSensitiveData, getAccessToken, setAccessToken
asPrincipal, getEmail, getFamilyName, getGender, getLocation, isExpired
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, build, containsAttribute, containsAuthenicationAttribute, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setPermissions, setRemembered, setRoles, toString, writeExternal
public String getFirstName()
CommonProfile
getFirstName
in class CommonProfile
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
public String getUsername()
CommonProfile
getUsername
in class CommonProfile
public Locale getLocale()
CommonProfile
getLocale
in class CommonProfile
public URI getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public URI getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
Copyright © 2019. All rights reserved.