Package org.pac4j.oauth.profile.facebook
Class FacebookProfile
java.lang.Object
org.pac4j.core.profile.BasicUserProfile
org.pac4j.core.profile.CommonProfile
org.pac4j.oauth.profile.OAuth20Profile
org.pac4j.oauth.profile.facebook.FacebookProfile
- All Implemented Interfaces:
Externalizable,Serializable,org.pac4j.core.profile.UserProfile
This class is the user profile for Facebook with appropriate getters.
It is returned by the FacebookClient.
- 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
Modifier and TypeMethodDescriptiongetAbout()getAbout.getAlbums.getBirthday.getBooks()getBooks.getEducation.getEvents.getFavoriteAthletes.getFavoriteTeams.getFriends.getGroups.getHometown.getInterestedIn.getLanguages.getLikes()getLikes.getLocationObject.getMiddleName.getMovies.getMusic()getMusic.getMusicListens.getPicture.getPolitical.getQuotes.getRelationshipStatus.getReligion.getSignificantOther.getThirdPartyId.getTimezone.getUpdateTime.getVerified.getWebsite.getWork()getWork.Methods inherited from class org.pac4j.oauth.profile.OAuth20Profile
getAccessToken, getRefreshToken, removeLoginData, setAccessToken, setRefreshTokenMethods inherited from class org.pac4j.core.profile.CommonProfile
getAttributeAsDate, getAttributeAsString, getAttributeAsType, getEmail, getFirstName, getGender, getLocale, getUsername, 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
-
FacebookProfile
public FacebookProfile()
-
-
Method Details
-
getFamilyName
- Overrides:
getFamilyNamein classorg.pac4j.core.profile.CommonProfile
-
getDisplayName
- Overrides:
getDisplayNamein classorg.pac4j.core.profile.CommonProfile
-
getPictureUrl
- Overrides:
getPictureUrlin classorg.pac4j.core.profile.CommonProfile
-
getProfileUrl
- Overrides:
getProfileUrlin classorg.pac4j.core.profile.CommonProfile
-
getLocation
- Overrides:
getLocationin classorg.pac4j.core.profile.CommonProfile
-
getMiddleName
getMiddleName.
- Returns:
- a
Stringobject
-
getLanguages
getLanguages.
- Returns:
- a
Listobject
-
getThirdPartyId
getThirdPartyId.
- Returns:
- a
Stringobject
-
getTimezone
getTimezone.
- Returns:
- a
Integerobject
-
getUpdateTime
getUpdateTime.
- Returns:
- a
Dateobject
-
getVerified
getVerified.
- Returns:
- a
Booleanobject
-
getAbout
getAbout.
- Returns:
- a
Stringobject
-
getBirthday
getBirthday.
- Returns:
- a
Dateobject
-
getEducation
getEducation.
- Returns:
- a
Listobject
-
getHometown
getHometown.
- Returns:
- a
FacebookObjectobject
-
getInterestedIn
getInterestedIn.
- Returns:
- a
Listobject
-
getLocationObject
getLocationObject.
- Returns:
- a
FacebookObjectobject
-
getPolitical
getPolitical.
- Returns:
- a
Stringobject
-
getFavoriteAthletes
getFavoriteAthletes.
- Returns:
- a
Listobject
-
getFavoriteTeams
getFavoriteTeams.
- Returns:
- a
Listobject
-
getQuotes
getQuotes.
- Returns:
- a
Stringobject
-
getRelationshipStatus
getRelationshipStatus.
- Returns:
- a
FacebookRelationshipStatusobject
-
getReligion
getReligion.
- Returns:
- a
Stringobject
-
getSignificantOther
getSignificantOther.
- Returns:
- a
FacebookObjectobject
-
getWebsite
getWebsite.
- Returns:
- a
Stringobject
-
getWork
getWork.
- Returns:
- a
Listobject
-
getFriends
getFriends.
- Returns:
- a
Listobject
-
getMovies
getMovies.
- Returns:
- a
Listobject
-
getMusic
getMusic.
- Returns:
- a
Listobject
-
getBooks
getBooks.
- Returns:
- a
Listobject
-
getLikes
getLikes.
- Returns:
- a
Listobject
-
getAlbums
getAlbums.
- Returns:
- a
Listobject
-
getEvents
getEvents.
- Returns:
- a
Listobject
-
getGroups
getGroups.
- Returns:
- a
Listobject
-
getMusicListens
getMusicListens.
- Returns:
- a
Listobject
-
getPicture
getPicture.
- Returns:
- a
FacebookPictureobject
-