I'm looking into writing an PHP REST API that would allow registered users interact with the web service from third party applications.
What I need the API to be able to do is:
I was wondering what would be a good framework or library to start from that provides a good basis for such a service.
titel
Sounds like an OAuthProvider would do what you describe. Here are some tutorials on how to make an OAuthProvider using PHP's OAuth module.
http://toys.lerdorf.com/archives/55-Writing-an-OAuth-Provider-Service.html
http://djpate.com/2011/01/13/how-to-write-a-complete-oauth-provider-in-php5/
您可以尝试http://oauth.net/code上列出的PHP的OAuth库之一
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.