Class ClientGrantsFilter

java.lang.Object
com.auth0.client.mgmt.filter.BaseFilter
com.auth0.client.mgmt.filter.ClientGrantsFilter

public class ClientGrantsFilter extends BaseFilter
Class used to filter the results received when calling the Client Grants endpoint. Related to the ClientGrantsEntity entity.

This class is not thread-safe.

See Also:
  • Constructor Details

    • ClientGrantsFilter

      public ClientGrantsFilter()
  • Method Details

    • withClientId

      public ClientGrantsFilter withClientId(String clientId)
      Filter by client id
      Parameters:
      clientId - only retrieve items with this client id.
      Returns:
      this filter instance
    • withAudience

      public ClientGrantsFilter withAudience(String audience)
      Filter by audience
      Parameters:
      audience - only retrieve the item with this audience.
      Returns:
      this filter instance
    • withPage

      public ClientGrantsFilter withPage(int pageNumber, int amountPerPage)
      Filter by page
      Parameters:
      pageNumber - the page number to retrieve.
      amountPerPage - the amount of items per page to retrieve.
      Returns:
      this filter instance
    • withTotals

      public ClientGrantsFilter withTotals(boolean includeTotals)
      Include the query summary
      Parameters:
      includeTotals - whether to include or not the query summary.
      Returns:
      this filter instance