PHP Trait Krucas\LaravelUserEmailVerification\AuthenticatesUsers

Inheritance: use trait RedirectsUsers, use trait Illuminate\Foundation\Auth\RedirectsUsers
ファイルを表示 Open project: edvinaskrucas/laravel-user-email-verification

Public Methods

Method Description
authenticated ( Illuminate\Http\Request $request, Krucas\LaravelUserEmailVerification\Contracts\RequiresEmailVerification $user ) : Illuminate\Http\RedirectResponse | Redirector Check if user is verified or not.

Protected Methods

Method Description
getGuard ( ) : string | null Get the guard to be used during verification.

Method Details

authenticated() public method

Check if user is verified or not.
public authenticated ( Illuminate\Http\Request $request, Krucas\LaravelUserEmailVerification\Contracts\RequiresEmailVerification $user ) : Illuminate\Http\RedirectResponse | Redirector
$request Illuminate\Http\Request
$user Krucas\LaravelUserEmailVerification\Contracts\RequiresEmailVerification
return Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector

getGuard() protected method

Get the guard to be used during verification.
protected getGuard ( ) : string | null
return string | null