com.liferay.portal.oauth
Class OAuthManagerImpl
java.lang.Object
com.liferay.portal.oauth.OAuthManagerImpl
- All Implemented Interfaces:
- OAuthManager
public class OAuthManagerImpl
- extends Object
- implements OAuthManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthManagerImpl
public OAuthManagerImpl(String key,
String secret,
String accessURL,
String requestURL,
String callbackURL,
String scope)
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