protected function authorize(Request $request)
    {
        $authorizer = $this->resolveAuthorizer($request);

        if ($authorizer) {
            $authorizer->authorize($this->getSubject());
        }
    }
protected function authorize(Request $request)
    {
        $authorizer = $this->resolveAuthorizer($request);

        if ($authorizer) {
            $authorizer->authorize($this->getSubject());
        }
    }
protected function authorize ( Request $ request ) { $ authorizer = $ this -> resolveAuthorizer ( $ request ) ; if ( $ authorizer ) { $ authorizer -> authorize ( $ this -> getSubject ( ) ) ; } }
Authorize the given request.

@param \FluxBB\Server\Request $request
@return void
@throws \FluxBB\Server\Exception\NoPermission
Authorize the given request .