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()
    • getCreatedAt

      public Date getCreatedAt()
    • getDefaultProfile

      public Boolean getDefaultProfile()
    • getDefaultProfileImage

      public Boolean getDefaultProfileImage()
    • getDescription

      public String getDescription()
    • getFavouritesCount

      public Integer getFavouritesCount()
    • getFollowRequestSent

      public Boolean getFollowRequestSent()
    • getFollowersCount

      public Integer getFollowersCount()
    • getFollowing

      public Boolean getFollowing()
    • getFriendsCount

      public Integer getFriendsCount()
    • getGeoEnabled

      public Boolean getGeoEnabled()
    • getIsTranslator

      public Boolean getIsTranslator()
    • getListedCount

      public Integer getListedCount()
    • getNotifications

      public Boolean getNotifications()
    • getProfileBackgroundColor

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

      public URI getProfileBackgroundImageUrl()
    • getProfileBackgroundImageUrlHttps

      public URI getProfileBackgroundImageUrlHttps()
    • getProfileBackgroundTile

      public Boolean getProfileBackgroundTile()
    • getProfileImageUrlHttps

      public URI getProfileImageUrlHttps()
    • getProfileLinkColor

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

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

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

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

      public Boolean getProfileUseBackgroundImage()
    • getProtected

      public Boolean getProtected()
    • getShowAllInlineMedia

      public Boolean getShowAllInlineMedia()
    • getStatusesCount

      public Integer getStatusesCount()
    • getTimeZone

      public String getTimeZone()
    • getUtcOffset

      public Integer getUtcOffset()
    • getVerified

      public Boolean getVerified()