Spec-Zone.ru › Laravel 8

RequirePassword

класс RequirePassword (Просмотреть исходный код)

Свойства

protected ResponseFactory$responseFactory

Экземпляр фабрики ответов.

protected UrlGenerator$urlGenerator

Экземпляр генератора URL.

protected int$passwordTimeout

Срок действия пароля.

Методы

void __construct(ResponseFactory $responseFactory, UrlGenerator $urlGenerator, int|null $passwordTimeout = null)

Создать новый экземпляр мидлвари.

mixed handle(Request $request, Closure $next, string|null $redirectToRoute = null)

Обработать входящий запрос.

bool shouldConfirmPassword(Request $request)

Определить, истек ли срок подтверждения.

Подробное описание

void __construct(ResponseFactory $responseFactory, UrlGenerator $urlGenerator, int|null $passwordTimeout = null)

Создать новый экземпляр мидлвари.

Параметры

ResponseFactory $responseFactory
UrlGenerator $urlGenerator
int|null $passwordTimeout

Возвращаемое значение

void

mixed handle(Request $request, Closure $next, string|null $redirectToRoute = null)

Обработать входящий запрос.

Параметры

Request $request
Closure $next
string|null $redirectToRoute

Возвращаемое значение

mixed

protected bool shouldConfirmPassword(Request $request)

Определить, истек ли срок подтверждения.

Параметры

Request $request

Возвращаемое значение

bool

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Auth/Middleware/RequirePassword.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API