public class OAuthFactoryImpl
extends Object
implements com.liferay.portal.kernel.oauth.OAuthFactory
Constructor and Description |
---|
OAuthFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.oauth.OAuthManager |
createOAuthManager(String key,
String secret,
String accessURL,
String requestURL,
String callbackURL,
String scope) |
com.liferay.portal.kernel.oauth.OAuthRequest |
createOAuthRequest(com.liferay.portal.kernel.oauth.Verb verb,
String url) |
com.liferay.portal.kernel.oauth.Token |
createToken(String token,
String secret) |
com.liferay.portal.kernel.oauth.Verifier |
createVerifier(String verifier) |
public com.liferay.portal.kernel.oauth.OAuthManager createOAuthManager(String key, String secret, String accessURL, String requestURL, String callbackURL, String scope) throws com.liferay.portal.kernel.oauth.OAuthException
createOAuthManager
in interface com.liferay.portal.kernel.oauth.OAuthFactory
com.liferay.portal.kernel.oauth.OAuthException
public com.liferay.portal.kernel.oauth.OAuthRequest createOAuthRequest(com.liferay.portal.kernel.oauth.Verb verb, String url) throws com.liferay.portal.kernel.oauth.OAuthException
createOAuthRequest
in interface com.liferay.portal.kernel.oauth.OAuthFactory
com.liferay.portal.kernel.oauth.OAuthException
public com.liferay.portal.kernel.oauth.Token createToken(String token, String secret) throws com.liferay.portal.kernel.oauth.OAuthException
createToken
in interface com.liferay.portal.kernel.oauth.OAuthFactory
com.liferay.portal.kernel.oauth.OAuthException
public com.liferay.portal.kernel.oauth.Verifier createVerifier(String verifier) throws com.liferay.portal.kernel.oauth.OAuthException
createVerifier
in interface com.liferay.portal.kernel.oauth.OAuthFactory
com.liferay.portal.kernel.oauth.OAuthException