You are here

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

Return an instance of the ClientGrants class.

Return value

ClientGrants

File

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

Class

Management

Namespace

Auth0\SDK\API

Code

public function clientGrants() {
  if (!$this->client_grants instanceof ClientGrants) {
    $this->client_grants = new ClientGrants($this->apiClient);
  }
  return $this->client_grants;
}