t1mmen/opauth-bitbucket
Composer 安装命令:
composer require t1mmen/opauth-bitbucket
包简介
Opauth strategy for Bitbucket
README 文档
README
Opauth strategy for Bitbucket authentication.
Implemented based on https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html
Getting started
-
Install Opauth-Bitbucket:
Using git:
cd path_to_opauth/Strategy git clone https://github.com/t1mmen/opauth-bitbucket.git bitbucket
Or, using Composer, just add this to your composer.json:
{
"require": {
"t1mmen/opauth-bitbucket": "*"
}
}
Then run composer install.
-
Create Bitbucket application at https://bitbucket.org/account under "Oauth" in left menu. This implementation requires the "email" scope set.
-
Configure Opauth-Bitbucket strategy with at least
Client IDandClient Secret. -
Direct user to
http://path_to_opauth/bitbucketto authenticate
Strategy configuration
Required parameters:
<?php 'Bitbucket' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
License
Opauth-Bitbucket is MIT Licensed Copyright © 2016 Timm Stokke (http://timm.stokke.me)
统计信息
- 总下载量: 35
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-29