Class FacebookUserInfo
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- org.nuxeo.ecm.platform.oauth2.openid.auth.DefaultOpenIDUserInfo
-
- org.nuxeo.ecm.platform.oauth2.openid.auth.facebook.FacebookUserInfo
-
- All Implemented Interfaces:
Cloneable
,Map<String,Object>
,OpenIDUserInfo
public class FacebookUserInfo extends DefaultOpenIDUserInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description protected Date
birthday
protected String
firstName
protected String
id
protected String
link
protected boolean
verified
-
Fields inherited from class org.nuxeo.ecm.platform.oauth2.openid.auth.DefaultOpenIDUserInfo
address, birthdate, email, emailVerified, familyName, gender, givenName, locale, middleName, name, nickname, phoneNumber, picture, preferredUsername, profile, subject, updatedTime, website, zoneInfo
-
-
Constructor Summary
Constructors Constructor Description FacebookUserInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getBirthdate()
String
getGivenName()
String
getProfile()
String
getSubject()
Date
getUpdatedTime()
boolean
isEmailVerified()
-
Methods inherited from class org.nuxeo.ecm.platform.oauth2.openid.auth.DefaultOpenIDUserInfo
getAddress, getEmail, getFamilyName, getGender, getLocale, getMiddleName, getName, getNickname, getPhoneNumber, getPicture, getPreferredUsername, getWebsite, getZoneInfo
-
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, set, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
getSubject
public String getSubject()
- Specified by:
getSubject
in interfaceOpenIDUserInfo
- Overrides:
getSubject
in classDefaultOpenIDUserInfo
- Returns:
- Subject - Identifier for the End-User at the Issuer.
-
getGivenName
public String getGivenName()
- Specified by:
getGivenName
in interfaceOpenIDUserInfo
- Overrides:
getGivenName
in classDefaultOpenIDUserInfo
- Returns:
- Given name or first name of the End-User.
-
getProfile
public String getProfile()
- Specified by:
getProfile
in interfaceOpenIDUserInfo
- Overrides:
getProfile
in classDefaultOpenIDUserInfo
- Returns:
- URL of the End-User's profile page.
-
getBirthdate
public Date getBirthdate()
- Specified by:
getBirthdate
in interfaceOpenIDUserInfo
- Overrides:
getBirthdate
in classDefaultOpenIDUserInfo
- Returns:
- End-User's birthday
-
isEmailVerified
public boolean isEmailVerified()
- Specified by:
isEmailVerified
in interfaceOpenIDUserInfo
- Overrides:
isEmailVerified
in classDefaultOpenIDUserInfo
- Returns:
- True if the End-User's e-mail address has been verified; otherwise false.
-
getUpdatedTime
public Date getUpdatedTime()
- Specified by:
getUpdatedTime
in interfaceOpenIDUserInfo
- Overrides:
getUpdatedTime
in classDefaultOpenIDUserInfo
- Returns:
- Time the End-User's information was last updated.
-
-