rixtellab / opauth-frype
Opauth的Frype(draugiem.lv)策略
dev-master
2015-09-03 17:22 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-09-24 04:04:49 UTC
README
Opauth为Frype(draugiem.lv)认证的策略。
基于https://www.draugiem.lv/applications/dev/docs/passport/实现
入门
- a. 使用git安装Opauth-Frype
cd path_to_opauth/Strategy git clone https://github.com/picolablv/opauth-frype.git Frype
- b. 使用composer安装Opauth-Frype。在你的composer.json文件中添加
{
"require" : {
"opauth/opauth": ">=0.2.0",
"picolablv/opauth-frype": "dev-master"
}
}
-
在https://www.draugiem.lv/applications/dev/create/创建Frype(Draugiem.lv)通行证应用程序
-
至少配置
App id
和App key
来配置Opauth-Frype策略。 -
将用户直接导向
http://path_to_opauth/frype
进行认证
策略配置
必需参数
<?php 'Frype' => array( 'app_key' => 'YOUR APP KEY', 'app_id' => 'YOUR APP ID' )
许可协议
Opauth-Frype使用MIT许可协议
版权所有 © 2014 Andris Šaudinis (http://www.rixtellab.com)