com.liferay.portal.kernel.oauth
Class OAuthFactoryUtil
java.lang.Object
com.liferay.portal.kernel.oauth.OAuthFactoryUtil
public class OAuthFactoryUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthFactoryUtil
public OAuthFactoryUtil()
createOAuthManager
public static OAuthManager createOAuthManager(String key,
String secret,
String accessURL,
String requestURL,
String callbackURL,
String scope)
throws OAuthException
- Throws:
OAuthException
createOAuthRequest
public static OAuthRequest createOAuthRequest(Verb verb,
String url)
throws OAuthException
- Throws:
OAuthException
createToken
public static Token createToken(String token,
String secret)
throws OAuthException
- Throws:
OAuthException
createVerifier
public static Verifier createVerifier(String verifier)
throws OAuthException
- Throws:
OAuthException
getOAuthFactory
public static OAuthFactory getOAuthFactory()
setOAuthFactory
public void setOAuthFactory(OAuthFactory oAuthFactory)