class LoginController extends Controller

Traits

AuthenticatesUsers
AuthorizesRequests
ValidatesRequests

Properties

protected string $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

in Controller at line 21
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 line 41
void __construct()

Create a new controller instance.

Return Value

void

at line 52
protected array credentials(Request $request)

Get the needed authorization credentials from the request.

Parameters

Request $request

Return Value

array

at line 68
protected bool attemptLogin(Request $request)

Attempt to log the user into the application.

Parameters

Request $request

Return Value

bool