| 1 | <?php |
||
| 11 | class AuthController extends BaseController |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Endpoint action to get Access Token for authentication. |
||
| 15 | * |
||
| 16 | * @Route("/api/auth/login", methods={"POST", "OPTIONS"}); |
||
| 17 | * |
||
| 18 | * @param $authUserRequest AuthUserRequest |
||
| 19 | * @param $authService AuthService |
||
| 20 | * |
||
| 21 | * @throws \LogicException |
||
| 22 | * @throws \Symfony\Component\HttpKernel\Exception\HttpException |
||
| 23 | * |
||
| 24 | * @return JsonResponse |
||
| 25 | */ |
||
| 26 | 4 | public function login(AuthUserRequest $authUserRequest, AuthService $authService) |
|
| 37 | } |
||
| 38 |