Package com.auth0.client.mgmt.filter
Class ClientFilter
java.lang.Object
com.auth0.client.mgmt.filter.BaseFilter
com.auth0.client.mgmt.filter.FieldsFilter
com.auth0.client.mgmt.filter.ClientFilter
Class used to filter the results received when calling the Clients endpoint. Related to the
ClientsEntity
entity.
This class is not thread-safe.
- See Also:
-
Field Summary
Fields inherited from class com.auth0.client.mgmt.filter.BaseFilter
parameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionwithAppType
(String appType) Filter by application typewithFields
(String fields, boolean includeFields) Only retrieve certain fields from the item.withIsFirstParty
(boolean isFirstParty) Filter by first party clientswithIsGlobal
(boolean isGlobal) Filter by global clientswithPage
(int pageNumber, int amountPerPage) Filter by pagewithTotals
(boolean includeTotals) Include the query summaryMethods inherited from class com.auth0.client.mgmt.filter.BaseFilter
getAsMap
-
Constructor Details
-
ClientFilter
public ClientFilter()
-
-
Method Details
-
withTotals
Include the query summary- Parameters:
includeTotals
- whether to include or not the query summary.- Returns:
- this filter instance
-
withPage
Filter by page- Parameters:
pageNumber
- the page number to retrieve.amountPerPage
- the amount of items per page to retrieve.- Returns:
- this filter instance
-
withIsGlobal
Filter by global clients- Parameters:
isGlobal
- whether the client should or not be global- Returns:
- this filter instance
-
withIsFirstParty
Filter by first party clients- Parameters:
isFirstParty
- whether the client should or not be first party- Returns:
- this filter instance
-
withAppType
Filter by application type- Parameters:
appType
- A comma separated list of application types used to filter the returned clients (native, spa, regular_web, non_interactive)- Returns:
- this filter instance
-
withFields
Description copied from class:FieldsFilter
Only retrieve certain fields from the item.- Overrides:
withFields
in classFieldsFilter
- Parameters:
fields
- a list of comma separated fields to retrieve.includeFields
- whether to include or exclude in the response the fields that were given.- Returns:
- this filter instance
-