Class TwitterProfile

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.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:
    Serialized Form
    • Constructor Detail

      • TwitterProfile

        public TwitterProfile()
    • Method Detail

      • getDisplayName

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

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

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

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

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

        public java.lang.Boolean getContributorsEnabled()
      • getCreatedAt

        public java.util.Date getCreatedAt()
      • getDefaultProfile

        public java.lang.Boolean getDefaultProfile()
      • getDefaultProfileImage

        public java.lang.Boolean getDefaultProfileImage()
      • getDescription

        public java.lang.String getDescription()
      • getFavouritesCount

        public java.lang.Integer getFavouritesCount()
      • getFollowRequestSent

        public java.lang.Boolean getFollowRequestSent()
      • getFollowersCount

        public java.lang.Integer getFollowersCount()
      • getFollowing

        public java.lang.Boolean getFollowing()
      • getFriendsCount

        public java.lang.Integer getFriendsCount()
      • getGeoEnabled

        public java.lang.Boolean getGeoEnabled()
      • getIsTranslator

        public java.lang.Boolean getIsTranslator()
      • getListedCount

        public java.lang.Integer getListedCount()
      • getNotifications

        public java.lang.Boolean getNotifications()
      • getProfileBackgroundColor

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

        public java.net.URI getProfileBackgroundImageUrl()
      • getProfileBackgroundImageUrlHttps

        public java.net.URI getProfileBackgroundImageUrlHttps()
      • getProfileBackgroundTile

        public java.lang.Boolean getProfileBackgroundTile()
      • getProfileImageUrlHttps

        public java.net.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 java.lang.Boolean getProfileUseBackgroundImage()
      • getProtected

        public java.lang.Boolean getProtected()
      • getShowAllInlineMedia

        public java.lang.Boolean getShowAllInlineMedia()
      • getStatusesCount

        public java.lang.Integer getStatusesCount()
      • getTimeZone

        public java.lang.String getTimeZone()
      • getUtcOffset

        public java.lang.Integer getUtcOffset()
      • getVerified

        public java.lang.Boolean getVerified()