Class DefaultOpenIDUserInfo

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
All Implemented Interfaces:
Cloneable, Map<String,Object>, OpenIDUserInfo
Direct Known Subclasses:
FacebookUserInfo, GoogleUserInfo

public class DefaultOpenIDUserInfo extends com.google.api.client.json.GenericJson implements OpenIDUserInfo
  • Field Details

    • subject

      protected String subject
    • name

      protected String name
    • givenName

      protected String givenName
    • familyName

      protected String familyName
    • middleName

      protected String middleName
    • nickname

      protected String nickname
    • preferredUsername

      protected String preferredUsername
    • profile

      protected String profile
    • picture

      protected String picture
    • website

      protected String website
    • email

      protected String email
    • emailVerified

      protected boolean emailVerified
    • gender

      protected String gender
    • birthdate

      protected Date birthdate
    • zoneInfo

      protected String zoneInfo
    • locale

      protected String locale
    • phoneNumber

      protected String phoneNumber
    • address

      protected String address
    • updatedTime

      protected String updatedTime
  • Constructor Details

    • DefaultOpenIDUserInfo

      public DefaultOpenIDUserInfo()
  • Method Details

    • getSubject

      public String getSubject()
      Specified by:
      getSubject in interface OpenIDUserInfo
      Returns:
      Subject - Identifier for the End-User at the Issuer.
    • getName

      public String getName()
      Specified by:
      getName in interface OpenIDUserInfo
      Returns:
      End-User's full name in displayable form including all name parts, ordered according to End-User's locale and preferences
    • getGivenName

      public String getGivenName()
      Specified by:
      getGivenName in interface OpenIDUserInfo
      Returns:
      Given name or first name of the End-User.
    • getFamilyName

      public String getFamilyName()
      Specified by:
      getFamilyName in interface OpenIDUserInfo
      Returns:
      Surname or last name of the End-User.
    • getMiddleName

      public String getMiddleName()
      Specified by:
      getMiddleName in interface OpenIDUserInfo
      Returns:
      Middle name of the End-User.
    • getNickname

      public String getNickname()
      Specified by:
      getNickname in interface OpenIDUserInfo
      Returns:
      Casual name of the End-User that may or may not be the same as the given_name.
    • getPreferredUsername

      public String getPreferredUsername()
      Specified by:
      getPreferredUsername in interface OpenIDUserInfo
      Returns:
      Shorthand name that the End-User wishes to be referred to.
    • getProfile

      public String getProfile()
      Specified by:
      getProfile in interface OpenIDUserInfo
      Returns:
      URL of the End-User's profile page.
    • getPicture

      public String getPicture()
      Specified by:
      getPicture in interface OpenIDUserInfo
      Returns:
      URL of the End-User's profile picture.
    • getWebsite

      public String getWebsite()
      Specified by:
      getWebsite in interface OpenIDUserInfo
      Returns:
      URL of the End-User's web page or blog.
    • getEmail

      public String getEmail()
      Specified by:
      getEmail in interface OpenIDUserInfo
      Returns:
      End-User's preferred e-mail address.
    • isEmailVerified

      public boolean isEmailVerified()
      Specified by:
      isEmailVerified in interface OpenIDUserInfo
      Returns:
      True if the End-User's e-mail address has been verified; otherwise false.
    • getGender

      public String getGender()
      Specified by:
      getGender in interface OpenIDUserInfo
      Returns:
      End-User's gender. (female or male).
    • getBirthdate

      public Date getBirthdate()
      Specified by:
      getBirthdate in interface OpenIDUserInfo
      Returns:
      End-User's birthday
    • getZoneInfo

      public String getZoneInfo()
      Specified by:
      getZoneInfo in interface OpenIDUserInfo
      Returns:
      String from zoneinfo time zone database representing the End-User's time zone.
    • getLocale

      public String getLocale()
      Specified by:
      getLocale in interface OpenIDUserInfo
      Returns:
      End-User's locale.
    • getPhoneNumber

      public String getPhoneNumber()
      Specified by:
      getPhoneNumber in interface OpenIDUserInfo
      Returns:
      End-User's preferred telephone number.
    • getAddress

      public String getAddress()
      Specified by:
      getAddress in interface OpenIDUserInfo
      Returns:
      End-User's preferred address.
    • getUpdatedTime

      public Date getUpdatedTime()
      Specified by:
      getUpdatedTime in interface OpenIDUserInfo
      Returns:
      Time the End-User's information was last updated.