rnewton/opauth_reddit
最新稳定版本:0.1.0
Composer 安装命令:
composer require rnewton/opauth_reddit
包简介
Reddit strategy for Opauth
README 文档
README
Opauth strategy for Reddit authentication.
Implemented based on https://github.com/reddit/reddit/wiki/OAuth2
Opauth is a multi-provider authentication framework for PHP.
Getting started
-
Install Opauth-Reddit:
composer require rnewton/opauth_reddit
-
Create a Reddit app https://www.reddit.com/prefs/apps/
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
http://path_to_opauth/reddit/oauth2callback
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
-
Configure Opauth-Reddit strategy.
-
Direct user to
http://path_to_opauth/redditto authenticate
Strategy configuration
Required parameters:
<?php 'Reddit' => array( 'key' => 'YOUR CLIENT ID', 'secret' => 'YOUR CLIENT SECRET' )
License
Opauth-Reddit is MIT Licensed
Copyright © 2015 Robert Newton
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-30