Class GitHubClient

  • All Implemented Interfaces:
    Client<OAuth20Credentials>

    public class GitHubClient
    extends OAuth20Client

    This class is the OAuth client to authenticate users in GitHub.

    The scope can be defined to require specific permissions from the user by using the setScope(String) method. By default, the scope is: user.

    It returns a GitHubProfile.

    More information at http://developer.github.com/v3/users/

    Since:
    1.0.0
    Author:
    Jerome Leleu