public function getClientDetails($client_id)
    {
        // Get Client
        $client = $this->em->getRepository('OAuth2ServerBundle:Client')->find($client_id);

        if (!$client) {
            return false;
        }

        return array(
            'redirect_uri' => implode(' ', $client->getRedirectUri()),
            'client_id' => $client->getClientId(),
            'grant_types' => $client->getGrantTypes()
        );
    }