opauth / elance
Opauth 的 Elance 策略
1.0
2014-04-13 18:47 UTC
Requires
- php: >=5.3.0
- opauth/opauth: ~1.0
This package is not auto-updated.
Last update: 2024-09-14 15:32:19 UTC
README
Elance 认证使用的 Opauth 1.0 策略。
基于 https://www.elance.com/q/api2/getting-started 实现
入门
-
安装 Opauth-Elance
cd path/to/app/root composer require opauth/elance:~1.0
-
在 https://www.elance.com/q/api/request-key 请求 Elance API 密钥
-
使用至少
Client ID
和Client Secret
配置 Opauth-Elance 策略。 -
将用户直接引导到
http://path_to_opauth/elance
进行认证
策略配置
必需参数
<?php 'Elance' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' )
目前,scope
参数的有效值仅为 basicInfo
。
有关完整的 Elance API 文档和支持,请参阅 Elance API 指南。
许可证
Opauth-Elance 是 MIT 许可的版权所有 © 2014 Opauth (https://opauth.org)