Creates a client for interacting with the Auth0 Management API's user endpoints.
An access token with the required permissions for the management operations.
OptionaltokenType: TokenTypeOptional token type ('Bearer' or 'DPoP'). Defaults to the client's configured token type.
An IUsersClient instance configured with the provided token.
Generates DPoP headers for making authenticated requests to custom APIs. This method creates the necessary HTTP headers (Authorization and DPoP) to securely bind the access token to a specific API request.
Parameters including the URL, HTTP method, access token, and token type.
A promise that resolves to an object containing the required headers.
Performs a Custom Token Exchange using RFC 8693. Exchanges an external identity provider token for Auth0 tokens.
The token exchange parameters.
A promise resolving with Auth0 credentials.
The primary interface for the Auth0 client.
It aggregates all core functionalities (web auth, credential management, etc.) into a single, cohesive contract. Platform-specific factories will produce an object that conforms to this interface.