I am building my own application based on an external CAS service. I would like to authenticate the user using the external CAS first then allow them to use my application.
However, I am reading off the documentation on phpCAS but I am not sure how I can do it in a restful way.
What I need is some token to give to my frontend javascript, and each time the user makes a request I would check that token against CAS to make sure the user is authenticated. Is there a way to do that?
I have read about ticket and proxies but I didn't understand... sorry for my newbieness hope you don't mind.