PHP Class Adldap\Laravel\Middleware\WindowsAuthenticate

Inheritance: use trait Adldap\Laravel\Traits\ImportsUsers
Afficher le fichier Open project: adldap2/adldap2-laravel

Protected Properties

Свойство Type Description
$auth Illuminate\Contracts\Auth\Guard The authenticator implementation.

Méthodes publiques

Méthode Description
__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.

Méthodes protégées

Méthode Description
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.

Method Details

__construct() public méthode

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

createModel() public méthode

Returns a new auth model instance.
public createModel ( ) : Model
Résultat Illuminate\Database\Eloquent\Model

getWindowsAuthAttribute() protected méthode

Returns the windows authentication attribute.
protected getWindowsAuthAttribute ( ) : string
Résultat string

handle() public méthode

Handle an incoming request.
public handle ( Illuminate\Http\Request $request, Closure $next ) : mixed
$request Illuminate\Http\Request
$next Closure
Résultat mixed

handleAuthenticatedUser() protected méthode

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

retrieveAuthenticatedUser() protected méthode

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

returnNextRequest() public méthode

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

Property Details

$auth protected_oe property

The authenticator implementation.
protected Guard,Illuminate\Contracts\Auth $auth
Résultat Illuminate\Contracts\Auth\Guard