org.springframework.social.twitter.connect
Class TwitterServiceProvider
java.lang.Object
org.springframework.social.oauth1.AbstractOAuth1ServiceProvider<Twitter>
org.springframework.social.twitter.connect.TwitterServiceProvider
- All Implemented Interfaces:
- org.springframework.social.oauth1.OAuth1ServiceProvider<Twitter>, org.springframework.social.ServiceProvider<Twitter>
public class TwitterServiceProvider
- extends org.springframework.social.oauth1.AbstractOAuth1ServiceProvider<Twitter>
Twitter ServiceProvider implementation.
Methods inherited from class org.springframework.social.oauth1.AbstractOAuth1ServiceProvider |
getConsumerKey, getConsumerSecret, getOAuthOperations |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TwitterServiceProvider
public TwitterServiceProvider(String consumerKey,
String consumerSecret)
getApi
public Twitter getApi(String accessToken,
String secret)
- Specified by:
getApi
in interface org.springframework.social.oauth1.OAuth1ServiceProvider<Twitter>
- Specified by:
getApi
in class org.springframework.social.oauth1.AbstractOAuth1ServiceProvider<Twitter>