hwi/HWIOAuthBundle — pull request #9 by vbardales (2012-05-10 13:15:31+00:00)
Title: Add oAuthToken to parameters in serialization and unserialization

Session keeps oAuthToken by serializing and unserializing, but accessToken is not kept. In order to keep it in security context (useful for more api's call on services), it can be useful to keep it, like the user, in the security context.

To do so, adding accessToken to the token parameters (serialized) is a useful trick avoiding to redeclare all token class.