Docs
This commit is contained in:
1 parent
5ce2215e44
commit
6a62ae58fc
22 files changed
+670
-7
No files matched your search
@@ -7,8 +7,20 @@ use Khofmann\Models\User\User;
|
||||
use Khofmann\Request\Request;
|
||||
use Khofmann\Response\Response;
|
||||
|
||||
/**
|
||||
* Logout route handlers
|
||||
*/
|
||||
class Logout extends Api
|
||||
{
|
||||
/**
|
||||
* Logout POST handler
|
||||
*
|
||||
* Logout a user. User is retrieved using the authentication `token`.
|
||||
*
|
||||
* Returns user.
|
||||
*
|
||||
* @throws 404 User not found
|
||||
*/
|
||||
public function post(): void
|
||||
{
|
||||
// Get user auth token.
|
||||
|
||||
Reference in new issue
Block a user