Class ManagementApiClient
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
Represents the Management API client.
public class ManagementApiClient : IManagementApiClient, IDisposable
- Inheritance
-
ManagementApiClient
- Implements
- Inherited Members
Constructors
ManagementApiClient(string, string, IManagementConnection)
Initializes a new instance of the ManagementApiClient class.
public ManagementApiClient(string token, string domain, IManagementConnection connection = null)
Parameters
token
stringA valid Auth0 Management API v2 token.
domain
stringYour Auth0 domain.
tenant.auth0.com connection
IManagementConnection
ManagementApiClient(string, Uri, IManagementConnection)
Initializes a new instance of the ManagementApiClient class.
public ManagementApiClient(string token, Uri baseUri, IManagementConnection managementConnection = null)
Parameters
token
stringA valid Auth0 Management API v2 token.
baseUri
UriUri of the tenant to manage.
managementConnection
IManagementConnectionIManagementConnection to facilitate communication with server.
Fields
connection
protected readonly IManagementConnection connection
Field Value
Properties
Actions
Contains all the methods to call the /actions endpoints.
public IActionsClient Actions { get; }
Property Value
AttackProtection
Contains all the methods to call the /attack-protection endpoints.
public IAttackProtectionClient AttackProtection { get; }
Property Value
BlacklistedTokens
Contains all the methods to call the /blacklists/tokens endpoints.
public IBlacklistedTokensClient BlacklistedTokens { get; }
Property Value
Branding
Contains all the methods to call the /branding endpoints.
public IBrandingClient Branding { get; }
Property Value
ClientGrants
Contains all the methods to call the /client-grants endpoints
public IClientGrantsClient ClientGrants { get; }
Property Value
Clients
Contains all the methods to call the /clients endpoints.
public IClientsClient Clients { get; }
Property Value
Connections
Contains all the methods to call the /connections endpoints.
public IConnectionsClient Connections { get; }
Property Value
CustomDomains
Contains all the methods to call the /custom-domains endpoints.
public ICustomDomainsClient CustomDomains { get; }
Property Value
DeviceCredentials
Contains all the methods to call the /device-credentials endpoints.
public IDeviceCredentialsClient DeviceCredentials { get; }
Property Value
EmailProvider
Contains all the methods to call the /emails/provider endpoints.
public IEmailProviderClient EmailProvider { get; }
Property Value
EmailTemplates
Contains all the methods to call the /email-templates endpoints.
public IEmailTemplatesClient EmailTemplates { get; }
Property Value
Grants
Contains all the methods to call the /grants endpoints.
public IGrantsClient Grants { get; }
Property Value
Guardian
Contains all the methods to call the /guardian endpoints.
public IGuardianClient Guardian { get; }
Property Value
Hooks
Contains all the methods to call the /hooks endpoints.
public IHooksClient Hooks { get; }
Property Value
Jobs
Contains all the methods to call the /jobs endpoints.
public IJobsClient Jobs { get; }
Property Value
Keys
Contains all the methods to call the /keys endpoints.
public IKeysClient Keys { get; }
Property Value
LogStreams
Contains all the methods to all the /log-streams endpoints.
public ILogStreamsClient LogStreams { get; }
Property Value
Logs
Contains all the methods to call the /logs endpoints.
public ILogsClient Logs { get; }
Property Value
Organizations
Contains all the methods to call the /organizations endpoints.
public IOrganizationsClient Organizations { get; }
Property Value
Prompts
Contains all the methods to call the /prompts endpoints.
public IPromptsClient Prompts { get; }
Property Value
ResourceServers
Contains all the methods to call the /resource-servers endpoints.
public IResourceServersClient ResourceServers { get; }
Property Value
Roles
Contains all the methods to call the /roles endpoints.
public IRolesClient Roles { get; }
Property Value
- IRolesClient
The roles.
Rules
Contains all the methods to call the /rules endpoints.
public IRulesClient Rules { get; }
Property Value
RulesConfig
Contains all the methods to call the /rules-configs endpoints.
public IRulesConfigClient RulesConfig { get; }
Property Value
Stats
Contains all the methods to call the /stats endpoints.
public IStatsClient Stats { get; }
Property Value
TenantSettings
Contains all the methods to call the /tenants/settings endpoints.
public ITenantSettingsClient TenantSettings { get; set; }
Property Value
Tickets
Contains all the methods to call the /tickets endpoints.
public ITicketsClient Tickets { get; }
Property Value
UserBlocks
Contains all the methods to call the /user-blocks endpoints.
public IUserBlocksClient UserBlocks { get; }
Property Value
Users
Contains all the methods to call the /users endpoints.
public IUsersClient Users { get; }
Property Value
Methods
Dispose()
Disposes of any owned disposable resources.
public void Dispose()
Dispose(bool)
Disposes of any owned disposable resources.
protected virtual void Dispose(bool disposing)
Parameters
UpdateAccessToken(string)
Update the Access Token used with every request.
public void UpdateAccessToken(string token)
Parameters
token
stringThe new and valid Auth0 Management API v2 token.