mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-31 23:18:25 +02:00
0.8.78
* try to finalize API token protection
This commit is contained in:
parent
15349520d2
commit
8b2db4abfa
6 changed files with 39 additions and 49 deletions
|
@ -62,11 +62,10 @@ class IApp {
|
|||
virtual uint32_t getMqttTxCnt() = 0;
|
||||
|
||||
virtual void lock(void) = 0;
|
||||
virtual char *unlock(const char *clientIp) = 0;
|
||||
virtual char *unlock(const char *clientIp, bool loginFromWeb) = 0;
|
||||
virtual void resetLockTimeout(void) = 0;
|
||||
virtual bool isProtected(void) const = 0;
|
||||
virtual bool isProtected(const char *clientIp) const = 0;
|
||||
virtual bool isProtected(const char *clientIp, const char *token) const = 0;
|
||||
virtual bool isProtected(const char *token, bool askedFromWeb) const = 0;
|
||||
|
||||
virtual uint16_t getHistoryValue(uint8_t type, uint16_t i) = 0;
|
||||
virtual uint16_t getHistoryMaxDay() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue