src/ShopifyApp/Middleware/AuthShop.php
public function handle(Request $request, Closure $next)
    {
        $validation = $this->validateShop($request);
        if ($validation !== true) {
            return $validation;
        }

        return $this->response($request, $next);
    }
public function handle(Request $request, Closure $next)
    {
        $validation = $this->validateShop($request);
        if ($validation !== true) {
            return $validation;
        }

        return $this->response($request, $next);
    }
public function handle ( Request $ request , Closure $ next ) { $ validation = $ this -> validateShop ( $ request ) ; if ( $ validation !== true ) { return $ validation ; } return $ this -> response ( $ request , $ next ) ; }
Handle an incoming request.

@param \Illuminate\Http\Request $request
@param \Closure                 $next

@return mixed
Handle an incoming request .