Class GitHubProfile

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, org.pac4j.core.profile.UserProfile

    public class GitHubProfile
    extends OAuth20Profile

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

    It is returned by the GitHubClient.

    Since:
    1.1.0
    Author:
    Jerome Leleu
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.pac4j.core.profile.BasicUserProfile

        logger
    • Constructor Summary

      Constructors 
      Constructor Description
      GitHubProfile()  
    • Constructor Detail

      • GitHubProfile

        public GitHubProfile()
    • 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
      • 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
      • getCompany

        public java.lang.String getCompany()
      • getFollowing

        public java.lang.Integer getFollowing()
      • getBlog

        public java.lang.String getBlog()
      • getPublicRepos

        public java.lang.Integer getPublicRepos()
      • getPublicGists

        public java.lang.Integer getPublicGists()
      • getDiskUsage

        public java.lang.Integer getDiskUsage()
      • getCollaborators

        public java.lang.Integer getCollaborators()
      • getOwnedPrivateRepos

        public java.lang.Integer getOwnedPrivateRepos()
      • getTotalPrivateRepos

        public java.lang.Integer getTotalPrivateRepos()
      • getPrivateGists

        public java.lang.Integer getPrivateGists()
      • getFollowers

        public java.lang.Integer getFollowers()
      • getCreatedAt

        public java.util.Date getCreatedAt()
      • getUpdatedAt

        public java.util.Date getUpdatedAt()
      • getType

        public java.lang.String getType()
      • getGravatarId

        public java.lang.String getGravatarId()
      • getUrl

        public java.lang.String getUrl()
      • getHireable

        public java.lang.Boolean getHireable()
      • getBio

        public java.lang.String getBio()