You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
321 B
24 lines
321 B
#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
|