diff options
| author | 2023-02-11 09:27:46 +0000 | |
|---|---|---|
| committer | 2023-02-11 09:30:22 +0000 | |
| commit | 416661d17d6797c439d80afb0681e75a3573ff80 (patch) | |
| tree | 569201242d1875e9ff14995ed319fbb94ce86b77 /include/modules | |
| parent | Add more action types to the repeat module. (diff) | |
Add an option so local non-SSL users can be seen as securely connected.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/ssl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/modules/ssl.h b/include/modules/ssl.h index 0da373540..747c468e5 100644 --- a/include/modules/ssl.h +++ b/include/modules/ssl.h @@ -303,6 +303,11 @@ public: */ virtual ssl_cert* GetCertificate(User* user) = 0; + /** Determines whether the specified user is connected securely. + * @return True if the user is connected securely; otherwise, false. + */ + virtual bool IsSecure(User* user) = 0; + /** Set the TLS certificate of a user. * @param user The user whose certificate to set. * @param cert The TLS certificate to set for the user. |
