PHP 클래스 App\Http\Middleware\LoginAs

파일 보기 프로젝트 열기: spatie-custom/blender

공개 메소드들

메소드 설명
handle ( $request, Closure $next )

보호된 메소드들

메소드 설명
canLoginAs ( ) : boolean
getUser ( string $identifier ) : Illuminate\Contracts\Auth\Authenticatable
loginAsAndRedirect ( string $identifier )

메소드 상세

canLoginAs() 보호된 메소드

protected canLoginAs ( ) : boolean
리턴 boolean

getUser() 보호된 메소드

protected getUser ( string $identifier ) : Illuminate\Contracts\Auth\Authenticatable
$identifier string
리턴 Illuminate\Contracts\Auth\Authenticatable

handle() 공개 메소드

public handle ( $request, Closure $next )
$next Closure

loginAsAndRedirect() 보호된 메소드

protected loginAsAndRedirect ( string $identifier )
$identifier string