Interface OAuthClientEntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
OAuthClientEntryServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface OAuthClientEntryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for OAuthClientEntry. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddOAuthClientEntry(long userId, String authRequestParametersJSON, String authServerWellKnownURI, String infoJSON, long metadataCacheTime, String oidcUserInfoMapperJSON, String tokenRequestParametersJSON) deleteOAuthClientEntry(long oAuthClientEntryId) deleteOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, String authServerWellKnownURISuffix) getCompanyOAuthClientEntries(long companyId) getCompanyOAuthClientEntries(long companyId, int start, int end) getOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) Returns the OSGi service identifier.getUserOAuthClientEntries(long userId) getUserOAuthClientEntries(long userId, int start, int end) updateOAuthClientEntry(long oAuthClientEntryId, String authRequestParametersJSON, String authServerWellKnownURI, String infoJSON, long metadataCacheTime, String oidcUserInfoMapperJSON, String tokenRequestParametersJSON)
-
Method Details
-
addOAuthClientEntry
OAuthClientEntry addOAuthClientEntry(long userId, String authRequestParametersJSON, String authServerWellKnownURI, String infoJSON, long metadataCacheTime, String oidcUserInfoMapperJSON, String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteOAuthClientEntry
OAuthClientEntry deleteOAuthClientEntry(long oAuthClientEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteOAuthClientEntry
OAuthClientEntry deleteOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAuthServerWellKnownURISuffixOAuthClientEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<OAuthClientEntry> getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, String authServerWellKnownURISuffix) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyOAuthClientEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<OAuthClientEntry> getCompanyOAuthClientEntries(long companyId) -
getCompanyOAuthClientEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<OAuthClientEntry> getCompanyOAuthClientEntries(long companyId, int start, int end) -
getOAuthClientEntry
@Transactional(propagation=SUPPORTS, readOnly=true) OAuthClientEntry getOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getUserOAuthClientEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<OAuthClientEntry> getUserOAuthClientEntries(long userId) -
getUserOAuthClientEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<OAuthClientEntry> getUserOAuthClientEntries(long userId, int start, int end) -
updateOAuthClientEntry
OAuthClientEntry updateOAuthClientEntry(long oAuthClientEntryId, String authRequestParametersJSON, String authServerWellKnownURI, String infoJSON, long metadataCacheTime, String oidcUserInfoMapperJSON, String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-