Class ResourceServersFilter

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

public class ResourceServersFilter extends BaseFilter
Class used to filter the results received when calling the Resource Servers endpoint. Related to the ResourceServerEntity entity.

This class is not thread-safe.

See Also:
  • Constructor Details

    • ResourceServersFilter

      public ResourceServersFilter()
  • Method Details

    • withPage

      public ResourceServersFilter 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 ResourceServersFilter withTotals(boolean includeTotals)
      Include the query summary
      Parameters:
      includeTotals - whether to include or not the query summary.
      Returns:
      this filter instance
    • withIdentifiers

      public ResourceServersFilter withIdentifiers(String identifiers)
      Filter by specific identifier IDs (i.e. audience)
      Parameters:
      identifiers - the identifier IDs to filter by
      Returns:
      this filter instance
    • withCheckpointPagination

      public ResourceServersFilter withCheckpointPagination(String from, int take)
      Filter by checkpoint pagination support
      Parameters:
      from - the starting index identifier
      take - the number of items to retrieve
      Returns:
      this filter instance