Search by

pantono / authentication

csburton

Authentication Module for Pantono

Package info

github.com/pantono/authentication

pkg:composer/pantono/authentication

Statistics

Installs: 623

Dependents: 4

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.187 2026-11-28 11:50 UTC

README

Pantono Authentication module

Session and token cookies

Login (including each two-factor stage) and logout regenerate the session ID while preserving unrelated session attributes. The pnto-token cookie is HttpOnly and uses session.cookie_secure (default true) and session.cookie_samesite (lax, strict, or none; default lax). none requires a secure cookie. The cookie uses path / and is host-only; its lifetime remains one year.

Applications implementing CSRF protection can rotate their session-bound token on PostUserLoginEvent, PostUserLogoutEvent, and PostTwoFactorLoginInitiatedEvent. Each event exposes the migrated session via getSession(). The CSRF manager, its configuration, and HTTP 403 responses are provided by core, not this package.