FrontendUserAuthenticator implements MiddlewareInterface, LoggerAwareInterface uses LoggerAwareTrait

This middleware authenticates a Frontend User (fe_users).

Table of Contents

Interfaces

MiddlewareInterface
LoggerAwareInterface

Properties

$context  : Context
$eventDispatcher  : EventDispatcherInterface
$rateLimiterFactory  : RateLimiterFactory

Methods

__construct()  : mixed
process()  : ResponseInterface
Creates a frontend user authentication object, tries to authenticate a user and stores it in the current request as attribute.
ensureLoginRateLimit()  : LimiterInterface|null
sessionGarbageCollection()  : void
Garbage collection for fe_sessions (with a probability)

Properties

$eventDispatcher read-only

protected EventDispatcherInterface $eventDispatcher

Methods

process()

Creates a frontend user authentication object, tries to authenticate a user and stores it in the current request as attribute.

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

sessionGarbageCollection()

Garbage collection for fe_sessions (with a probability)

protected sessionGarbageCollection() : void

        
On this page

Search results