20 lines
454 B
C++
20 lines
454 B
C++
#pragma once
|
|
|
|
#include <tl/expected.hpp>
|
|
|
|
#include <rublon/authentication_step_interface.hpp>
|
|
#include <rublon/pam.hpp>
|
|
#include <rublon/pam_action.hpp>
|
|
|
|
#include <rublon/method/passcode_based_auth.hpp>
|
|
|
|
namespace rublon::method {
|
|
|
|
class SMS:public PasscodeBasedAuth{
|
|
public:
|
|
SMS(std::string systemToken, std::string tid) : PasscodeBasedAuth(std::move(systemToken), std::move(tid), "SMS", "SMS passcode:") {}
|
|
|
|
};
|
|
|
|
} // namespace rublon::method
|