Class YahooProfile

java.lang.Object
org.pac4j.core.profile.BasicUserProfile
org.pac4j.core.profile.CommonProfile
All Implemented Interfaces:
Externalizable, Serializable, org.pac4j.core.profile.UserProfile

public class YahooProfile extends OAuth10Profile

This class is the user profile for Yahoo with appropriate getters.

It is returned by the YahooClient.

Since:
1.1.0
Author:
Jerome Leleu
See Also:
  • Constructor Details

    • YahooProfile

      public YahooProfile()
  • Method Details

    • getEmail

      public String getEmail()
      Overrides:
      getEmail in class org.pac4j.core.profile.CommonProfile
    • getFirstName

      public String getFirstName()
      Overrides:
      getFirstName in class org.pac4j.core.profile.CommonProfile
    • getFamilyName

      public String getFamilyName()
      Overrides:
      getFamilyName in class org.pac4j.core.profile.CommonProfile
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class org.pac4j.core.profile.CommonProfile
    • getUsername

      public String getUsername()
      Specified by:
      getUsername in interface org.pac4j.core.profile.UserProfile
      Overrides:
      getUsername in class org.pac4j.core.profile.CommonProfile
    • getLocale

      public Locale getLocale()
      Overrides:
      getLocale in class org.pac4j.core.profile.CommonProfile
    • getPictureUrl

      public URI getPictureUrl()
      Overrides:
      getPictureUrl in class org.pac4j.core.profile.CommonProfile
    • getProfileUrl

      public URI getProfileUrl()
      Overrides:
      getProfileUrl in class org.pac4j.core.profile.CommonProfile
    • getAboutMe

      public String getAboutMe()

      getAboutMe.

      Returns:
      a String object
    • getAddresses

      public List<YahooAddress> getAddresses()

      getAddresses.

      Returns:
      a List object
    • getBirthYear

      public Integer getBirthYear()

      getBirthYear.

      Returns:
      a Integer object
    • getBirthdate

      public Date getBirthdate()

      getBirthdate.

      Returns:
      a Date object
    • getCreated

      public Date getCreated()

      getCreated.

      Returns:
      a Date object
    • getDisplayAge

      public Integer getDisplayAge()

      getDisplayAge.

      Returns:
      a Integer object
    • getDisclosures

      public List<YahooDisclosure> getDisclosures()

      getDisclosures.

      Returns:
      a List object
    • getEmails

      public List<YahooEmail> getEmails()

      getEmails.

      Returns:
      a List object
    • getImage

      public YahooImage getImage()

      getImage.

      Returns:
      a YahooImage object
    • getInterests

      public List<YahooInterest> getInterests()

      getInterests.

      Returns:
      a List object
    • getIsConnected

      public Boolean getIsConnected()

      getIsConnected.

      Returns:
      a Boolean object
    • getMemberSince

      public Date getMemberSince()

      getMemberSince.

      Returns:
      a Date object
    • getTimeZone

      public String getTimeZone()

      getTimeZone.

      Returns:
      a String object
    • getUpdated

      public Date getUpdated()

      getUpdated.

      Returns:
      a Date object
    • getUri

      public String getUri()

      getUri.

      Returns:
      a String object
    • getAgeCategory

      public String getAgeCategory()

      getAgeCategory.

      Returns:
      a String object