Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
login_plugin.hpp
Go to the documentation of this file.
1#pragma once
4
7
8namespace sysio {
9
10class login_plugin : public plugin<login_plugin> {
11 public:
13
15 virtual ~login_plugin();
16
17 virtual void set_program_options(options_description&, options_description&) override;
18 void plugin_initialize(const variables_map&);
19 void plugin_startup();
20 void plugin_shutdown();
21
25
29
37
40 flat_set<chain::public_key_type> recovered_keys{};
42 std::string error{};
43 };
44
46
51
56
60
65
69
72
76
77 private:
79};
80
81} // namespace sysio
82
86 (server_ephemeral_pub_key)(client_ephemeral_pub_key)(permission)(data)(signatures))
87FC_REFLECT(sysio::login_plugin::finalize_login_request_results, (digest)(recovered_keys)(permission_satisfied)(error))
88
void plugin_initialize(const variables_map &)
do_not_use_gen_r1_key_results do_not_use_gen_r1_key(const do_not_use_gen_r1_key_params &)
start_login_request_results start_login_request(const start_login_request_params &)
do_not_use_sign_results do_not_use_sign(const do_not_use_sign_params &)
do_not_use_get_secret_results do_not_use_get_secret(const do_not_use_get_secret_params &)
virtual void set_program_options(options_description &, options_description &) override
APPBASE_PLUGIN_REQUIRES((chain_plugin)(http_plugin)) login_plugin()
finalize_login_request_results finalize_login_request(const finalize_login_request_params &)
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Definition reflect.hpp:311
#define FC_REFLECT_EMPTY(TYPE)
Definition reflect.hpp:317
std::vector< chain::signature_type > signatures
flat_set< chain::public_key_type > recovered_keys