Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (18 sloc) 459 Bytes
namespace Tomaj\NetteApi\Authorization;
interface ApiAuthorizationInterface
* Main method to check if this authorization authorize actual request.
* @return boolean
public function authorized();
* If authorization deny acces, this method should provide additional information
* abount cause of restriction.
* @return string|boolean
public function getErrorMessage();
You can’t perform that action at this time.