Documentation

SecurityController extends AbstractController
in package

Table of Contents

forgottenPassword()  : Response
login()  : Response
logout()  : void
resetPass()  : Response

Methods

forgottenPassword()

public forgottenPassword(Request $request, UsersRepository $usersRepository, TokenGeneratorInterface $tokenGenerator, EntityManagerInterface $entityManager, SendMailService $mail) : Response
Parameters
$request : Request
$usersRepository : UsersRepository
$tokenGenerator : TokenGeneratorInterface
$entityManager : EntityManagerInterface
$mail : SendMailService
Tags
Route

("/oublie-pass", name="forgotten_password")

Return values
Response

login()

public login(AuthenticationUtils $authenticationUtils) : Response
Parameters
$authenticationUtils : AuthenticationUtils
Tags
Route

(path="/connexion", name="app_login")

Return values
Response

logout()

public logout() : void
Tags
Route

(path="/deconnexion", name="app_logout")

Return values
void

resetPass()

public resetPass(string $token, Request $request, UsersRepository $usersRepository, EntityManagerInterface $entityManager, UserPasswordHasherInterface $hasher) : Response
Parameters
$token : string
$request : Request
$usersRepository : UsersRepository
$entityManager : EntityManagerInterface
$hasher : UserPasswordHasherInterface
Tags
Route

("/oublie-pass/{token}", name="reset_pass")

Return values
Response

Search results