MCPcopy Create free account
hub / github.com/bitshares/bitshares-core / logout

Method logout

libraries/app/api.cpp:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 bool login_api::logout()
88 {
89 // Ideally, we should clean up the API sets that the previous user registered.
90 // However, the shared pointers to these objects are already saved elsewhere (in FC),
91 // so we are unable to clean up, so it does not make sense to reset the optional fields here.
92 _allowed_apis.clear();
93 return false;
94 }
95
96 string login_api::get_info() const
97 {

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64