\App\Http\MiddlewareJWTRoleAuth

Summary

Methods
Properties
Constants
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

handle()

handle(\Illuminate\Http\Request  $request, \Closure  $next, null  $role = null) : mixed

Handle an incoming request.

Parameters

\Illuminate\Http\Request $request
\Closure $next
null $role

Throws

\Illuminate\Auth\Access\AuthorizationException

Returns

mixed