zf-fr/zfr-oauth2-server — pull request #15 by bakura10 (2014-05-14 10:05:08+00:00)
Title: Reduce code duplication

ping @mac_nibblet @Ocramius

This PR aims to reduce code duplication for generating the token response (I'm not 100% happy with the naming of "createTokenResponse" and "prepareTokenResponse" though).

You can also see that I add the access token as a metadata of the response. This will be used by the ZF2 module to enable event manager.

If this can be reviewed asap I'd be happy =).