PHP Class Wallabag\ApiBundle\Controller\WallabagRestController

Inheritance: extends FOS\RestBundle\Controller\FOSRestController
Datei anzeigen Open project: wallabag/wallabag

Protected Methods

Method Description
validateAuthentication ( )
validateUserAccess ( integer $requestUserId ) Validate that the first id is equal to the second one.

Method Details

validateAuthentication() protected method

protected validateAuthentication ( )

validateUserAccess() protected method

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