Alright I am trying to set up an OAuth Provider in PHP, but I just cannot get the hang of it. I've been referenced to this page a number of times, but I cannot wrap my head around it. Could someone help me out, step by step, or reference me to a more direct guide? Thank you very much.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
http://djpate.com/2011/01/13/how-to-write-a-complete-oauth-provider-in-php5 thast a pretty good tutorial to get a clue on the provider side
回答2:
Pate's is good and here is another one by Rasmus:
http://toys.lerdorf.com/archives/55-Writing-an-OAuth-Provider-Service.html
回答3:
I usually use the Zend_OAuth component (the whole 2 times ive implemented it, haha). The manual has some pretty clear instructions. This tutorial for it might also be helpful.