gradido/login_server/src/cpp/tasks/AuthenticatedEncryptionCreateKeyTask.h
Ulf Gebhardt ac99a7097e Add 'login_server/' from commit 'ca71af1817a801db9a108c205bc298250d498c4b'
git-subtree-dir: login_server
git-subtree-mainline: 09ebb40de21084bb10ee466429d900a5e757d349
git-subtree-split: ca71af1817a801db9a108c205bc298250d498c4b
2021-03-17 22:05:25 +01:00

20 lines
720 B
C++

#ifndef __GRADIDO_LOGIN_SERVER_TASKS_AUTHENTICATED_ENCRYPTION_CREATE_KEY_TASK_H
#define __GRADIDO_LOGIN_SERVER_TASKS_AUTHENTICATED_ENCRYPTION_CREATE_KEY_TASK_H
#include "CPUTask.h"
#include "../controller/User.h"
class AuthenticatedEncryptionCreateKeyTask : public UniLib::controller::CPUTask
{
public:
AuthenticatedEncryptionCreateKeyTask(Poco::AutoPtr<controller::User> user, const std::string& passwd);
virtual ~AuthenticatedEncryptionCreateKeyTask();
int run();
const char* getResourceType() const { return "AuthenticatedEncryptionCreateKeyTask"; };
protected:
Poco::AutoPtr<controller::User> mUser;
std::string mPassword;
};
#endif //__GRADIDO_LOGIN_SERVER_TASKS_AUTHENTICATED_ENCRYPTION_CREATE_KEY_TASK_H