1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 21:13:13 +02:00

Store a cert->account map and use it for SASL EXTERNAL and certfp auth

This commit is contained in:
Adam
2014-02-22 17:46:00 -05:00
parent 1db5c555d6
commit e836be489e
3 changed files with 57 additions and 22 deletions
+9
View File
@@ -60,3 +60,12 @@ struct NSCertList
virtual void Check() = 0;
};
class CertService : public Service
{
public:
CertService(Module *c) : Service(c, "CertService", "certs") { }
virtual NickCore* FindAccountFromCert(const Anope::string &cert) = 0;
};