Liferay 6.1.2-ce-ga3

com.liferay.portal.oauth
Class OAuthManagerImpl

java.lang.Object
  extended by com.liferay.portal.oauth.OAuthManagerImpl
All Implemented Interfaces:
OAuthManager

public class OAuthManagerImpl
extends Object
implements OAuthManager


Constructor Summary
OAuthManagerImpl(String key, String secret, String accessURL, String requestURL, String callbackURL, String scope)
           
 
Method Summary
 Token getAccessToken(Token requestToken, Verifier verifier)
           
 Token getRequestToken()
           
 String getVersion()
           
 void signRequest(Token accessToken, OAuthRequest oAuthRequest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthManagerImpl

public OAuthManagerImpl(String key,
                        String secret,
                        String accessURL,
                        String requestURL,
                        String callbackURL,
                        String scope)
Method Detail

getAccessToken

public Token getAccessToken(Token requestToken,
                            Verifier verifier)
                     throws OAuthException
Specified by:
getAccessToken in interface OAuthManager
Throws:
OAuthException

getRequestToken

public Token getRequestToken()
                      throws OAuthException
Specified by:
getRequestToken in interface OAuthManager
Throws:
OAuthException

getVersion

public String getVersion()
                  throws OAuthException
Specified by:
getVersion in interface OAuthManager
Throws:
OAuthException

signRequest

public void signRequest(Token accessToken,
                        OAuthRequest oAuthRequest)
                 throws OAuthException
Specified by:
signRequest in interface OAuthManager
Throws:
OAuthException

Liferay 6.1.2-ce-ga3