public function generateTokenByUser($user)
    {
        return $this->builder
                    ->set('user', $user)
                    ->sign(new Sha256(), env('JWT_SECRET'))
                    ->getToken();
    }