PHP Class App\Http\Controllers\Back\Auth\LoginController

Inheritance: extends app\http\controllers\Controller, use trait Illuminate\Foundation\Auth\AuthenticatesUsers
Show file Open project: spatie-custom/blender

Protected Properties

Property Type Description
$redirectTo string Where to redirect users after login / registration.

Public Methods

Method Description
__construct ( ) Create a new controller instance.
broker ( ) : Illuminate\Contracts\Auth\PasswordBroker Get the broker to be used during password reset.
logout ( Illuminate\Http\Request $request ) : Illuminate\Http\Response Log the user out of the application.
showLoginForm ( ) : Illuminate\Http\Response Show the application's login form.

Protected Methods

Method Description
guard ( )

Method Details

__construct() public method

Create a new controller instance.
public __construct ( )

broker() public method

Get the broker to be used during password reset.
public broker ( ) : Illuminate\Contracts\Auth\PasswordBroker
return Illuminate\Contracts\Auth\PasswordBroker

guard() protected method

protected guard ( )

logout() public method

Log the user out of the application.
public logout ( Illuminate\Http\Request $request ) : Illuminate\Http\Response
$request Illuminate\Http\Request
return Illuminate\Http\Response

showLoginForm() public method

Show the application's login form.
public showLoginForm ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

Property Details

$redirectTo protected property

Where to redirect users after login / registration.
protected string $redirectTo
return string