Implement an anonymous account service for looking up accounts

This commit is contained in:
Jon Chambers
2023-08-11 11:59:12 -04:00
committed by Jon Chambers
parent eaa868cf06
commit 601e9eebbd
6 changed files with 445 additions and 1 deletions

View File

@@ -163,6 +163,10 @@ public class RateLimiters extends BaseRateLimiters<RateLimiters.For> {
return forDescriptor(For.USERNAME_LOOKUP);
}
public RateLimiter getUsernameLinkLookupLimiter() {
return forDescriptor(For.USERNAME_LINK_LOOKUP_PER_IP);
}
public RateLimiter getUsernameSetLimiter() {
return forDescriptor(For.USERNAME_SET);
}