com.googlecode.googleplus
Class GooglePlusFactory
java.lang.Object
org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<Plus>
com.googlecode.googleplus.GooglePlusFactory
- All Implemented Interfaces:
- org.springframework.social.oauth2.OAuth2ServiceProvider<Plus>, org.springframework.social.ServiceProvider<Plus>
public class GooglePlusFactory
- extends org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<Plus>
Suitable for direct use - if you are using Spring Social configuration builder see GooglePlusConnectionFactory.
| 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 |
GooglePlusFactory
public GooglePlusFactory(String clientId,
String clientSecret,
GooglePlusConfiguration config)
GooglePlusFactory
public GooglePlusFactory(String clientId,
String clientSecret)
getApi
@Deprecated
public Plus getApi(String accessToken)
- Deprecated. This method does not support token refreshing. Use getApi(accessToken, refreshToken, listener) instead.
- Specified by:
getApi in interface org.springframework.social.oauth2.OAuth2ServiceProvider<Plus>- Specified by:
getApi in class org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<Plus>
getApi
public Plus getApi(String accessToken,
String refreshToken,
OAuth2RefreshListener listener)
Copyright © 2014. All Rights Reserved.