* generate user enrolement message * cleanup * Fix bugs found during testing * Add yotp message [not verified] * smsLink implementation * implement SMS Link * YOTP fixes * Add SMS link
20 lines
455 B
C++
20 lines
455 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/websocket_based_auth.hpp>
|
|
|
|
namespace rublon::method {
|
|
|
|
class SmsLink : public WebsocketBasedAuth {
|
|
public:
|
|
SmsLink(std::string systemToken, std::string tid)
|
|
: WebsocketBasedAuth(std::move(systemToken), std::move(tid), "smsLink") {}
|
|
};
|
|
|
|
} // namespace rublon::method
|