You are here

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

Management constructor.

Parameters

string $token:

string $domain:

array $guzzleOptions:

string|null $returnType:

File

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

Class

Management

Namespace

Auth0\SDK\API

Code

public function __construct($token, $domain, $guzzleOptions = [], $returnType = null) {
  $this->token = $token;
  $this->domain = $domain;
  $this->guzzleOptions = $guzzleOptions;
  $this->returnType = $returnType;
  $this
    ->setApiClient();
  $this->blacklists = new Blacklists($this->apiClient);
  $this->clients = new Clients($this->apiClient);
  $this->client_grants = new ClientGrants($this->apiClient);
  $this->connections = new Connections($this->apiClient);
  $this->deviceCredentials = new DeviceCredentials($this->apiClient);
  $this->emails = new Emails($this->apiClient);
  $this->emailTemplates = new EmailTemplates($this->apiClient);
  $this->grants = new Grants($this->apiClient);
  $this->jobs = new Jobs($this->apiClient);
  $this->logs = new Logs($this->apiClient);
  $this->roles = new Roles($this->apiClient);
  $this->rules = new Rules($this->apiClient);
  $this->resource_servers = new ResourceServers($this->apiClient);
  $this->stats = new Stats($this->apiClient);
  $this->tenants = new Tenants($this->apiClient);
  $this->tickets = new Tickets($this->apiClient);
  $this->userBlocks = new UserBlocks($this->apiClient);
  $this->users = new Users($this->apiClient);
  $this->usersByEmail = new UsersByEmail($this->apiClient);
}