org.springframework.social.evernote.connect
Class EvernoteServiceProvider

java.lang.Object
  extended by org.springframework.social.oauth1.AbstractOAuth1ServiceProvider<Evernote>
      extended by 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

Constructor Summary
EvernoteServiceProvider(String consumerKey, String consumerSecret)
           
EvernoteServiceProvider(String consumerKey, String consumerSecret, com.evernote.auth.EvernoteService evernoteService)
           
 
Method Summary
 Evernote getApi(EvernoteOAuthToken accessToken)
           
 Evernote getApi(String accessToken, String secret)
           
 void setEvernoteService(com.evernote.auth.EvernoteService evernoteService)
           
 
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
 

Constructor Detail

EvernoteServiceProvider

public EvernoteServiceProvider(String consumerKey,
                               String consumerSecret)

EvernoteServiceProvider

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

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.