public class WordPressProfile extends OAuth20Profile
This class is the user profile for WordPress with appropriate getters.
It is returned by the WordPressClient
.
logger, SEPARATOR
Constructor and Description |
---|
WordPressProfile() |
Modifier and Type | Method and Description |
---|---|
AttributesDefinition |
getAttributesDefinition()
Return the attributes definition for this user profile.
|
WordPressLinks |
getLinks() |
String |
getPictureUrl()
Return the url of the picture of the user.
|
Integer |
getPrimaryBlog() |
String |
getProfileUrl()
Return the url of the profile of the user.
|
clearSensitiveData, getAccessToken, setAccessToken
getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addPermissions, addRole, addRoles, addRoles, build, getAttribute, getAttribute, getAttributes, getClientName, getId, getOldTypedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, setClientName, setId, setRemembered, toString, writeExternal
public AttributesDefinition getAttributesDefinition()
UserProfile
null
for a (generic) user profile.getAttributesDefinition
in class UserProfile
public String getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public String getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public Integer getPrimaryBlog()
public WordPressLinks getLinks()
Copyright © 2016. All rights reserved.