• Flarum
  • Forum
  • PHP
  • JS
  • Classes
  • Namespaces
  • Interfaces
  • Traits
  • Index
  • Search

Flarum\Http\Middleware  

Classes

AuthenticateWithHeader
AuthenticateWithSession
CheckCsrfToken
CollectGarbage
ContentTypeOptionsHeader
ExecuteRoute
FlarumPromotionHeader
HandleErrors

Catch exceptions thrown in a PSR-15 middleware stack and handle them safely.

InjectActorReference
ParseJsonBody
ProcessIp
ReferrerPolicyHeader
RememberFromCookie
ResolveRoute
SetLocale
ShareErrorsFromSession

Inspired by Illuminate\View\Middleware\ShareErrorsFromSession.

StartSession

Generated by Doctum, a API Documentation generator and fork of Sami.

Flarum API Docs created by @datitisev. Source code can be found on GitHub.