PHP Класс Adldap\Laravel\Middleware\WindowsAuthenticate

Наследование: use trait Adldap\Laravel\Traits\ImportsUsers
Показать файл Открыть проект

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

Свойство Тип Описание
$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