PHP 클래스 Adldap\Laravel\Middleware\WindowsAuthenticate

상속: use trait Adldap\Laravel\Traits\ImportsUsers
파일 보기 프로젝트 열기: adldap2/adldap2-laravel

보호된 프로퍼티들

프로퍼티 타입 설명
$auth Illuminate\Contracts\Auth\Guard The authenticator implementation.

공개 메소드들

메소드 설명
__construct ( Illuminate\Contracts\Auth\Guard $auth ) Create a new filter instance.
createModel ( ) : Model Returns a new auth model instance.
handle ( Illuminate\Http\Request $request, Closure $next ) : mixed Handle an incoming request.
returnNextRequest ( Illuminate\Http\Request $request, Closure $next ) : mixed Returns the next request.

보호된 메소드들

메소드 설명
getWindowsAuthAttribute ( ) : string Returns the windows authentication attribute.
handleAuthenticatedUser ( User $user, Model $model = null ) : void Handle the authenticated user model.
retrieveAuthenticatedUser ( string $key, string $username ) : Illuminate\Contracts\Auth\Authenticatable | null Returns the authenticatable user instance.

메소드 상세

__construct() 공개 메소드

Create a new filter instance.
public __construct ( Illuminate\Contracts\Auth\Guard $auth )
$auth Illuminate\Contracts\Auth\Guard

createModel() 공개 메소드

Returns a new auth model instance.
public createModel ( ) : Model
리턴 Illuminate\Database\Eloquent\Model

getWindowsAuthAttribute() 보호된 메소드

Returns the windows authentication attribute.
protected getWindowsAuthAttribute ( ) : string
리턴 string

handle() 공개 메소드

Handle an incoming request.
public handle ( Illuminate\Http\Request $request, Closure $next ) : mixed
$request Illuminate\Http\Request
$next Closure
리턴 mixed

handleAuthenticatedUser() 보호된 메소드

This method exists to be overridden.
protected handleAuthenticatedUser ( User $user, Model $model = null ) : void
$user Adldap\Models\User
$model Illuminate\Database\Eloquent\Model
리턴 void

retrieveAuthenticatedUser() 보호된 메소드

Returns the authenticatable user instance.
protected retrieveAuthenticatedUser ( string $key, string $username ) : Illuminate\Contracts\Auth\Authenticatable | null
$key string
$username string
리턴 Illuminate\Contracts\Auth\Authenticatable | null

returnNextRequest() 공개 메소드

This method exists to be overridden.
public returnNextRequest ( Illuminate\Http\Request $request, Closure $next ) : mixed
$request Illuminate\Http\Request
$next Closure
리턴 mixed

프로퍼티 상세

$auth 보호되어 있는 프로퍼티

The authenticator implementation.
protected Guard,Illuminate\Contracts\Auth $auth
리턴 Illuminate\Contracts\Auth\Guard