opauth / bitbucket
Opauth 的 Bitbucket 策略
0.2.1
2012-09-11 04:35 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is auto-updated.
Last update: 2024-09-15 05:28:43 UTC
README
Opauth 的 Bitbucket 身份验证策略。
基于 OAuth 实现,参考 https://confluence.atlassian.com/display/BITBUCKET/oauth+Endpoint
Opauth 是一个用于 PHP 的多供应商身份验证框架。
入门指南
-
安装 Opauth-Google
cd path_to_opauth/Strategy git clone git://github.com/fancyguy/opauth-bitbucket.git Bitbucket
-
在账户下创建 Bitbucket 集成应用程序,然后在“集成应用程序”中进行创建
- 点击“创建消费者”并输入您的应用程序名称。
- 描述和 URL 是可选的。
-
配置 Opauth-Bitbucket 策略。
-
直接将用户导向
http://path_to_opauth/bitbucket
进行认证
策略配置
所需参数
<?php 'Bitbucket' => array( 'key' => 'YOUR CONSUMER KEY', 'secret' => 'YOUR CONSUMER SECRET' )
许可证
Opauth-Bitbucket 采用 MIT 许可证
版权 © 2012 FancyGuy Technologies (http://www.fancyguy.com)