AuthMiddleware
in package
class Auth Middleware
Check if user is authenticated with main Sellerpoint API
Table of Contents
Methods
- handle() : Response
- Check if incoming request carries valid bearer token by sending request headers to main API auth check route
Methods
handle()
Check if incoming request carries valid bearer token by sending request headers to main API auth check route
public
handle(Request $request, callable(Request): Response $next) : Response
Parameters
- $request : Request
- $next : callable(Request): Response