Package com.auth0.client.mgmt
Class TenantsEntity
java.lang.Object
com.auth0.client.mgmt.TenantsEntity
Class that provides an implementation of the Tenant Settings methods of the Management API as defined in https://auth0.com/docs/api/management/v2#!/Tenants
This class is not thread-safe.
- See Also:
ManagementAPI
-
Field Summary
-
Method Summary
-
Field Details
-
client
protected final okhttp3.OkHttpClient client -
baseUrl
protected final okhttp3.HttpUrl baseUrl -
apiToken
-
-
Method Details
-
get
Request the Tenant Settings. A token with scope read:tenant_settings is needed. See https://auth0.com/docs/api/management/v2#!/Tenants/get_settings- Parameters:
filter
- the filter to use. Can be null.- Returns:
- a Request to execute.
-
update
Update the Tenant Settings. A token with scope update:tenant_settings is needed. See https://auth0.com/docs/api/management/v2#!/Tenants/patch_settings- Parameters:
tenant
- the tenant data to set.- Returns:
- a Request to execute.
-