componenta / auth-password
Password authentication and password-reset HTTP flows for Componenta Auth 3
Requires
- php: ^8.4
- componenta/auth: ^3.0
- componenta/auth-http: ^1.0
- componenta/auth-session: ^1.0
- componenta/auth-session-http: ^2.0.1
- componenta/auth-token: ^1.0
- componenta/identity: ^1.0.1
- componenta/password: ^1.0
- psr/http-factory: ^1.0
- psr/http-message: ^2.0
- psr/http-server-handler: ^1.0
Requires (Dev)
- nyholm/psr7: ^1.8
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^12.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-10 21:18:34 UTC
README
Password authentication for Componenta Auth 3.
The package owns password payload extraction, password verification, browser password login, and password-reset HTTP contracts. Password persistence and application password policy stay with the application/identity model.
Browser login requires a Componenta pre-authentication transaction and always
issues a fresh AuthSession. Remember-me is deliberately a separate
capability.
Version 2 compatibility
Version 2.0.0 requires componenta/auth-session-http ^2.0.1. Its browser
security contract uses componenta/http-csrf-middleware ^3.0, which validates
Origin/Referer on unsafe requests and rejects missing origin metadata by
default. Upgrade the session HTTP and CSRF packages together; do not disable
origin validation to preserve older clients.
See the changelog for migration details. Session issuance continues to use the shared Componenta Auth session APIs; this package does not create an independent session or CSRF stack.