Spec-Zone.ru › Laravel 7

AuthenticateWithBasicAuth

class AuthenticateWithBasicAuth (View source)

Свойства

protected Factory$auth

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

Методы

void__construct(Factory $auth)

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

mixedhandle(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/7.x/Illuminate/Auth/Middleware/AuthenticateWithBasicAuth.html

Spec-Zone.ru

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