Searched refs:rate_limit_service (Results 1 – 4 of 4) sorted by relevance
/webtrees/tests/app/Services/ |
H A D | RateLimitServiceTest.php | 38 $rate_limit_service = new RateLimitService(); 44 $rate_limit_service->limitRateForUser($user, 1000, 30, 'rate-limit'); 49 $rate_limit_service = new RateLimitService(); 53 $rate_limit_service->limitRateForUser($user, 3, 30, 'rate-limit'); 57 $rate_limit_service->limitRateForUser($user, 3, 30, 'rate-limit'); 61 $rate_limit_service->limitRateForUser($user, 3, 30, 'rate-limit'); 68 $rate_limit_service = new RateLimitService(); 75 $rate_limit_service->limitRateForUser($user, 5, 30, 'rate-limit'); 82 $rate_limit_service = new RateLimitService(); 90 $rate_limit_service->limitRateForUser($user, 5, 30, 'rate-limit');
|
/webtrees/app/Http/RequestHandlers/ |
H A D | PasswordRequestAction.php | 59 private RateLimitService $rate_limit_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\PasswordRequestAction 65 * @param RateLimitService $rate_limit_service 70 RateLimitService $rate_limit_service, argument 74 $this->rate_limit_service = $rate_limit_service; 90 …$this->rate_limit_service->limitRateForUser($user, self::RATE_LIMIT_REQUESTS, self::RATE_LIMIT_SEC…
|
H A D | ContactAction.php | 58 private RateLimitService $rate_limit_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\ContactAction 66 * @param RateLimitService $rate_limit_service 73 RateLimitService $rate_limit_service, argument 79 $this->rate_limit_service = $rate_limit_service; 141 $this->rate_limit_service->limitRateForUser($to_user, 20, 1200, 'rate-limit-contact');
|
H A D | RegisterAction.php | 60 private RateLimitService $rate_limit_service; variable in Fisharebest\\Webtrees\\Http\\RequestHandlers\\RegisterAction 67 * @param RateLimitService $rate_limit_service 73 RateLimitService $rate_limit_service, argument 78 $this->rate_limit_service = $rate_limit_service; 122 $this->rate_limit_service->limitRateForSite(5, 300, 'rate-limit-registration');
|