Class GitHubProfile

java.lang.Object
org.pac4j.core.profile.BasicUserProfile
org.pac4j.core.profile.CommonProfile
org.pac4j.oauth.profile.OAuth20Profile
org.pac4j.oauth.profile.github.GitHubProfile
All Implemented Interfaces:
Externalizable, 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:
  • Constructor Details

    • GitHubProfile

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

      public String getCompany()
    • getFollowing

      public Integer getFollowing()
    • getBlog

      public String getBlog()
    • getPublicRepos

      public Integer getPublicRepos()
    • getPublicGists

      public Integer getPublicGists()
    • getDiskUsage

      public Integer getDiskUsage()
    • getCollaborators

      public Integer getCollaborators()
    • getPlan

      public GitHubPlan getPlan()
    • getOwnedPrivateRepos

      public Integer getOwnedPrivateRepos()
    • getTotalPrivateRepos

      public Integer getTotalPrivateRepos()
    • getPrivateGists

      public Integer getPrivateGists()
    • getFollowers

      public Integer getFollowers()
    • getCreatedAt

      public Date getCreatedAt()
    • getUpdatedAt

      public Date getUpdatedAt()
    • getType

      public String getType()
    • getGravatarId

      public String getGravatarId()
    • getUrl

      public String getUrl()
    • getHireable

      public Boolean getHireable()
    • getBio

      public String getBio()