. /** * Fake userkey manager for testing. * * @package auth_userkey * @copyright 2016 Dmitrii Metelkin (dmitriim@catalyst-au.net) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace auth_userkey; class fake_userkey_manager implements userkey_manager_interface { public function create_key() { return 'FaKeKeyFoRtEsTiNg'; } public function delete_key() { } }