You are here

public function Management::deviceCredentials in Auth0 Single Sign On 8.2

Return an instance of the DeviceCredentials class.

Return value

DeviceCredentials

File

vendor/auth0/auth0-php/src/API/Management.php, line 292

Class

Management

Namespace

Auth0\SDK\API

Code

public function deviceCredentials() {
  if (!$this->deviceCredentials instanceof DeviceCredentials) {
    $this->deviceCredentials = new DeviceCredentials($this->apiClient);
  }
  return $this->deviceCredentials;
}