Class AnalyticsOAuthConsentService

java.lang.Object
io.meeds.analytics.oauth.service.AnalyticsOAuthConsentService

@Service public class AnalyticsOAuthConsentService extends Object
  • Constructor Details

    • AnalyticsOAuthConsentService

      public AnalyticsOAuthConsentService()
  • Method Details

    • getClientLastUsage

      public String getClientLastUsage(String clientId, String username, String remoteUsername) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException
      Parameters:
      clientId - OAuth Client IDentifier
      username - Username to filter
      remoteUsername - user making the operation
      Returns:
      Last used time in format ISO8601
      Throws:
      IllegalAccessException - when not allowed to retirve the information
      org.exoplatform.commons.exception.ObjectNotFoundException - when username not found