Table of Contents

Class ManagementClientOptions

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

Configuration options for ManagementClient.

public class ManagementClientOptions
Inheritance
ManagementClientOptions
Inherited Members
Extension Methods

Properties

AdditionalHeaders

Additional headers to include with every request.

public IDictionary<string, string>? AdditionalHeaders { get; init; }

Property Value

IDictionary<string, string>

Domain

Your Auth0 domain (e.g., "your-tenant.auth0.com").

public required string Domain { get; init; }

Property Value

string

HttpClient

Custom HttpClient for making Management API requests. If not provided, a new instance will be created and managed internally.

public HttpClient? HttpClient { get; init; }

Property Value

HttpClient

MaxRetries

Maximum number of retry attempts for failed requests. Defaults to 2.

public int? MaxRetries { get; init; }

Property Value

int?

Timeout

Request timeout. Defaults to 30 seconds.

public TimeSpan? Timeout { get; init; }

Property Value

TimeSpan?

TokenProvider

The token provider responsible for supplying access tokens to the Management API.

Built-in options:

Implement ITokenProvider to supply tokens from any custom source.

public required ITokenProvider TokenProvider { get; init; }

Property Value

ITokenProvider