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(String externalReferenceCode, long userId, String authRequestParametersJSON, String authServerWellKnownURI, String customClaimsJSON, String infoJSON, String matcherField, long metadataCacheTime, String oidcUserInfoMapperJSON, int tokenConnectionTimeout, String tokenRequestParametersJSON) deleteOAuthClientEntry(long oAuthClientEntryId) deleteOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) fetchOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, String authServerWellKnownURISuffix) getCompanyOAuthClientEntries(long companyId) getCompanyOAuthClientEntries(long companyId, int start, int end) getOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) getOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) Returns the OSGi service identifier.getUserOAuthClientEntries(long userId) getUserOAuthClientEntries(long userId, int start, int end) updateOAuthClientEntry(long oAuthClientEntryId, String authRequestParametersJSON, String authServerWellKnownURI, String customClaimsJSON, String infoJSON, String matcherField, long metadataCacheTime, String oidcUserInfoMapperJSON, int tokenConnectionTimeout, String tokenRequestParametersJSON)
-
Method Details
-
addOAuthClientEntry
OAuthClientEntry addOAuthClientEntry(String externalReferenceCode, long userId, String authRequestParametersJSON, String authServerWellKnownURI, String customClaimsJSON, String infoJSON, String matcherField, long metadataCacheTime, String oidcUserInfoMapperJSON, int tokenConnectionTimeout, 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
-
fetchOAuthClientEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) OAuthClientEntry fetchOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) 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
-
getOAuthClientEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) OAuthClientEntry getOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) 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 customClaimsJSON, String infoJSON, String matcherField, long metadataCacheTime, String oidcUserInfoMapperJSON, int tokenConnectionTimeout, String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-