You are here

public function DeviceCredentials::createPublicKey in Auth0 Single Sign On 8.2

Parameters

array $data:

Return value

mixed

File

vendor/auth0/auth0-php/src/API/Management/DeviceCredentials.php, line 56

Class

DeviceCredentials

Namespace

Auth0\SDK\API\Management

Code

public function createPublicKey($data) {
  return $this->apiClient
    ->method('post')
    ->addPath('device-credentials')
    ->withBody(json_encode($data))
    ->call();
}