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(String externalReferenceCode, long userId, String authRequestParametersJSON, String authServerWellKnownURI, String customClaimsJSON, String infoJSON, String matcherField, long metadataCacheTime, String oidcUserInfoMapperJSON, int tokenConnectionTimeout, String tokenRequestParametersJSON) static OAuthClientEntrydeleteOAuthClientEntry(long oAuthClientEntryId) static OAuthClientEntrydeleteOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) static OAuthClientEntryfetchOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) 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 OAuthClientEntrygetOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) 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 customClaimsJSON, String infoJSON, String matcherField, long metadataCacheTime, String oidcUserInfoMapperJSON, int tokenConnectionTimeout, String tokenRequestParametersJSON)
-
Constructor Details
-
OAuthClientEntryServiceUtil
public OAuthClientEntryServiceUtil()
-
-
Method Details
-
addOAuthClientEntry
public static 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
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
-
fetchOAuthClientEntryByExternalReferenceCode
public static OAuthClientEntry fetchOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) 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
-
getOAuthClientEntryByExternalReferenceCode
public static OAuthClientEntry getOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) 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 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
-
getService
-