Update fake key manager in case to implement a new interface
This commit is contained in:
parent
04a4f4f573
commit
401e9c9245
1 changed files with 6 additions and 2 deletions
|
@ -27,11 +27,15 @@ namespace auth_userkey;
|
|||
|
||||
class fake_userkey_manager implements userkey_manager_interface {
|
||||
|
||||
public function create_key() {
|
||||
public function create_key($userid, $allowedips = null) {
|
||||
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.
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue