public class OAuthUserServiceUtil
extends java.lang.Object
com.liferay.oauth.service.impl.OAuthUserServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.OAuthUserService| Constructor and Description |
|---|
OAuthUserServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static OAuthUser |
addOAuthUser(java.lang.String consumerKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static OAuthUser |
deleteOAuthUser(long oAuthApplicationId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static OAuthUserService |
getService() |
static void |
setService(OAuthUserService service) |
public static OAuthUser addOAuthUser(java.lang.String consumerKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static OAuthUser deleteOAuthUser(long oAuthApplicationId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static OAuthUserService getService()
public static void setService(OAuthUserService service)