public function Tickets::createPasswordChangeTicketRaw in Auth0 Single Sign On 8.2
Parameters
null|string $user_id:
null|string $email:
null|string $new_password:
null|string $result_url:
null|string $connection_id:
Return value
mixed
2 calls to Tickets::createPasswordChangeTicketRaw()
- Tickets::createPasswordChangeTicket in vendor/
auth0/ auth0-php/ src/ API/ Management/ Tickets.php - Tickets::createPasswordChangeTicketByEmail in vendor/
auth0/ auth0-php/ src/ API/ Management/ Tickets.php
File
- vendor/
auth0/ auth0-php/ src/ API/ Management/ Tickets.php, line 73
Class
Namespace
Auth0\SDK\API\ManagementCode
public function createPasswordChangeTicketRaw($user_id = null, $email = null, $new_password = null, $result_url = null, $connection_id = null) {
$body = [];
if ($user_id) {
$body['user_id'] = $user_id;
}
if ($email) {
$body['email'] = $email;
}
if ($new_password) {
$body['new_password'] = $new_password;
}
if ($result_url) {
$body['result_url'] = $result_url;
}
if ($connection_id) {
$body['connection_id'] = $connection_id;
}
return $this->apiClient
->method('post')
->addPath('tickets')
->addPath('password-change')
->withBody(json_encode($body))
->call();
}