Auth0-PHP

TicketsInterface
in

Interface TicketsInterface.

Table of Contents

createEmailVerification()  : ResponseInterface
Create an email verification ticket.
createPasswordChange()  : ResponseInterface
Create a password change ticket.

Methods

createEmailVerification()

Create an email verification ticket.

public createEmailVerification(string $userId[, array<string|int, mixed>|null $body = null ][, RequestOptions|null $options = null ]) : ResponseInterface

Required scope: create:user_tickets.

Parameters
$userId : string

ID of the user for whom the ticket should be created

$body : array<string|int, mixed>|null = null

Optional. Additional body content to pass with the API request. See @see for supported options.

$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.)

Tags
throws
ArgumentException

when an invalid userId is provided

throws
NetworkException

when the API request fails due to a network error

see
https://auth0.com/docs/api/management/v2#!/Tickets/post_email_verification
Return values
ResponseInterface

createPasswordChange()

Create a password change ticket.

public createPasswordChange(array<string|int, mixed> $body[, RequestOptions|null $options = null ]) : ResponseInterface

Required scope: create:user_tickets.

Parameters
$body : array<string|int, mixed>

Body content to pass with the API request. See @see for supported options.

$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.)

Tags
throws
ArgumentException

when an invalid body is provided

throws
NetworkException

when the API request fails due to a network error

see
https://auth0.com/docs/api/management/v2#!/Tickets/post_password_change
Return values
ResponseInterface

Search results