Table of Contents

Namespace Auth0.ManagementApi.Core

Classes

CustomDomainInterceptor

A DelegatingHandler that enforces the Auth0-Custom-Domain header whitelist.

The Auth0-Custom-Domain header is only meaningful for specific Management API endpoints that generate user-facing links (email verification, password reset, invitations, etc.). This handler strips the header from requests to any path not on the whitelist, preventing it from leaking to unrelated endpoints.

Whitelisted paths:

  • POST /tickets/email-verification
  • POST /tickets/password-change
  • POST /organizations/{id}/invitations
  • POST /guardian/enrollments/ticket
  • POST /jobs/verification-email
  • POST /jobs/users-imports
  • POST /users and PATCH /users/{id}
  • POST /self-service-profiles/{id}/sso-ticket
DateOnlyConverter

Custom converter for handling the System.DateOnly data type with the System.Text.Json library.

FormUrlEncoder

Encodes an object into a form URL-encoded content.

NullableAttribute
OptionalAttribute
OptionalExtensions
OptionalJsonConverterFactory
OptionalJsonConverter<T>
Page<TItem>

A single Page<TItem> of items from a request that may return zero or more Page<TItem>s of items.

RawResponse

Contains HTTP response metadata including status code, URL, and headers.

ValueConvert

Convert values to string for path and query parameters.

Structs

HttpHeader

Represents a single HTTP header.

Optional<T>

Represents a field that can be "not set" (undefined) vs "explicitly set" (defined). Use this for HTTP PATCH requests where you need to distinguish between:

  • Undefined: Don't send this field (leave it unchanged on the server)
  • Defined with null: Send null (clear the field on the server)
  • Defined with value: Send the value (update the field on the server)
ResponseHeaders

Represents HTTP response headers with case-insensitive lookup.

Interfaces

BiPager<TItem>

Interface for implementing pagination in two directions.

IIsRetryableContent
IOptional

Non-generic interface for Optional types to enable reflection-free checks.

IStringEnum
Pager<TItem>

A collection of values that may take multiple service requests to iterate over.