114 lines
2.8 KiB
YAML
114 lines
2.8 KiB
YAML
|
name: RequirePassword
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: Closure
|
||
|
type: class
|
||
|
source: Closure
|
||
|
- name: ResponseFactory
|
||
|
type: class
|
||
|
source: Illuminate\Contracts\Routing\ResponseFactory
|
||
|
- name: UrlGenerator
|
||
|
type: class
|
||
|
source: Illuminate\Contracts\Routing\UrlGenerator
|
||
|
properties:
|
||
|
- name: responseFactory
|
||
|
visibility: protected
|
||
|
comment: '# * The response factory instance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var \Illuminate\Contracts\Routing\ResponseFactory'
|
||
|
- name: urlGenerator
|
||
|
visibility: protected
|
||
|
comment: '# * The URL generator instance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var \Illuminate\Contracts\Routing\UrlGenerator'
|
||
|
- name: passwordTimeout
|
||
|
visibility: protected
|
||
|
comment: '# * The password timeout.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var int'
|
||
|
methods:
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: responseFactory
|
||
|
- name: urlGenerator
|
||
|
- name: passwordTimeout
|
||
|
default: 'null'
|
||
|
comment: "# * The response factory instance.\n# *\n# * @var \\Illuminate\\Contracts\\\
|
||
|
Routing\\ResponseFactory\n# */\n# protected $responseFactory;\n# \n# /**\n# *\
|
||
|
\ The URL generator instance.\n# *\n# * @var \\Illuminate\\Contracts\\Routing\\\
|
||
|
UrlGenerator\n# */\n# protected $urlGenerator;\n# \n# /**\n# * The password timeout.\n\
|
||
|
# *\n# * @var int\n# */\n# protected $passwordTimeout;\n# \n# /**\n# * Create\
|
||
|
\ a new middleware instance.\n# *\n# * @param \\Illuminate\\Contracts\\Routing\\\
|
||
|
ResponseFactory $responseFactory\n# * @param \\Illuminate\\Contracts\\Routing\\\
|
||
|
UrlGenerator $urlGenerator\n# * @param int|null $passwordTimeout\n# * @return\
|
||
|
\ void"
|
||
|
- name: using
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: redirectToRoute
|
||
|
default: 'null'
|
||
|
- name: passwordTimeoutSeconds
|
||
|
default: 'null'
|
||
|
comment: '# * Specify the redirect route and timeout for the middleware.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string|null $redirectToRoute
|
||
|
|
||
|
# * @param string|int|null $passwordTimeoutSeconds
|
||
|
|
||
|
# * @return string
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @named-arguments-supported'
|
||
|
- name: handle
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: request
|
||
|
- name: next
|
||
|
- name: redirectToRoute
|
||
|
default: 'null'
|
||
|
- name: passwordTimeoutSeconds
|
||
|
default: 'null'
|
||
|
comment: '# * Handle an incoming request.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param \Illuminate\Http\Request $request
|
||
|
|
||
|
# * @param \Closure $next
|
||
|
|
||
|
# * @param string|null $redirectToRoute
|
||
|
|
||
|
# * @param string|int|null $passwordTimeoutSeconds
|
||
|
|
||
|
# * @return mixed'
|
||
|
- name: shouldConfirmPassword
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: request
|
||
|
- name: passwordTimeoutSeconds
|
||
|
default: 'null'
|
||
|
comment: '# * Determine if the confirmation timeout has expired.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param \Illuminate\Http\Request $request
|
||
|
|
||
|
# * @param int|null $passwordTimeoutSeconds
|
||
|
|
||
|
# * @return bool'
|
||
|
traits:
|
||
|
- Closure
|
||
|
- Illuminate\Contracts\Routing\ResponseFactory
|
||
|
- Illuminate\Contracts\Routing\UrlGenerator
|
||
|
interfaces: []
|