Class OAuthClientEntryServiceUtil

java.lang.Object
com.liferay.oauth.client.persistence.service.OAuthClientEntryServiceUtil

public class OAuthClientEntryServiceUtil extends Object
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 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

      public static List<OAuthClientEntry> getCompanyOAuthClientEntries(long companyId)
    • 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

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getUserOAuthClientEntries

      public static List<OAuthClientEntry> getUserOAuthClientEntries(long userId)
    • getUserOAuthClientEntries

      public static List<OAuthClientEntry> getUserOAuthClientEntries(long userId, int start, int end)
    • 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

      public static OAuthClientEntryService getService()