spring-social-github

org.springframework.social.github.config.annotation
Annotation Type EnableGitHub


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Inherited
@Import(value=GitHubProviderConfigRegistrar.class)
public @interface EnableGitHub

Annotation to enable Github in a Spring Social application. Configures a GitHubConnectionFactory bean (and a ConnectionFactoryLocator bean if one isn't already registered). Also configures a request-scoped GitHub bean fetched from the current user's ConnectionRepository.

Author:
Craig Walls

Required Element Summary
 java.lang.String appId
          The application's App ID as issued by GitHub.
 java.lang.String appSecret
          The application's App Secret as issued by GitHub.
 

Element Detail

appId

public abstract java.lang.String appId
The application's App ID as issued by GitHub.


appSecret

public abstract java.lang.String appSecret
The application's App Secret as issued by GitHub.


spring-social-github