FriendsOfSymfony/FOSUserBundle — pull request #699 by stof (2012-07-07 11:44:01+00:00)
Title: Token generator

This moves the token generation out of the User class as it should not be its responsibility.
This refactoring allows to solve #489 too.

Once https://github.com/symfony/symfony/pull/4763 is merged, we will be able to use it instead of implementing the logic ourself (and the symfony PR implements a stronger logic for the case where openssl is not available).