Documentation

AbstractRememberMeHandler
in package
implements RememberMeHandlerInterface

AbstractYes
Tags
author

Wouter de Jong wouter@wouterj.nl

Table of Contents

Interfaces

RememberMeHandlerInterface
Handles creating and validating remember-me cookies.

Properties

$logger  : mixed
$options  : mixed
$requestStack  : mixed
$userProvider  : mixed

Methods

__construct()  : mixed
clearRememberMeCookie()  : void
Clears the remember-me cookie.
consumeRememberMeCookie()  : UserInterface
Validates the remember-me cookie and returns the associated User.
createCookie()  : mixed
Creates the remember-me cookie using the correct configuration.
processRememberMe()  : void
Checks if the RememberMeDetails is a valid cookie to login the given User.

Properties

Methods

processRememberMe()

Checks if the RememberMeDetails is a valid cookie to login the given User.

protected abstract processRememberMe(RememberMeDetails $rememberMeDetails, UserInterface $user) : void

This method should also:

  • Create a new remember-me cookie to be sent with the response (using createCookie());
  • If you store the token somewhere else (e.g. in a database), invalidate the stored token.
Parameters
$rememberMeDetails : RememberMeDetails
$user : UserInterface
Tags
throws
AuthenticationException

If the remember-me details are not accepted


        
On this page

Search results