mapkyca/known-oauth-client
最新稳定版本:1.2.4
Composer 安装命令:
composer require mapkyca/known-oauth-client
包简介
OAuth2 Sign-on with OAuth client
README 文档
README
This is a generic, and very experimental, OAuth2 "log in with" plugin.
This is very early days and was really written to implement an MVP proof of concept thingy for a client of mine. However, it could be more widely useful and with a bit of work could be handy for folk.
Installation
- Check it out
- Run
composer installto get the various libraries - Put it in your IdnoPlugins directory as OAuth2Client
- Activate in your plugins
Or
From your known install:
composer require mapkyca/known-oauth-client
Usage
Go to the admin page and create your new buttons by filling in the appropriate details.
Out of the box this plugin WON'T fully log you in as whatever, you need to write your own handler plugin to listen to the oauth2/authorised event hook.
This hook is passed an array containing the access token and other details for your to use to match up with a user, or create a new one.
If the hook goes unanswered, the plugin will look for id or username in the return JSON.
See
- Author: Marcus Povey
统计信息
- 总下载量: 6.59k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2019-09-16