定制 ride/lib-security-oauth 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ride/lib-security-oauth

Composer 安装命令:

composer require ride/lib-security-oauth

包简介

OAuth implementation for the security model of the Ride framework

README 文档

README

OAuth implementation for the security library of the PHP Ride framework.

This security model is file based and usefull for a small user base.

What's In This Library

OAuth2Authenticator

The OAuth2Authenticator implements the Authenticator interface to make authentication through OAuth2 possible.

ConnectPolicy

The ConnectPolicy interface is used to automatically create users when they try to authenticate themselves for the first time.

EverybodyConnectPolicy

You can use the EverybodyConnectPolicy to let everybody create a user in your security model. This is usefull for a public application which needs a user to work properly

EmailConnectPolicy

The EmailConnectPolicy can be used to create users when they have an email address provided. You can easily extends this class to match domains or to add roles to the user.

OAuth2Client

The OAuth2Client class is an extended HTTP client used to talk with the OAuth service.

This is implemented for Google and Facebook but other providers can be added easily.

Related Modules

You can check the following related modules of this library:

Installation

You can use Composer to install this library.

composer require ride/lib-security-oauth

统计信息

  • 总下载量: 3.88k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-03-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固