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
-
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
Modifier and TypeFieldDescriptionprotected Date
protected String
protected String
protected String
protected boolean
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
Field Details
-
id
-
firstName
-
link
-
birthday
-
verified
protected boolean verified
-
-
Constructor Details
-
FacebookUserInfo
public FacebookUserInfo()
-
-
Method Details
-
getSubject
- Specified by:
getSubject
in interfaceOpenIDUserInfo
- Overrides:
getSubject
in classDefaultOpenIDUserInfo
- Returns:
- Subject - Identifier for the End-User at the Issuer.
-
getGivenName
- Specified by:
getGivenName
in interfaceOpenIDUserInfo
- Overrides:
getGivenName
in classDefaultOpenIDUserInfo
- Returns:
- Given name or first name of the End-User.
-
getProfile
- Specified by:
getProfile
in interfaceOpenIDUserInfo
- Overrides:
getProfile
in classDefaultOpenIDUserInfo
- Returns:
- URL of the End-User's profile page.
-
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
- Specified by:
getUpdatedTime
in interfaceOpenIDUserInfo
- Overrides:
getUpdatedTime
in classDefaultOpenIDUserInfo
- Returns:
- Time the End-User's information was last updated.
-