Buffalo Eats Online API Documentation

AuthMiddleware extends Middleware
in package

Generic authentication middleware with configurable guard.

Tags
author

J.J. Johnson visionquest716@gmail.com

copyright

2026 VisionQuestServices LLC

Table of Contents

Properties

$guard  : string
$redirectTo  : string

Methods

handle()  : bool
Handle the request by checking authentication.

Properties

$guard

protected string $guard = 'client'

The auth guard to check

$redirectTo

protected string $redirectTo = '/client/login'

Redirect URL if not authenticated

Methods

handle()

Handle the request by checking authentication.

public handle([array<string|int, mixed> $params = [] ]) : bool
Parameters
$params : array<string|int, mixed> = []

Route parameters

Return values
bool

        
On this page

Search results