2018-11-03 17:12:20 +01:00
|
|
|
#ifndef HANDLERLOGIN_H
|
|
|
|
#define HANDLERLOGIN_H
|
|
|
|
#include <vector>
|
|
|
|
#include "handler.h"
|
|
|
|
|
|
|
|
class HandlerLogin : public Handler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
HandlerLogin();
|
2019-05-03 15:59:29 +02:00
|
|
|
Response handleRequest(const Request &r) override;
|
2018-11-03 17:12:20 +01:00
|
|
|
~HandlerLogin() override
|
|
|
|
{
|
|
|
|
}
|
2019-05-03 15:59:29 +02:00
|
|
|
bool canAccess(const Permissions &perms) override;
|
2018-11-03 17:12:20 +01:00
|
|
|
using Handler::Handler;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // HANDERLOGIN_H
|