Spec-Zone.ru › Laravel 5.8

Авторизация с базовой аутентификацией

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

Свойства

protected Factory $auth Экземпляр фабрики авторизации.

Методы

void __construct(Factory $auth)

Создать новый экземпляр промежуточного программного обеспечения.

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

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

Детали

void __construct(Factory $auth)

Создать новый экземпляр промежуточного программного обеспечения.

Параметры

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/5.8/Illuminate/Auth/Middleware/AuthenticateWithBasicAuth.html

Spec-Zone.ru

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