PHP Class App\Http\Middleware\LoginAs

Afficher le fichier Open project: spatie-custom/blender

Méthodes publiques

Méthode Description
handle ( $request, Closure $next )

Méthodes protégées

Méthode Description
canLoginAs ( ) : boolean
getUser ( string $identifier ) : Illuminate\Contracts\Auth\Authenticatable
loginAsAndRedirect ( string $identifier )

Method Details

canLoginAs() protected méthode

protected canLoginAs ( ) : boolean
Résultat boolean

getUser() protected méthode

protected getUser ( string $identifier ) : Illuminate\Contracts\Auth\Authenticatable
$identifier string
Résultat Illuminate\Contracts\Auth\Authenticatable

handle() public méthode

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

loginAsAndRedirect() protected méthode

protected loginAsAndRedirect ( string $identifier )
$identifier string