Package com.auth0.client.mgmt
Class ManagementAPI.Builder
java.lang.Object
com.auth0.client.mgmt.ManagementAPI.Builder
- Enclosing class:
- ManagementAPI
Builder for
ManagementAPI API client instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build aManagementAPIinstance using this builder's configuration.withHttpClient(Auth0HttpClient httpClient) Configure the client with anAuth0HttpClient.
-
Constructor Details
-
Builder
Create a new Builder- Parameters:
domain- the domain of the tenant.apiToken- the API token used to make requests to the Auth0 Management API.
-
-
Method Details
-
withHttpClient
Configure the client with anAuth0HttpClient.- Parameters:
httpClient- the HTTP client to use when making requests.- Returns:
- the builder instance.
- See Also:
-
build
Build aManagementAPIinstance using this builder's configuration.- Returns:
- the configured
ManagementAPIinstance.
-