Skip to content

Conversation

@distantnative
Copy link
Member

Description

Creating a new namespace Kirby\Auth where we will create all future auth-related classes. And eventually move the existing auth classes there.

Starting with a Limits class to pull out the rate-limiting logic out of the Auth class.

Changelog

♻️ Refactored

  • New Kirby\Auth\Limits class
  • New Kirby\Auth\Exception\RateLimitException

☠️ Deprecated

  • Kirby\Cms\Auth::checkRateLimit(), Kirby\Cms\Auth::isBlocked(), Kirby\Cms\Auth::log(), Kirby\Cms\Auth::logfile() and Kirby\Cms\Auth::track() have been deprecated. use $auth->limits() and the respective method.

For review team

  • Add changes & docs to release notes draft in Notion

@distantnative distantnative self-assigned this Dec 30, 2025
@distantnative distantnative mentioned this pull request Dec 30, 2025
4 tasks
@distantnative distantnative force-pushed the v6/refact/auth-limits branch 3 times, most recently from f5cde23 to 91385d7 Compare December 30, 2025 14:23
@distantnative distantnative marked this pull request as ready for review December 30, 2025 14:41
@distantnative distantnative requested a review from a team December 30, 2025 14:41
@distantnative distantnative mentioned this pull request Dec 30, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants