19 lines
452 B
C++
Executable File
19 lines
452 B
C++
Executable File
#pragma once
|
|
|
|
#include <tl/expected.hpp>
|
|
|
|
#include <rublon/authentication_step_interface.hpp>
|
|
#include <rublon/pam_action.hpp>
|
|
|
|
#include <rublon/method/websocket_based_auth.hpp>
|
|
|
|
namespace rublon::method {
|
|
|
|
class PUSH : public WebsocketBasedAuth {
|
|
public:
|
|
PUSH(std::string systemToken, std::string tid, bool autopush)
|
|
: WebsocketBasedAuth(std::move(systemToken), std::move(tid), "Mobile PUSH", autopush) {}
|
|
};
|
|
|
|
} // namespace rublon::method
|