mirror of
https://github.com/falk-werner/webfuse
synced 2024-09-28 22:40:43 +00:00
24 lines
321 B
C++
24 lines
321 B
C++
|
#ifndef WEBFUSE_AUTHENTICATOR_HPP
|
||
|
#define WEBFUSE_AUTHENTICATOR_HPP
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace webfuse
|
||
|
{
|
||
|
|
||
|
class authenticator
|
||
|
{
|
||
|
public:
|
||
|
explicit authenticator(std::string const & app);
|
||
|
~authenticator() = default;
|
||
|
|
||
|
bool authenticate(std::string const & token);
|
||
|
|
||
|
private:
|
||
|
std::string app_;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|