summaryrefslogtreecommitdiff
path: root/include/modules/ns_cert.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-02-22 17:46:00 -0500
committerAdam <Adam@anope.org>2014-02-22 17:46:00 -0500
commite836be489e7997d5eac56d20ac779c3df2c5b91c (patch)
tree667d2fa25c14e955346d2f31fc644d98905356c2 /include/modules/ns_cert.h
parent1db5c555d6ecf26ab15931c1a3db208fbb94a171 (diff)
Store a cert->account map and use it for SASL EXTERNAL and certfp auth
Diffstat (limited to 'include/modules/ns_cert.h')
-rw-r--r--include/modules/ns_cert.h9
1 files changed, 9 insertions, 0 deletions
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;
+};
+