Liferay 6.2-ce-ga5

com.liferay.portal.oauth
Class OAuthFactoryImpl

java.lang.Object
  extended by com.liferay.portal.oauth.OAuthFactoryImpl
All Implemented Interfaces:
OAuthFactory

public class OAuthFactoryImpl
extends Object
implements OAuthFactory


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

Constructor Detail

OAuthFactoryImpl

public OAuthFactoryImpl()
Method Detail

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

Liferay 6.2-ce-ga5