Package com.auth0.client.mgmt.filter
Class ClientGrantsFilter
java.lang.Object
com.auth0.client.mgmt.filter.BaseFilter
com.auth0.client.mgmt.filter.ClientGrantsFilter
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:
-
Field Summary
Fields inherited from class com.auth0.client.mgmt.filter.BaseFilter
parameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithAllowAnyOrganization(Boolean allowAnyOrganization) Filter byallow_any_organizationwithAudience(String audience) Filter by audiencewithClientId(String clientId) Filter by client idwithPage(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
-
ClientGrantsFilter
public ClientGrantsFilter()
-
-
Method Details
-
withClientId
Filter by client id- Parameters:
clientId- only retrieve items with this client id.- Returns:
- this filter instance
-
withAudience
Filter by audience- Parameters:
audience- only retrieve the item with this audience.- Returns:
- this filter instance
-
withAllowAnyOrganization
Filter byallow_any_organization- Parameters:
allowAnyOrganization- only retrieve items with theallow_any_organizationvalue specfied.- 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
-
withTotals
Include the query summary- Parameters:
includeTotals- whether to include or not the query summary.- Returns:
- this filter instance
-