CoolCMS API

AuthDebugPresenter extends Presenter
in package

Dev-only helpers for testing the Front JWT auto-refresh flow. Not routed in production (every action refuses when Debugger::$productionMode is true).

Endpoints: GET /script/system/auth-debug/clear-access — wipes front.auth.{token,payload}, keeps refreshToken. Reload a Front page afterwards and AuthStorageTrait should silently refresh, producing TOKEN_REFRESHED in log/auth.log. GET /script/system/auth-debug/clear-all — wipes the whole front.auth section. Next request behaves like an anonymous visit. GET /script/system/auth-debug/dump — JSON dump of current session keys (lengths only for token/refreshToken, not the values).

Table of Contents

Properties

$authStorage  : AuthSessionStorage

Methods

__construct()  : mixed
actionClearAccess()  : void
actionClearAll()  : void
actionDump()  : void
startup()  : void

Properties

Methods

On this page

Search results