Set up a PHP OAuth Provider

2019-01-17 04:38发布

问题:

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.