Class OAuthClientEntryServiceUtil
java.lang.Object
com.liferay.oauth.client.persistence.service.OAuthClientEntryServiceUtil
Provides the remote service utility for OAuthClientEntry. This utility wraps
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuthClientEntryaddOAuthClientEntry(long userId, String authRequestParametersJSON, String authServerWellKnownURI, String infoJSON, long metadataCacheTime, String oidcUserInfoMapperJSON, String tokenRequestParametersJSON) static OAuthClientEntrydeleteOAuthClientEntry(long oAuthClientEntryId) static OAuthClientEntrydeleteOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) static List<OAuthClientEntry>getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, String authServerWellKnownURISuffix) static List<OAuthClientEntry>getCompanyOAuthClientEntries(long companyId) static List<OAuthClientEntry>getCompanyOAuthClientEntries(long companyId, int start, int end) static OAuthClientEntrygetOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) static StringReturns the OSGi service identifier.static OAuthClientEntryServicestatic List<OAuthClientEntry>getUserOAuthClientEntries(long userId) static List<OAuthClientEntry>getUserOAuthClientEntries(long userId, int start, int end) static OAuthClientEntryupdateOAuthClientEntry(long oAuthClientEntryId, String authRequestParametersJSON, String authServerWellKnownURI, String infoJSON, long metadataCacheTime, String oidcUserInfoMapperJSON, String tokenRequestParametersJSON)
-
Constructor Details
-
OAuthClientEntryServiceUtil
public OAuthClientEntryServiceUtil()
-
-
Method Details
-
addOAuthClientEntry
public static 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
public static OAuthClientEntry deleteOAuthClientEntry(long oAuthClientEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteOAuthClientEntry
public static OAuthClientEntry deleteOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAuthServerWellKnownURISuffixOAuthClientEntries
public static List<OAuthClientEntry> getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, String authServerWellKnownURISuffix) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyOAuthClientEntries
-
getCompanyOAuthClientEntries
public static List<OAuthClientEntry> getCompanyOAuthClientEntries(long companyId, int start, int end) -
getOAuthClientEntry
public static OAuthClientEntry getOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getUserOAuthClientEntries
-
getUserOAuthClientEntries
-
updateOAuthClientEntry
public static 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
-
getService
-