Big SSO update

make things hopefully work
This commit is contained in:
Grant Limberg 2021-06-03 14:38:26 -07:00
parent 81fda3f5b8
commit 4f521baafd
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
7 changed files with 144 additions and 80 deletions

View file

@ -51,6 +51,8 @@ public:
virtual void onNetworkMemberUpdate(const void *db,uint64_t networkId,uint64_t memberId,const nlohmann::json &member);
virtual void onNetworkMemberDeauthorize(const void *db,uint64_t networkId,uint64_t memberId);
std::string getSSOAuthURL(const nlohmann::json &member);
inline void addDB(const std::shared_ptr<DB> &db)
{
db->addListener(this);