App\Exceptions\OAuthExceptionHandler::invalidClient PHP Method

invalidClient() protected method

protected invalidClient ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed
    protected function invalidClient(OAuthException $e)
    {
        return Response::make(['errors' => ['status' => '401', 'code' => 'InvalidClient', 'title' => 'Invalid Client', 'detail' => 'The client requesting the information is not registered in the API']], 401);
    }