FOSRestBundle + FOSUserBundle

Discuss Symfony 2 bundles here

Moderators: dcobalt, tiagojsag

FOSRestBundle + FOSUserBundle

Postby bass_rock » Thu Apr 12, 2012 9:09 am

Does anyone have an example or any idea how one would implement the FOSRestBundle together along with the FOSUserBundle. I have a Web app already developed with Symfony 2 and the FOSUserBundle, but I would like to add the FOSRestBundle for an api layer. I want to be able to pass it a username and password and receive some type of token from the FOSUserBundle that represents the logged in user that I can then pass and forth between other api calls. Does anyone know of a good way to do this?

Thanks in advance,

Daniel
bass_rock
Junior Member
 
Posts: 16
Joined: Fri Oct 28, 2011 8:27 am

Return to Bundles discussion

Who is online

Users browsing this forum: No registered users and 2 guests