spring-social-github

org.springframework.social.github.connect
Class GitHubConnectionFactory

java.lang.Object
  extended by org.springframework.social.connect.ConnectionFactory<S>
      extended by org.springframework.social.connect.support.OAuth2ConnectionFactory<GitHub>
          extended by org.springframework.social.github.connect.GitHubConnectionFactory

public class GitHubConnectionFactory
extends org.springframework.social.connect.support.OAuth2ConnectionFactory<GitHub>

Github ConnectionFactory implementation.

Author:
Keith Donald

Constructor Summary
GitHubConnectionFactory(java.lang.String clientId, java.lang.String clientSecret)
          Creates a factory for GitHub connections.
 
Method Summary
 
Methods inherited from class org.springframework.social.connect.support.OAuth2ConnectionFactory
createConnection, createConnection, extractProviderUserId, generateState, getOAuthOperations, getScope, setScope, supportsStateParameter
 
Methods inherited from class org.springframework.social.connect.ConnectionFactory
getApiAdapter, getProviderId, getServiceProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GitHubConnectionFactory

public GitHubConnectionFactory(java.lang.String clientId,
                               java.lang.String clientSecret)
Creates a factory for GitHub connections.

Parameters:
clientId - client ID
clientSecret - client secret

spring-social-github