public class OAuthClientEntryServiceUtil
extends java.lang.Object
com.liferay.oauth.client.persistence.service.impl.OAuthClientEntryServiceImpl
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.OAuthClientEntryService
Constructor and Description |
---|
OAuthClientEntryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static OAuthClientEntry |
addOAuthClientEntry(long userId,
java.lang.String authRequestParametersJSON,
java.lang.String authServerWellKnownURI,
java.lang.String infoJSON,
java.lang.String oidcUserInfoMapperJSON,
java.lang.String tokenRequestParametersJSON) |
static OAuthClientEntry |
deleteOAuthClientEntry(long oAuthClientEntryId) |
static OAuthClientEntry |
deleteOAuthClientEntry(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId) |
static java.util.List<OAuthClientEntry> |
getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId,
java.lang.String authServerWellKnownURISuffix) |
static java.util.List<OAuthClientEntry> |
getCompanyOAuthClientEntries(long companyId) |
static java.util.List<OAuthClientEntry> |
getCompanyOAuthClientEntries(long companyId,
int start,
int end) |
static OAuthClientEntry |
getOAuthClientEntry(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static OAuthClientEntryService |
getService() |
static java.util.List<OAuthClientEntry> |
getUserOAuthClientEntries(long userId) |
static java.util.List<OAuthClientEntry> |
getUserOAuthClientEntries(long userId,
int start,
int end) |
static void |
setService(OAuthClientEntryService service) |
static OAuthClientEntry |
updateOAuthClientEntry(long oAuthClientEntryId,
java.lang.String authRequestParametersJSON,
java.lang.String authServerWellKnownURI,
java.lang.String infoJSON,
java.lang.String oidcUserInfoMapperJSON,
java.lang.String tokenRequestParametersJSON) |
public static OAuthClientEntry addOAuthClientEntry(long userId, java.lang.String authRequestParametersJSON, java.lang.String authServerWellKnownURI, java.lang.String infoJSON, java.lang.String oidcUserInfoMapperJSON, java.lang.String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static OAuthClientEntry deleteOAuthClientEntry(long oAuthClientEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static OAuthClientEntry deleteOAuthClientEntry(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<OAuthClientEntry> getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, java.lang.String authServerWellKnownURISuffix) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<OAuthClientEntry> getCompanyOAuthClientEntries(long companyId)
public static java.util.List<OAuthClientEntry> getCompanyOAuthClientEntries(long companyId, int start, int end)
public static OAuthClientEntry getOAuthClientEntry(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<OAuthClientEntry> getUserOAuthClientEntries(long userId)
public static java.util.List<OAuthClientEntry> getUserOAuthClientEntries(long userId, int start, int end)
public static OAuthClientEntry updateOAuthClientEntry(long oAuthClientEntryId, java.lang.String authRequestParametersJSON, java.lang.String authServerWellKnownURI, java.lang.String infoJSON, java.lang.String oidcUserInfoMapperJSON, java.lang.String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static OAuthClientEntryService getService()
public static void setService(OAuthClientEntryService service)