class Illuminate / Auth / Middleware / RequirePassword
You are viewing an older version of the documentation. For the latest, please visit master documentation.

RequirePassword

Properties

protected

$responseFactory ResponseFactory

The response factory instance.

Default: null
protected

$urlGenerator UrlGenerator

The URL generator instance.

Default: null
protected

$passwordTimeout int

The password timeout.

Default: null

Methods

public

__construct ( ResponseFactory $responseFactory , UrlGenerator $urlGenerator , $passwordTimeout ) : void

Create a new middleware instance.

Parameters

public

handle ( $request , Closure $next , $redirectToRoute ) : mixed

Handle an incoming request.

Parameters

protected

shouldConfirmPassword ( $request ) : bool

Determine if the confirmation timeout has expired.

Parameters