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
-
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, setRefreshToken
Methods inherited from class org.pac4j.core.profile.CommonProfile
getAttributeAsDate, getAttributeAsString, getAttributeAsType, getEmail, getFirstName, getGender, getLocale, getUsername, 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
-
FacebookProfile
public FacebookProfile()
-
-
Method Details
-
getFamilyName
- Overrides:
getFamilyName
in classorg.pac4j.core.profile.CommonProfile
-
getDisplayName
- Overrides:
getDisplayName
in classorg.pac4j.core.profile.CommonProfile
-
getPictureUrl
- Overrides:
getPictureUrl
in classorg.pac4j.core.profile.CommonProfile
-
getProfileUrl
- Overrides:
getProfileUrl
in classorg.pac4j.core.profile.CommonProfile
-
getLocation
- Overrides:
getLocation
in classorg.pac4j.core.profile.CommonProfile
-
getMiddleName
getMiddleName.
- Returns:
- a
String
object
-
getLanguages
getLanguages.
- Returns:
- a
List
object
-
getThirdPartyId
getThirdPartyId.
- Returns:
- a
String
object
-
getTimezone
getTimezone.
- Returns:
- a
Integer
object
-
getUpdateTime
getUpdateTime.
- Returns:
- a
Date
object
-
getVerified
getVerified.
- Returns:
- a
Boolean
object
-
getAbout
getAbout.
- Returns:
- a
String
object
-
getBirthday
getBirthday.
- Returns:
- a
Date
object
-
getEducation
getEducation.
- Returns:
- a
List
object
-
getHometown
getHometown.
- Returns:
- a
FacebookObject
object
-
getInterestedIn
getInterestedIn.
- Returns:
- a
List
object
-
getLocationObject
getLocationObject.
- Returns:
- a
FacebookObject
object
-
getPolitical
getPolitical.
- Returns:
- a
String
object
-
getFavoriteAthletes
getFavoriteAthletes.
- Returns:
- a
List
object
-
getFavoriteTeams
getFavoriteTeams.
- Returns:
- a
List
object
-
getQuotes
getQuotes.
- Returns:
- a
String
object
-
getRelationshipStatus
getRelationshipStatus.
- Returns:
- a
FacebookRelationshipStatus
object
-
getReligion
getReligion.
- Returns:
- a
String
object
-
getSignificantOther
getSignificantOther.
- Returns:
- a
FacebookObject
object
-
getWebsite
getWebsite.
- Returns:
- a
String
object
-
getWork
getWork.
- Returns:
- a
List
object
-
getFriends
getFriends.
- Returns:
- a
List
object
-
getMovies
getMovies.
- Returns:
- a
List
object
-
getMusic
getMusic.
- Returns:
- a
List
object
-
getBooks
getBooks.
- Returns:
- a
List
object
-
getLikes
getLikes.
- Returns:
- a
List
object
-
getAlbums
getAlbums.
- Returns:
- a
List
object
-
getEvents
getEvents.
- Returns:
- a
List
object
-
getGroups
getGroups.
- Returns:
- a
List
object
-
getMusicListens
getMusicListens.
- Returns:
- a
List
object
-
getPicture
getPicture.
- Returns:
- a
FacebookPicture
object
-