Liferay 6.2-ce-ga5

com.liferay.portal.kernel.oauth
Class OAuthFactoryUtil

java.lang.Object
  extended by com.liferay.portal.kernel.oauth.OAuthFactoryUtil

public class OAuthFactoryUtil
extends Object


Constructor Summary
OAuthFactoryUtil()
           
 
Method Summary
static OAuthManager createOAuthManager(String key, String secret, String accessURL, String requestURL, String callbackURL, String scope)
           
static OAuthRequest createOAuthRequest(Verb verb, String url)
           
static Token createToken(String token, String secret)
           
static Verifier createVerifier(String verifier)
           
static OAuthFactory getOAuthFactory()
           
 void setOAuthFactory(OAuthFactory oAuthFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthFactoryUtil

public OAuthFactoryUtil()
Method Detail

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)

Liferay 6.2-ce-ga5