class UserController extends AbstractController

Main User Controller class

Properties

private ConfigServiceInterface $configService Stores ConfigServiceInterface
private EventDispatcherInterface $dispatcher Stores EventDispatcherInterface
private UserServiceInterface $userService Stores UserServiceInterface

Methods

__construct(ConfigServiceInterface $configService, EventDispatcherInterface $dispatcher, UserServiceInterface $userService)

No description

Redirect
signinRedirect()

Shortcuts to signin Route

Response|JsonResponse
signin(Request $request, AuthenticationUtils $authUtils)

Signin Route

Response
dashboard(Request $request, UserServiceInterface $userService)

Displays the dashboard

Response
checkEmail(Request $request)

Displays the page to inform the user to check its email's inbox

Response
config(Request $request)

Displays the configuration

signout(Request $request)

Route to be defined for logout but everything is in \Listener\LogoutListener.php

Response
help()

Displays the help page

Details

at line 51
__construct(ConfigServiceInterface $configService, EventDispatcherInterface $dispatcher, UserServiceInterface $userService)

Parameters

ConfigServiceInterface $configService
EventDispatcherInterface $dispatcher
UserServiceInterface $userService

at line 72
Redirect signinRedirect()

Shortcuts to signin Route

Return Value

Redirect

at line 85
Response|JsonResponse signin(Request $request, AuthenticationUtils $authUtils)

Signin Route

Parameters

Request $request
AuthenticationUtils $authUtils

Return Value

Response|JsonResponse

at line 132
Response dashboard(Request $request, UserServiceInterface $userService)

Displays the dashboard

Parameters

Request $request
UserServiceInterface $userService

Return Value

Response

Exceptions

AccessDeniedException

at line 166
Response checkEmail(Request $request)

Displays the page to inform the user to check its email's inbox

Parameters

Request $request

Return Value

Response

at line 199
Response config(Request $request)

Displays the configuration

Parameters

Request $request

Return Value

Response

Exceptions

AccessDeniedException

at line 230
signout(Request $request)

Route to be defined for logout but everything is in \Listener\LogoutListener.php

Parameters

Request $request

at line 244
Response help()

Displays the help page

Return Value

Response

Exceptions

AccessDeniedException