class LoginController extendsController

Traits

AuthenticatesUsers
AuthorizesRequests
ValidatesRequests

Properties

protectedstring $redirectTo Where to redirect users after login / registration.

Methods

bool
isAutomatedRequest(Request$request =null)

Determines if the request was done by an automated script (with API token or ajax).

void
__construct()

Create a new controller instance.

array
credentials(Request$request)

Get the needed authorization credentials from the request.

bool
attemptLogin(Request$request)

Attempt to log the user into the application.

Details

inControllerat line21
bool isAutomatedRequest(Request$request =null)

Determines if the request was done by an automated script (with API token or ajax).

Parameters

Request $request

Return Value

bool

at line39
void __construct()

Create a new controller instance.

Return Value

void

at line50
protectedarray credentials(Request$request)

Get the needed authorization credentials from the request.

Parameters

Request $request

Return Value

array

at line66
protectedbool attemptLogin(Request$request)

Attempt to log the user into the application.

Parameters

Request $request

Return Value

bool