class LogOutController implements RequestHandlerInterface

Properties

protected Dispatcher $events
protected SessionAuthenticator $authenticator
protected Rememberer $rememberer
protected Factory $view
protected UrlGenerator $url
protected Config $config

Methods

__construct(Dispatcher $events, SessionAuthenticator $authenticator, Rememberer $rememberer, Factory $view, UrlGenerator $url, Config $config)

No description

ResponseInterface
handle(ServerRequestInterface $request)

No description

Uri
sanitizeReturnUrl(string $url, string $base)

No description

array
getAllowedRedirectDomains()

No description

Details

__construct(Dispatcher $events, SessionAuthenticator $authenticator, Rememberer $rememberer, Factory $view, UrlGenerator $url, Config $config)

Parameters

Dispatcher $events
SessionAuthenticator $authenticator
Rememberer $rememberer
Factory $view
UrlGenerator $url
Config $config

ResponseInterface handle(ServerRequestInterface $request)

Parameters

ServerRequestInterface $request

Return Value

ResponseInterface

Exceptions

TokenMismatchException

protected Uri sanitizeReturnUrl(string $url, string $base)

Parameters

string $url
string $base

Return Value

Uri

protected array getAllowedRedirectDomains()

Return Value

array