You are here

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

Return an instance of the Grants class.

Return value

Grants

File

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

Class

Management

Namespace

Auth0\SDK\API

Code

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