AuthPlugin
Registers the authentication foundation: a default PasswordHasherInterface, an empty (no-op) default FirewallMap, and two AuthenticationMiddleware placements (StatelessAuthenticationMiddleware before Quiote\Middleware\SessionMiddleware, so a machine token can flip a request to sessionless before session startup; SessionAuthenticationMiddleware before Quiote\Middleware\SecurityMiddleware, so a successful login is visible to the same request’s authorization decision).
The default FirewallMap has zero firewalls, so both middleware are a complete no-op until an app registers its own FirewallMap (built either by hand or via FirewallFactory from a security.xml) as an earlier-registered service() — see PluginRegistrar::service()’s set-if-absent, first-plugin-wins rule.
Synopsis
Section titled “Synopsis”final class AuthPlugin implements PluginInterface
| Implements | PluginInterface |
| Since | 1.0.0 |
| Source | AuthPlugin.php |
Methods
Section titled “Methods”| Method | Description |
|---|---|
register(PluginRegistrar $registrar): void |
register()
Section titled “register()”public function register(PluginRegistrar $registrar): void
The framework’s plugin-contribution API.
| Parameter | Type | Description |
|---|---|---|
$registrar | PluginRegistrar | The framework’s plugin-contribution API. |