public class YahooOpenIdProfile extends OpenIdProfile
This class is the user profile for Yahoo using OpenID with appropriate getters.
It is returned by the YahooOpenIdClient
.
Method : | Through the attribute exchange extension : |
---|---|
The attributes of the CommonProfile |
|
String getEmail() | the email attribute |
String getFirstName() | null the provider didn't return the firstname |
String getFamilyName() | null the provider didn't return the firstname |
String getDisplayName() | the fullname attribute (firstname and fullname not independendly by the provider, just the fullname) |
String getUsername() | null |
Gender getGender() | Gender.UNSPECIFIED |
Locale getLocale() | the language attribute |
String getPictureUrl() | the image picture url |
String getProfileUrl() | null |
String getLocation() | null |
YahooOpenIdClient
,
Serialized FormUSERNAME
logger, SEPARATOR
Constructor and Description |
---|
YahooOpenIdProfile() |
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.
|
Locale |
getLocale()
Return the locale of the user.
|
getEmail, getFamilyName, getFirstName, getGender, getLocation, getPictureUrl, getProfileUrl, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, build, clear, getAttribute, getAttribute, getAttributes, getId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, setId, setRemembered, toString, writeExternal
protected AttributesDefinition getAttributesDefinition()
UserProfile
getAttributesDefinition
in class UserProfile
public Locale getLocale()
CommonProfile
getLocale
in class CommonProfile
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
Copyright © 2016. All rights reserved.