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
Constructors -
Method Summary
Methods inherited from class org.pac4j.oauth.profile.OAuth10Profile
getAccessSecret, removeLoginData, setAccessSecretMethods inherited from class org.pac4j.oauth.profile.OAuth20Profile
getAccessToken, getRefreshToken, setAccessToken, setRefreshTokenMethods inherited from class org.pac4j.core.profile.CommonProfile
getAttributeAsDate, getAttributeAsString, getAttributeAsType, getGender, getLocation, isExpired, toStringMethods 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:
getEmailin classorg.pac4j.core.profile.CommonProfile
-
getFirstName
- Overrides:
getFirstNamein classorg.pac4j.core.profile.CommonProfile
-
getFamilyName
- Overrides:
getFamilyNamein classorg.pac4j.core.profile.CommonProfile
-
getDisplayName
- Overrides:
getDisplayNamein classorg.pac4j.core.profile.CommonProfile
-
getUsername
- Specified by:
getUsernamein interfaceorg.pac4j.core.profile.UserProfile- Overrides:
getUsernamein classorg.pac4j.core.profile.CommonProfile
-
getLocale
- Overrides:
getLocalein classorg.pac4j.core.profile.CommonProfile
-
getPictureUrl
- Overrides:
getPictureUrlin classorg.pac4j.core.profile.CommonProfile
-
getProfileUrl
- Overrides:
getProfileUrlin classorg.pac4j.core.profile.CommonProfile
-
getAboutMe
getAboutMe.
- Returns:
- a
Stringobject
-
getAddresses
getAddresses.
- Returns:
- a
Listobject
-
getBirthYear
getBirthYear.
- Returns:
- a
Integerobject
-
getBirthdate
getBirthdate.
- Returns:
- a
Dateobject
-
getCreated
getCreated.
- Returns:
- a
Dateobject
-
getDisplayAge
getDisplayAge.
- Returns:
- a
Integerobject
-
getDisclosures
getDisclosures.
- Returns:
- a
Listobject
-
getEmails
getEmails.
- Returns:
- a
Listobject
-
getImage
getImage.
- Returns:
- a
YahooImageobject
-
getInterests
getInterests.
- Returns:
- a
Listobject
-
getIsConnected
getIsConnected.
- Returns:
- a
Booleanobject
-
getMemberSince
getMemberSince.
- Returns:
- a
Dateobject
-
getTimeZone
getTimeZone.
- Returns:
- a
Stringobject
-
getUpdated
getUpdated.
- Returns:
- a
Dateobject
-
getUri
getUri.
- Returns:
- a
Stringobject
-
getAgeCategory
getAgeCategory.
- Returns:
- a
Stringobject
-