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