Class TwitterProfile

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 TwitterProfile extends OAuth10Profile

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

It is returned by the TwitterClient.

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

    • TwitterProfile

      public TwitterProfile()
  • Method Details

    • 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
    • getContributorsEnabled

      public Boolean getContributorsEnabled()

      getContributorsEnabled.

      Returns:
      a Boolean object
    • getCreatedAt

      public Date getCreatedAt()

      getCreatedAt.

      Returns:
      a Date object
    • getDefaultProfile

      public Boolean getDefaultProfile()

      getDefaultProfile.

      Returns:
      a Boolean object
    • getDefaultProfileImage

      public Boolean getDefaultProfileImage()

      getDefaultProfileImage.

      Returns:
      a Boolean object
    • getDescription

      public String getDescription()

      getDescription.

      Returns:
      a String object
    • getFavouritesCount

      public Integer getFavouritesCount()

      getFavouritesCount.

      Returns:
      a Integer object
    • getFollowRequestSent

      public Boolean getFollowRequestSent()

      getFollowRequestSent.

      Returns:
      a Boolean object
    • getFollowersCount

      public Integer getFollowersCount()

      getFollowersCount.

      Returns:
      a Integer object
    • getFollowing

      public Boolean getFollowing()

      getFollowing.

      Returns:
      a Boolean object
    • getFriendsCount

      public Integer getFriendsCount()

      getFriendsCount.

      Returns:
      a Integer object
    • getGeoEnabled

      public Boolean getGeoEnabled()

      getGeoEnabled.

      Returns:
      a Boolean object
    • getIsTranslator

      public Boolean getIsTranslator()

      getIsTranslator.

      Returns:
      a Boolean object
    • getListedCount

      public Integer getListedCount()

      getListedCount.

      Returns:
      a Integer object
    • getNotifications

      public Boolean getNotifications()

      getNotifications.

      Returns:
      a Boolean object
    • getProfileBackgroundColor

      public org.pac4j.core.profile.Color getProfileBackgroundColor()

      getProfileBackgroundColor.

      Returns:
      a Color object
    • getProfileBackgroundImageUrl

      public URI getProfileBackgroundImageUrl()

      getProfileBackgroundImageUrl.

      Returns:
      a URI object
    • getProfileBackgroundImageUrlHttps

      public URI getProfileBackgroundImageUrlHttps()

      getProfileBackgroundImageUrlHttps.

      Returns:
      a URI object
    • getProfileBackgroundTile

      public Boolean getProfileBackgroundTile()

      getProfileBackgroundTile.

      Returns:
      a Boolean object
    • getProfileImageUrlHttps

      public URI getProfileImageUrlHttps()

      getProfileImageUrlHttps.

      Returns:
      a URI object
    • getProfileLinkColor

      public org.pac4j.core.profile.Color getProfileLinkColor()

      getProfileLinkColor.

      Returns:
      a Color object
    • getProfileSidebarBorderColor

      public org.pac4j.core.profile.Color getProfileSidebarBorderColor()

      getProfileSidebarBorderColor.

      Returns:
      a Color object
    • getProfileSidebarFillColor

      public org.pac4j.core.profile.Color getProfileSidebarFillColor()

      getProfileSidebarFillColor.

      Returns:
      a Color object
    • getProfileTextColor

      public org.pac4j.core.profile.Color getProfileTextColor()

      getProfileTextColor.

      Returns:
      a Color object
    • getProfileUseBackgroundImage

      public Boolean getProfileUseBackgroundImage()

      getProfileUseBackgroundImage.

      Returns:
      a Boolean object
    • getProtected

      public Boolean getProtected()

      getProtected.

      Returns:
      a Boolean object
    • getShowAllInlineMedia

      public Boolean getShowAllInlineMedia()

      getShowAllInlineMedia.

      Returns:
      a Boolean object
    • getStatusesCount

      public Integer getStatusesCount()

      getStatusesCount.

      Returns:
      a Integer object
    • getTimeZone

      public String getTimeZone()

      getTimeZone.

      Returns:
      a String object
    • getUtcOffset

      public Integer getUtcOffset()

      getUtcOffset.

      Returns:
      a Integer object
    • getVerified

      public Boolean getVerified()

      getVerified.

      Returns:
      a Boolean object