com.liferay.portal.oauth
Class OAuthFactoryImpl
java.lang.Object
com.liferay.portal.oauth.OAuthFactoryImpl
- All Implemented Interfaces:
- OAuthFactory
public class OAuthFactoryImpl
- extends Object
- implements OAuthFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthFactoryImpl
public OAuthFactoryImpl()
createOAuthManager
public OAuthManager createOAuthManager(String key,
String secret,
String accessURL,
String requestURL,
String callbackURL,
String scope)
throws OAuthException
- Specified by:
createOAuthManager
in interface OAuthFactory
- Throws:
OAuthException
createOAuthRequest
public OAuthRequest createOAuthRequest(Verb verb,
String url)
throws OAuthException
- Specified by:
createOAuthRequest
in interface OAuthFactory
- Throws:
OAuthException
createToken
public Token createToken(String token,
String secret)
throws OAuthException
- Specified by:
createToken
in interface OAuthFactory
- Throws:
OAuthException
createVerifier
public Verifier createVerifier(String verifier)
throws OAuthException
- Specified by:
createVerifier
in interface OAuthFactory
- Throws:
OAuthException