Hey there,
First, I love this bit of code. Just went to start a project, used your SimpleUser, pretty easy. Wonderful. Then I still have some questions :
Is there any reason you decided not to go with ORM/Doctrine for the User class ? It would make the setup relatively easy to some extent. And mix well with most of the projects out there.
I have seen that the fork from @PKuebler has added a nice userManager options to replace the original userManager from your code, thus making it easy to add some Doctrine Entity Manager :)
More "Technical" stuff (remind that I am relatively new to Silex/Symfony) : I am trying to use your code in connection with AuthBucket/OAuth2-php but for some reason, there is no authentication provider available in $app["security.user_provider.default"]. Is there a thing I didn't understand in other package, I am missing something or is something not registered from your side ?
Update : There seem to be an issue with the token being a RememberMeToken instead of a UsernamePasswordToken for the Authbucket integration
Hey there, First, I love this bit of code. Just went to start a project, used your SimpleUser, pretty easy. Wonderful. Then I still have some questions :
$app["security.user_provider.default"]
. Is there a thing I didn't understand in other package, I am missing something or is something not registered from your side ?Update : There seem to be an issue with the token being a RememberMeToken instead of a UsernamePasswordToken for the Authbucket integration