Class GithubUserInfo
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.github.GithubUserInfo
- All Implemented Interfaces:
Cloneable,Map<String,,Object> OpenIDUserInfo
public class GithubUserInfo
extends com.google.api.client.json.GenericJson
implements OpenIDUserInfo
Github user info
- Since:
- 5.9.5
- Author:
- Arnaud Kervern
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.FlagsNested 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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, set, setFactory, toPrettyString, toStringMethods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysMethods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
subject
-
name
-
givenName
-
familyName
-
middleName
-
nickname
-
preferredUsername
-
profile
-
picture
-
website
-
email
-
emailVerified
protected boolean emailVerified -
gender
-
birthdate
-
zoneInfo
-
locale
-
phoneNumber
-
address
-
updatedTime
-
bio
-
blog
-
company
-
login
-
-
Constructor Details
-
GithubUserInfo
public GithubUserInfo()
-
-
Method Details
-
getSubject
- Specified by:
getSubjectin interfaceOpenIDUserInfo- Returns:
- Subject - Identifier for the End-User at the Issuer.
-
getName
- Specified by:
getNamein interfaceOpenIDUserInfo- Returns:
- End-User's full name in displayable form including all name parts, ordered according to End-User's locale and preferences
-
getMiddleName
- Specified by:
getMiddleNamein interfaceOpenIDUserInfo- Returns:
- Middle name of the End-User.
-
getPreferredUsername
- Specified by:
getPreferredUsernamein interfaceOpenIDUserInfo- Returns:
- Shorthand name that the End-User wishes to be referred to.
-
getProfile
- Specified by:
getProfilein interfaceOpenIDUserInfo- Returns:
- URL of the End-User's profile page.
-
getPicture
- Specified by:
getPicturein interfaceOpenIDUserInfo- Returns:
- URL of the End-User's profile picture.
-
getWebsite
- Specified by:
getWebsitein interfaceOpenIDUserInfo- Returns:
- URL of the End-User's web page or blog.
-
getEmail
- Specified by:
getEmailin interfaceOpenIDUserInfo- Returns:
- End-User's preferred e-mail address.
-
isEmailVerified
public boolean isEmailVerified()- Specified by:
isEmailVerifiedin interfaceOpenIDUserInfo- Returns:
- True if the End-User's e-mail address has been verified; otherwise false.
-
getGender
- Specified by:
getGenderin interfaceOpenIDUserInfo- Returns:
- End-User's gender. (female or male).
-
getBirthdate
- Specified by:
getBirthdatein interfaceOpenIDUserInfo- Returns:
- End-User's birthday
-
getZoneInfo
- Specified by:
getZoneInfoin interfaceOpenIDUserInfo- Returns:
- String from zoneinfo time zone database representing the End-User's time zone.
-
getLocale
- Specified by:
getLocalein interfaceOpenIDUserInfo- Returns:
- End-User's locale.
-
getPhoneNumber
- Specified by:
getPhoneNumberin interfaceOpenIDUserInfo- Returns:
- End-User's preferred telephone number.
-
getAddress
- Specified by:
getAddressin interfaceOpenIDUserInfo- Returns:
- End-User's preferred address.
-
getUpdatedTime
- Specified by:
getUpdatedTimein interfaceOpenIDUserInfo- Returns:
- Time the End-User's information was last updated.
-
getGivenName
- Specified by:
getGivenNamein interfaceOpenIDUserInfo- Returns:
- Given name or first name of the End-User.
-
getFamilyName
- Specified by:
getFamilyNamein interfaceOpenIDUserInfo- Returns:
- Surname or last name of the End-User.
-
getNickname
- Specified by:
getNicknamein interfaceOpenIDUserInfo- Returns:
- Casual name of the End-User that may or may not be the same as the given_name.
-
getBlog
-
getBio
-
getCompany
-
getLogin
-
splitNameField
-