org.springframework.social.evernote.connect
Class EvernoteServiceProvider
java.lang.Object
org.springframework.social.oauth1.AbstractOAuth1ServiceProvider<Evernote>
org.springframework.social.evernote.connect.EvernoteServiceProvider
- All Implemented Interfaces:
- org.springframework.social.oauth1.OAuth1ServiceProvider<Evernote>, org.springframework.social.ServiceProvider<Evernote>
public class EvernoteServiceProvider
- extends org.springframework.social.oauth1.AbstractOAuth1ServiceProvider<Evernote>
- Author:
- Tadaya Tsuyukubo
| 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 |
EvernoteServiceProvider
public EvernoteServiceProvider(String consumerKey,
String consumerSecret)
EvernoteServiceProvider
public EvernoteServiceProvider(String consumerKey,
String consumerSecret,
com.evernote.auth.EvernoteService evernoteService)
getApi
public Evernote getApi(String accessToken,
String secret)
- Specified by:
getApi in interface org.springframework.social.oauth1.OAuth1ServiceProvider<Evernote>- Specified by:
getApi in class org.springframework.social.oauth1.AbstractOAuth1ServiceProvider<Evernote>
getApi
public Evernote getApi(EvernoteOAuthToken accessToken)
setEvernoteService
public void setEvernoteService(com.evernote.auth.EvernoteService evernoteService)
Copyright © 2014. All Rights Reserved.