I'm looking for a simple OAuth2 client in php. I tried (https://github.com/adoy/PHP-OAuth2), its complex, in fact most of the clients that I checked are complex.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I advice you to give a look to this library PHPoAuthLib (if you didn't yet)
It supports OAuth 1 and 2. You can install it with Composer / Packagist.
There are a lot different implementation examples like twitter, facebook, linkedin etc... You see these examples here.