org.springframework.social.evernote.connect
Class EvernoteConnectionFactory

java.lang.Object
  extended by org.springframework.social.connect.ConnectionFactory<A>
      extended by org.springframework.social.connect.support.OAuth1ConnectionFactory<Evernote>
          extended by org.springframework.social.evernote.connect.EvernoteConnectionFactory
Direct Known Subclasses:
EvernoteProductionConnectionFactory, EvernoteSandboxConnectionFactory, EvernoteYinXiangConnectionFactory

public class EvernoteConnectionFactory
extends org.springframework.social.connect.support.OAuth1ConnectionFactory<Evernote>

Author:
Tadaya Tsuyukubo

Constructor Summary
EvernoteConnectionFactory(String consumerKey, String consumerSecret)
           
EvernoteConnectionFactory(String consumerKey, String consumerSecret, com.evernote.auth.EvernoteService evernoteService)
           
EvernoteConnectionFactory(String consumerKey, String consumerSecret, com.evernote.auth.EvernoteService evernoteService, String providerId)
           
 
Method Summary
 org.springframework.social.connect.Connection<Evernote> createConnection(org.springframework.social.connect.ConnectionData data)
           
 org.springframework.social.connect.Connection<Evernote> createConnection(org.springframework.social.oauth1.OAuthToken accessToken)
           
protected  String extractProviderUserId(org.springframework.social.oauth1.OAuthToken accessToken)
           
 com.evernote.auth.EvernoteService getEvernoteService()
           
 
Methods inherited from class org.springframework.social.connect.support.OAuth1ConnectionFactory
getOAuthOperations
 
Methods inherited from class org.springframework.social.connect.ConnectionFactory
getApiAdapter, getProviderId, getServiceProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvernoteConnectionFactory

public EvernoteConnectionFactory(String consumerKey,
                                 String consumerSecret)

EvernoteConnectionFactory

public EvernoteConnectionFactory(String consumerKey,
                                 String consumerSecret,
                                 com.evernote.auth.EvernoteService evernoteService)

EvernoteConnectionFactory

public EvernoteConnectionFactory(String consumerKey,
                                 String consumerSecret,
                                 com.evernote.auth.EvernoteService evernoteService,
                                 String providerId)
Method Detail

getEvernoteService

public com.evernote.auth.EvernoteService getEvernoteService()

createConnection

public org.springframework.social.connect.Connection<Evernote> createConnection(org.springframework.social.oauth1.OAuthToken accessToken)
Overrides:
createConnection in class org.springframework.social.connect.support.OAuth1ConnectionFactory<Evernote>

createConnection

public org.springframework.social.connect.Connection<Evernote> createConnection(org.springframework.social.connect.ConnectionData data)
Overrides:
createConnection in class org.springframework.social.connect.support.OAuth1ConnectionFactory<Evernote>

extractProviderUserId

protected String extractProviderUserId(org.springframework.social.oauth1.OAuthToken accessToken)
Overrides:
extractProviderUserId in class org.springframework.social.connect.support.OAuth1ConnectionFactory<Evernote>


Copyright © 2014. All Rights Reserved.