Final token cache/revocation fix.

This commit is contained in:
stephb9959
2021-11-13 17:23:19 -08:00
parent bc11a19ee4
commit 5b4dbb088f
4 changed files with 3 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ namespace OpenWifi {
Poco::Net::HTTPRequest::HTTP_GET,
Poco::Net::HTTPRequest::HTTP_OPTIONS},
Server,
Internal, false, true , RateLimit{.Interval=2000,.MaxCalls=5}) {}
Internal, false, true , RateLimit{.Interval=2000,.MaxCalls=10}) {}
static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/oauth2/{token}","/api/v1/oauth2"}; };
void DoGet() final;
void DoPost() final;