How to implement authentication in ZF2
3 answers
Check it:
http://blog.evan.pro/getting-started-with-the-zf2-skeleton-and-zfcuser
This is a good example of how to get a standard skeletal application to work with the zfcUser module to provide exactly what you need.
+1
source to share
http://framework.zend.com/manual/2.0/en/modules/zend.authentication.intro.html
Start by saying .... I was sailing in the same boat as you when I started .. I did not use zfcuser as I thought it was difficult for me to use in the small amount of time I had. But this is the best way to do it.
Check the wiki page for the zfc user.
But you can do something very simple with zf2 authentication instead of writing your own module for it.
-1
source to share