Class LaravelUi5\Sdk\Http\Middleware\AuthenticateOData

extends Authenticate

Answers an unauthenticated OData or JSON request with a 401 instead of a redirect to the login page.

The SDK's first OData guard. Core's {@see \LaravelUi5\Core\Http\Middleware\EnsureODataAuthenticated} carries the same honest 401, and every host stack uses it instead; this class never had a user.

  • Illuminate\Auth\Middleware\Authenticate
    • LaravelUi5\Sdk\Http\Middleware\AuthenticateOData