You are here

public function Emails::configureEmailProvider in Auth0 Single Sign On 8.2

Parameters

array $data:

Return value

mixed

File

vendor/auth0/auth0-php/src/API/Management/Emails.php, line 39

Class

Emails

Namespace

Auth0\SDK\API\Management

Code

public function configureEmailProvider($data) {
  return $this->apiClient
    ->method('post')
    ->addPath('emails')
    ->addPath('provider')
    ->withBody(json_encode($data))
    ->call();
}