org.springframework.social.gowalla.connect
Class GowallaServiceProvider

java.lang.Object
  extended by org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<GowallaApi>
      extended by org.springframework.social.gowalla.connect.GowallaServiceProvider
All Implemented Interfaces:
OAuth2ServiceProvider<GowallaApi>, ServiceProvider<GowallaApi>

public class GowallaServiceProvider
extends AbstractOAuth2ServiceProvider<GowallaApi>

Gowalla ServiceProvider implementation.


Constructor Summary
GowallaServiceProvider(java.lang.String clientId, java.lang.String clientSecret)
           
 
Method Summary
 GowallaApi getApi(java.lang.String accessToken)
          Returns an API interface allowing the client application to access protected resources on behalf of a user.
 
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
 

Constructor Detail

GowallaServiceProvider

public GowallaServiceProvider(java.lang.String clientId,
                              java.lang.String clientSecret)
Method Detail

getApi

public GowallaApi getApi(java.lang.String accessToken)
Description copied from interface: OAuth2ServiceProvider
Returns an API interface allowing the client application to access protected resources on behalf of a user.

Specified by:
getApi in interface OAuth2ServiceProvider<GowallaApi>
Specified by:
getApi in class AbstractOAuth2ServiceProvider<GowallaApi>
Parameters:
accessToken - the API access token
Returns:
a binding to the service provider's API