Spec-Zone.ru › Laravel 6

AuthenticateWithBasicAuth

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

Свойства

защищенный Factory $auth

Экземпляр фабрики защиты.

Методы

void __construct(Factory $auth)

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

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

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

Детали

void __construct(Factory $auth)

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

Параметры

Factory $auth

Значение результата

void

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

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

Параметры

Request $request
Closure $next
string|null $guard
string|null $field

Значение результата

mixed

Исключения

UnauthorizedHttpException

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

Spec-Zone.ru

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