Auth0-PHP

UsersByEmail extends ManagementEndpoint
in package
implements UsersByEmailInterface

Class UsersByEmail.

Handles requests to the Users by Email endpoint of the v2 Management API.

Tags
see
https://auth0.com/docs/api/management/v2#!/Users_By_Email

Interfaces, Classes, Traits and Enums

UsersByEmailInterface
Interface UsersByEmailInterface.

Table of Contents

$httpClient  : HttpClient
__construct()  : mixed
ManagementEndpoint constructor.
get()  : ResponseInterface
Search Users by Email.
getHttpClient()  : HttpClient
Get the injected HttpClient instance.
getLastRequest()  : HttpRequest|null
Return an instance of HttpRequest representing the last issued request.
getResponsePaginator()  : HttpResponsePaginator
Return a ResponsePaginator instance configured for the last HttpRequest.
instance()  : static

Properties

Methods

__construct()

ManagementEndpoint constructor.

public final __construct(HttpClient $httpClient) : mixed
Parameters
$httpClient : HttpClient

httpClient instance to use

Return values
mixed

get()

Search Users by Email.

public get(string $email[, RequestOptions|null $options = null ]) : ResponseInterface

Required scope: read:users.

Parameters
$email : string

email address to search for (case-sensitive)

$options : RequestOptions|null = null

Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)

Return values
ResponseInterface

Search results