PHP Класс BookStack\Http\Controllers\Auth\LoginController

Наследование: extends BookStack\Http\Controllers\Controller, use trait Illuminate\Foundation\Auth\AuthenticatesUsers
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$redirectAfterLogout
$redirectPath
$redirectTo string Where to redirect users after login.
$socialAuthService
$userRepo

Открытые методы

Метод Описание
__construct ( SocialAuthService $socialAuthService, UserRepo $userRepo ) Create a new controller instance.
getLogin ( ) : Illuminate\Http\Response Show the application login form.
getSocialLogin ( $socialDriver ) : RedirectResponse Redirect to the relevant social site.
username ( )

Защищенные методы

Метод Описание
authenticated ( Illuminate\Http\Request $request, Illuminate\Contracts\Auth\Authenticatable $user ) : Illuminate\Http\RedirectResponse Overrides the action when a user is authenticated.

Описание методов

__construct() публичный Метод

Create a new controller instance.
public __construct ( SocialAuthService $socialAuthService, UserRepo $userRepo )
$socialAuthService BookStack\Services\SocialAuthService
$userRepo BookStack\Repos\UserRepo

authenticated() защищенный Метод

If the user authenticated but does not exist in the user table we create them.
protected authenticated ( Illuminate\Http\Request $request, Illuminate\Contracts\Auth\Authenticatable $user ) : Illuminate\Http\RedirectResponse
$request Illuminate\Http\Request
$user Illuminate\Contracts\Auth\Authenticatable
Результат Illuminate\Http\RedirectResponse

getLogin() публичный Метод

Show the application login form.
public getLogin ( ) : Illuminate\Http\Response
Результат Illuminate\Http\Response

getSocialLogin() публичный Метод

Redirect to the relevant social site.
public getSocialLogin ( $socialDriver ) : RedirectResponse
$socialDriver
Результат Symfony\Component\HttpFoundation\RedirectResponse

username() публичный Метод

public username ( )

Описание свойств

$redirectAfterLogout защищенное свойство

protected $redirectAfterLogout

$redirectPath защищенное свойство

protected $redirectPath

$redirectTo защищенное свойство

Where to redirect users after login.
protected string $redirectTo
Результат string

$socialAuthService защищенное свойство

protected $socialAuthService

$userRepo защищенное свойство

protected $userRepo