Open LabiciIvan opened 1 month ago
Description:
Create an AuthenticationController::class in the App/Controller/ directory.
AuthenticationController::class
App/Controller/
It will use as a dependency the Request::class and Authentication::class to facilitate the authentication of users into the application.
Request::class
Authentication::class
AuthenticationController::class should have the following capabilities:
This class will have the following method capabilities:
public function register(Request $request, Authentication $auth):
public function register(Request $request, Authentication $auth)
public function login (Request $request):
public function login (Request $request)
public function logout(Request $request):
public function logout(Request $request)
public function update (Request $request):
public function delete(Request $request):
public function delete(Request $request)
Description:
Create an
AuthenticationController::class
in theApp/Controller/
directory.It will use as a dependency the
Request::class
andAuthentication::class
to facilitate the authentication of users into the application.AuthenticationController::class
should have the following capabilities:This class will have the following method capabilities:
public function register(Request $request, Authentication $auth)
:public function login (Request $request)
:public function logout(Request $request)
:public function update (Request $request):
public function delete(Request $request)
: