Add userkey_manager_interface
This commit is contained in:
parent
157f357394
commit
f05cdf3950
1 changed files with 25 additions and 0 deletions
25
classes/userkey_manager_interface.php
Normal file
25
classes/userkey_manager_interface.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: dmitriim
|
||||
* Date: 16/08/2016
|
||||
* Time: 15:23
|
||||
*/
|
||||
|
||||
namespace auth_userkey;
|
||||
|
||||
|
||||
interface userkey_manager_interface {
|
||||
/**
|
||||
* Create a user key.
|
||||
*
|
||||
* @return string Generated key.
|
||||
*/
|
||||
public function create_key();
|
||||
|
||||
/**
|
||||
* Delete a user key.
|
||||
*/
|
||||
public function delete_key();
|
||||
|
||||
}
|
Loading…
Reference in a new issue