PHP 클래스 BookStack\Http\Controllers\Auth\LoginController

상속: extends BookStack\Http\Controllers\Controller, use trait Illuminate\Foundation\Auth\AuthenticatesUsers
파일 보기 프로젝트 열기: ssddanbrown/bookstack

보호된 프로퍼티들

프로퍼티 타입 설명
$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