PHP Класс Wallabag\ApiBundle\Controller\WallabagRestController

Наследование: extends FOS\RestBundle\Controller\FOSRestController
Показать файл Открыть проект

Защищенные методы

Метод Описание
validateAuthentication ( )
validateUserAccess ( integer $requestUserId ) Validate that the first id is equal to the second one.

Описание методов

validateAuthentication() защищенный Метод

protected validateAuthentication ( )

validateUserAccess() защищенный Метод

If not, throw exception. It means a user try to access information from an other user.
protected validateUserAccess ( integer $requestUserId )
$requestUserId integer User id from the requested source