PHP 클래스 Wallabag\ApiBundle\Controller\WallabagRestController

상속: extends FOS\RestBundle\Controller\FOSRestController
파일 보기 프로젝트 열기: wallabag/wallabag

보호된 메소드들

메소드 설명
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