有一个简单的OAuth2客户端的PHP? [英] Is there a simple OAuth2 client for php?

查看:138
本文介绍了有一个简单的OAuth2客户端的PHP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找在PHP一个简单的OAuth2客户端。我试过( https://github.com/adoy/PHP-OAuth2 ),其复杂的,其实大部分的我检查的客户是复杂的。

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.

推荐答案

我建议你给看看这个库 PHPoAuthLib (如果你还没有把)

I advice you to give a look to this library PHPoAuthLib (if you didn't yet)

它支持OAuth的1和2可以使用作曲 /的 Packagist

It supports OAuth 1 and 2. You can install it with Composer / Packagist.

有许多不同的实现示例如Twitter,Facebook和LinkedIn等..你在这里看到这些例子

There are a lot different implementation examples like twitter, facebook, linkedin etc... You see these examples here.

这篇关于有一个简单的OAuth2客户端的PHP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆