|PuSHCallback||Handler for callbacks to our PuSH hub|
|handle||Handle the callback|
|checkIfBanned||Helper function to compare against a banned domains list and return true if the host trying access the hub is banned.|
|handlePost||Handler for POST content updates from the hub|
|handleGet||Handler for GET verification requests from the hub.|
Handler for callbacks to our PuSH hub
the micro-blogging software
Copyright © 2016-2017, Maiyannah Bishop
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Handler for callbacks to our PUsH hub
Tested with PHP 7
Handle the callback
protected function handle()
Helper function to compare against a banned domains list and return true if the host trying access the hub is banned.
protected function checkIfBanned()
Handler for POST content updates from the hub
Handler for GET verification requests from the hub.