Package org.pac4j.oauth.profile.yahoo
Class YahooProfile
java.lang.Object
org.pac4j.core.profile.BasicUserProfile
org.pac4j.core.profile.CommonProfile
org.pac4j.oauth.profile.OAuth20Profile
org.pac4j.oauth.profile.OAuth10Profile
org.pac4j.oauth.profile.yahoo.YahooProfile
- All Implemented Interfaces:
Externalizable
,Serializable
,org.pac4j.core.profile.UserProfile
This class is the user profile for Yahoo with appropriate getters.
It is returned by the YahooClient
.
- Since:
- 1.1.0
- Author:
- Jerome Leleu
- See Also:
-
Field Summary
Fields inherited from class org.pac4j.core.profile.BasicUserProfile
logger
-
Constructor Summary
-
Method Summary
Methods inherited from class org.pac4j.oauth.profile.OAuth10Profile
getAccessSecret, removeLoginData, setAccessSecret
Methods inherited from class org.pac4j.oauth.profile.OAuth20Profile
getAccessToken, getRefreshToken, setAccessToken, setRefreshToken
Methods inherited from class org.pac4j.core.profile.CommonProfile
getAttributeAsDate, getAttributeAsString, getAttributeAsType, getGender, getLocation, isExpired, toString
Methods inherited from class org.pac4j.core.profile.BasicUserProfile
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addRole, addRoles, asPrincipal, build, build, canEqual, containsAttribute, containsAuthenticationAttribute, equals, extractAttributeValues, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getRoles, getTypedId, hashCode, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setRemembered, setRoles, writeExternal
-
Constructor Details
-
YahooProfile
public YahooProfile()
-
-
Method Details
-
getEmail
- Overrides:
getEmail
in classorg.pac4j.core.profile.CommonProfile
-
getFirstName
- Overrides:
getFirstName
in classorg.pac4j.core.profile.CommonProfile
-
getFamilyName
- Overrides:
getFamilyName
in classorg.pac4j.core.profile.CommonProfile
-
getDisplayName
- Overrides:
getDisplayName
in classorg.pac4j.core.profile.CommonProfile
-
getUsername
- Specified by:
getUsername
in interfaceorg.pac4j.core.profile.UserProfile
- Overrides:
getUsername
in classorg.pac4j.core.profile.CommonProfile
-
getLocale
- Overrides:
getLocale
in classorg.pac4j.core.profile.CommonProfile
-
getPictureUrl
- Overrides:
getPictureUrl
in classorg.pac4j.core.profile.CommonProfile
-
getProfileUrl
- Overrides:
getProfileUrl
in classorg.pac4j.core.profile.CommonProfile
-
getAboutMe
getAboutMe.
- Returns:
- a
String
object
-
getAddresses
getAddresses.
- Returns:
- a
List
object
-
getBirthYear
getBirthYear.
- Returns:
- a
Integer
object
-
getBirthdate
getBirthdate.
- Returns:
- a
Date
object
-
getCreated
getCreated.
- Returns:
- a
Date
object
-
getDisplayAge
getDisplayAge.
- Returns:
- a
Integer
object
-
getDisclosures
getDisclosures.
- Returns:
- a
List
object
-
getEmails
getEmails.
- Returns:
- a
List
object
-
getImage
getImage.
- Returns:
- a
YahooImage
object
-
getInterests
getInterests.
- Returns:
- a
List
object
-
getIsConnected
getIsConnected.
- Returns:
- a
Boolean
object
-
getMemberSince
getMemberSince.
- Returns:
- a
Date
object
-
getTimeZone
getTimeZone.
- Returns:
- a
String
object
-
getUpdated
getUpdated.
- Returns:
- a
Date
object
-
getUri
getUri.
- Returns:
- a
String
object
-
getAgeCategory
getAgeCategory.
- Returns:
- a
String
object
-