zefy/php-simple-sso 问题修复 & 功能扩展

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

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

zefy/php-simple-sso

最新稳定版本:1.0.2

Composer 安装命令:

composer require zefy/php-simple-sso

包简介

Simple PHP SSO

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality Build Status Code Intelligence Status

Words meanings

  • SSO - Single Sign-On.
  • Server - page which works as SSO server, handles authentications, stores all sessions data.
  • Broker - your page which is used visited by clients/users.
  • Client/User - your every visitor.

How it works?

Client visits Broker and unique token is generated. When new token is generated we need to attach Client session to his session in Broker so he will be redirected to Server and back to Broker at this moment new session in Server will be created and associated with Client session in Broker's page. When Client visits other Broker same steps will be done except that when Client will be redirected to Server he already use his old session and same session id which associated with Broker#1.

Usage

This is only a skeleton package so you need to write a little bit extra code to get it working.

You can see examples in docs/examples directory and try to use it for your project. Also there is available Laravel package which is written based on this package.

统计信息

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

GitHub 信息

  • Stars: 20
  • Watchers: 3
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-03-01