AnonRateLimit.php 468 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\AppFramework\Http\Attribute;
  8. use Attribute;
  9. /**
  10. * Attribute for controller methods that want to limit the times a not logged-in
  11. * guest can call the endpoint in a given time period.
  12. *
  13. * @since 27.0.0
  14. */
  15. #[Attribute(Attribute::TARGET_METHOD)]
  16. class AnonRateLimit extends ARateLimit {
  17. }