public function onPreAuthorizationProcess(OAuthEvent $event)
    {
        /* @var $client Client */
        if(null !== $client = $event->getClient())
        {
            if ($client->isPrivate())
            {
                $event->setAuthorizedClient(true);
            }
        }
    }