From e836be489e7997d5eac56d20ac779c3df2c5b91c Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 22 Feb 2014 17:46:00 -0500 Subject: Store a cert->account map and use it for SASL EXTERNAL and certfp auth --- include/modules/ns_cert.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/modules') diff --git a/include/modules/ns_cert.h b/include/modules/ns_cert.h index ca3f333fd..e02b9bd6e 100644 --- a/include/modules/ns_cert.h +++ b/include/modules/ns_cert.h @@ -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; +}; + -- cgit