Update fake key manager in case to implement a new interface

This commit is contained in:
Dmitrii Metelkin 2016-08-27 15:58:55 +10:00
parent 04a4f4f573
commit 401e9c9245

View file

@ -27,11 +27,15 @@ namespace auth_userkey;
class fake_userkey_manager implements userkey_manager_interface { class fake_userkey_manager implements userkey_manager_interface {
public function create_key() { public function create_key($userid, $allowedips = null) {
return 'FaKeKeyFoRtEsTiNg'; return 'FaKeKeyFoRtEsTiNg';
} }
public function delete_key() { public function delete_keys($userid) {
// TODO: Implement delete_keys() method.
}
public function validate_key($keyvalue) {
// TODO: Implement validate_key() method.
} }
} }