public function setCurrentUser(UserReference $user) { throw new Exceptions\MethodNotAllowedException('It is not allowed to set a current user in this implementation. Please use a corresponding authenticating HttpClient instead.'); }