Postgres code for SSO (almost certainly needs work)

This commit is contained in:
Adam Ierymenko 2021-05-28 17:08:24 -04:00
parent 198e6f765c
commit c470c6255e
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
6 changed files with 102 additions and 13 deletions

View file

@ -49,6 +49,7 @@ public:
virtual void eraseNetwork(const uint64_t networkId);
virtual void eraseMember(const uint64_t networkId, const uint64_t memberId);
virtual void nodeIsOnline(const uint64_t networkId, const uint64_t memberId, const InetAddress &physicalAddress);
virtual void updateMemberOnLoad(const uint64_t networkId, const uint64_t memberId, nlohmann::json &member);
protected:
struct _PairHasher
@ -103,6 +104,7 @@ private:
mutable volatile bool _waitNoticePrinted;
int _listenPort;
uint8_t _ssoPsk[48];
RedisConfig *_rc;
std::shared_ptr<sw::redis::Redis> _redis;