spring-social-github

org.springframework.social.github.connect
Class GitHubServiceProvider

java.lang.Object
  extended by org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<GitHub>
      extended by org.springframework.social.github.connect.GitHubServiceProvider
All Implemented Interfaces:
org.springframework.social.oauth2.OAuth2ServiceProvider<GitHub>, org.springframework.social.ServiceProvider<GitHub>

public class GitHubServiceProvider
extends org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<GitHub>

Github ServiceProvider implementation.

Author:
Keith Donald

Constructor Summary
GitHubServiceProvider(java.lang.String clientId, java.lang.String clientSecret)
           
 
Method Summary
 GitHub getApi(java.lang.String accessToken)
           
 
Methods inherited from class org.springframework.social.oauth2.AbstractOAuth2ServiceProvider
getOAuthOperations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GitHubServiceProvider

public GitHubServiceProvider(java.lang.String clientId,
                             java.lang.String clientSecret)
Method Detail

getApi

public GitHub getApi(java.lang.String accessToken)
Specified by:
getApi in interface org.springframework.social.oauth2.OAuth2ServiceProvider<GitHub>
Specified by:
getApi in class org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<GitHub>

spring-social-github