You are here

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

Return an instance of the Roles class.

Return value

Roles

File

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

Class

Management

Namespace

Auth0\SDK\API

Code

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