rnewton/opauth_reddit 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Install Opauth-Reddit:

    composer require rnewton/opauth_reddit
  2. 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
  3. Configure Opauth-Reddit strategy.

  4. Direct user to http://path_to_opauth/reddit to 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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-30