- 授权协议: AGPL
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://oauth.io/
- 软件文档: https://oauth.io/#/docs
- 官方下载: https://github.com/oauth-io/oauthd
软件介绍
Oauth.io 是一个 Oauth 守护进程,是 OAuth.io 核心的开源版本。这是一个运行在你自己服务器上的后台 API 服务,允许你的客户端通过超过 70 个 OAuth 提供者进行认证。
示例代码:
$('#fb-connect').click(function() {
OAuth.initialize('YOUR_PUBLIC_KEY');
OAuth.popup('facebook',
function(err, res) {
if (err) {
// do something with error
alert(JSON.stringify(err));
return;
}
$('#token').html(res.access_token>)
.parent().show();
});
});
