public function unsetRefreshToken($refresh_token)
    {
        $refreshToken = $this->em->getRepository('OAuth2ServerBundle:RefreshToken')->find($refresh_token);
        $this->em->remove($refreshToken);
        $this->em->flush();
    }