
com.googlecode.googleplus.core.GooglePlusConnectionFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-plus-java-api Show documentation
Show all versions of google-plus-java-api Show documentation
A Java client for the Google+ API
The newest version!
package com.googlecode.googleplus.core;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;
import com.googlecode.googleplus.GooglePlusFactory;
import com.googlecode.googleplus.Plus;
/**
* For use in accordance with Section 2.2.3 ConnectionFactory instances of Spring Social documentation.
*
* When providing scopes, supply URLs from https://www.googleapis.com/discovery/v1/apis/oauth2/v2/rest?fields=auth(oauth2(scopes))
*
*/
public class GooglePlusConnectionFactory extends OAuth2ConnectionFactory {
public GooglePlusConnectionFactory(String clientId, String consumerSecret) {
super("googleplus", new GooglePlusFactory(clientId, consumerSecret), new GooglePlusAdapter());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy