Property | Type | Description | |
---|---|---|---|
$redirectAfterLogout | |||
$redirectPath | |||
$redirectTo | string | Where to redirect users after login. | |
$socialAuthService | |||
$userRepo |
Method | Description | |
---|---|---|
__construct ( |
Create a new controller instance. | |
getLogin ( ) : Illuminate\Http\Response | Show the application login form. | |
getSocialLogin ( $socialDriver ) : |
Redirect to the relevant social site. | |
username ( ) |
Method | Description | |
---|---|---|
authenticated ( Illuminate\Http\Request $request, Illuminate\Contracts\Auth\Authenticatable $user ) : Illuminate\Http\RedirectResponse | Overrides the action when a user is authenticated. |
public __construct ( |
||
$socialAuthService | ||
$userRepo |
protected authenticated ( Illuminate\Http\Request $request, Illuminate\Contracts\Auth\Authenticatable $user ) : Illuminate\Http\RedirectResponse | ||
$request | Illuminate\Http\Request | |
$user | Illuminate\Contracts\Auth\Authenticatable | |
return | Illuminate\Http\RedirectResponse |
public getLogin ( ) : Illuminate\Http\Response | ||
return | Illuminate\Http\Response |
public getSocialLogin ( $socialDriver ) : |
||
$socialDriver | ||
return |
protected string $redirectTo | ||
return | string |