Auth0\Tests\ConnectionsTest::getApiClient PHP Method

getApiClient() protected method

protected getApiClient ( )
    protected function getApiClient()
    {
        $env = $this->getEnv();
        $token = $this->getToken($env, ['connections' => ['actions' => ['create', 'read', 'delete', 'update']]]);
        $this->domain = $env['DOMAIN'];
        $api = new Management($token, $env['DOMAIN']);
        return $api->connections;
    }