jonnybarnes.uk/app/Http/Middleware
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonny Barnes d5706b5f8f
Replace JWT Micropub tokens with revocable opaque tokens
Tokens now store a hashed row in micropub_tokens instead of being
self-contained signed JWTs, so a leaked or unwanted token can actually
be revoked. Since revocation already requires a DB lookup on every
request, JWT's stateless-verification benefit was gone anyway, so this
also drops the lcobucci/jwt dependency entirely.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014625MfkGZ7GVdbqKme4a8L
2026-08-13 16:07:07 +01:00
..
Authenticate.php Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
CorsHeaders.php Remove psalm annotations 2025-04-10 20:09:36 +01:00
EncryptCookies.php Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
LinkHeadersMiddleware.php Upgrade to Laravel 13 2026-04-07 09:01:19 +01:00
LocalhostSessionMiddleware.php Remove psalm annotations 2025-04-10 20:09:36 +01:00
LogMicropubRequest.php Refactor of micropub request handling 2025-04-27 16:38:25 +01:00
MyAuthMiddleware.php Remove psalm annotations 2025-04-10 20:09:36 +01:00
PreventRequestsDuringMaintenance.php Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
RedirectIfAuthenticated.php Upgrade to Laravel 13 2026-04-07 09:01:19 +01:00
TrimStrings.php Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
TrustHosts.php Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
TrustProxies.php Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
ValidateSignature.php Remove psalm annotations 2025-04-10 20:09:36 +01:00
VerifyCsrfToken.php Upgrade to Laravel 10 2023-02-18 09:34:57 +00:00
VerifyMicropubToken.php Replace JWT Micropub tokens with revocable opaque tokens 2026-08-13 16:07:07 +01:00