public class ManagementAPI
extends java.lang.Object
ManagementAPI(String, String)
using the tenant domain and API token.Constructor and Description |
---|
ManagementAPI(java.lang.String domain,
java.lang.String apiToken)
Create an instance with the given tenant's domain and API token.
|
Modifier and Type | Method and Description |
---|---|
BlacklistsEntity |
blacklists()
Getter for the Blacklists entity.
|
ClientGrantsEntity |
clientGrants()
Getter for the Client Grants entity.
|
ClientsEntity |
clients()
Getter for the Applications entity.
|
ConnectionsEntity |
connections()
Getter for the Connections entity.
|
DeviceCredentialsEntity |
deviceCredentials()
Getter for the Device Credentials entity.
|
void |
doNotSendTelemetry()
Avoid sending Telemetry data in every request to the Auth0 servers.
|
EmailProviderEntity |
emailProvider()
Getter for the Email Provider entity.
|
EmailTemplatesEntity |
emailTemplates()
Getter for the Email Templates entity.
|
GrantsEntity |
grants()
Getter for the Grants entity.
|
GuardianEntity |
guardian()
Getter for the Guardian entity.
|
JobsEntity |
jobs()
Getter for the Jobs entity.
|
LogEventsEntity |
logEvents()
Getter for the Log Events entity.
|
ResourceServerEntity |
resourceServers()
Getter for the Resource Servers entity.
|
RulesEntity |
rules()
Getter for the Rules entity.
|
void |
setApiToken(java.lang.String apiToken)
Update the API token to use on new calls.
|
void |
setLoggingEnabled(boolean enabled)
Whether to enable or not the current HTTP Logger for every Request, Response and other sensitive information.
|
StatsEntity |
stats()
Getter for the Stats entity.
|
TenantsEntity |
tenants()
Getter for the Tenants entity.
|
TicketsEntity |
tickets()
Getter for the Tickets entity.
|
UserBlocksEntity |
userBlocks()
Getter for the User Blocks entity.
|
UsersEntity |
users()
Getter for the Users entity.
|
public ManagementAPI(java.lang.String domain, java.lang.String apiToken)
domain
- the tenant's domain.apiToken
- the token to authenticate the calls with.public void setApiToken(java.lang.String apiToken)
clients()
again.
See the Management API section in the readme or visit https://auth0.com/docs/api/management/v2/tokens to learn how to obtain a token.apiToken
- the token to authenticate the calls with.public void doNotSendTelemetry()
public void setLoggingEnabled(boolean enabled)
enabled
- whether to enable the HTTP logger or not.public ClientGrantsEntity clientGrants()
public ClientsEntity clients()
public ConnectionsEntity connections()
public DeviceCredentialsEntity deviceCredentials()
public GrantsEntity grants()
public LogEventsEntity logEvents()
public RulesEntity rules()
public UserBlocksEntity userBlocks()
public UsersEntity users()
public BlacklistsEntity blacklists()
public EmailTemplatesEntity emailTemplates()
public EmailProviderEntity emailProvider()
public GuardianEntity guardian()
public StatsEntity stats()
public TenantsEntity tenants()
public TicketsEntity tickets()
public ResourceServerEntity resourceServers()
public JobsEntity jobs()