EventListener/OAuthEventListener.php
public function onPreAuthorizationProcess(OAuthEvent $event)
    {
        /* @var $client Client */
        if(null !== $client = $event->getClient())
        {
            if ($client->isPrivate())
            {
                $event->setAuthorizedClient(true);
            }
        }
    }
public function onPreAuthorizationProcess(OAuthEvent $event)
    {
        /* @var $client Client */
        if(null !== $client = $event->getClient())
        {
            if ($client->isPrivate())
            {
                $event->setAuthorizedClient(true);
            }
        }
    }
public function onPreAuthorizationProcess ( OAuthEvent $ event ) { /* @var $client Client */ if ( null !== $ client = $ event -> getClient ( ) ) { if ( $ client -> isPrivate ( ) ) { $ event -> setAuthorizedClient ( true ) ; } } }
called fos_oauth_server.pre_authorization_process

client が isPrivate trueのとき認可する。

@param OAuthEvent $event
called fos_oauth_server . pre_authorization_process