grantholle/pear-openid
Composer 安装命令:
composer require grantholle/pear-openid
包简介
A psr-4 port of the Pear package: PHP implementation of OpenID 1.1 and 2.0
README 文档
README
Note: This project was ported from Pear to be more compliant based on modern standards. It works, but only barely. There is a lot of refactoring that should be done, but for now it works as-is.
OpenID is a free and easy way to use a single digital identity across the Internet. This package is a PHP implementation of the OpenID 1.1 and 2.0 specifications for Relying Party functionality.
Only Relying Party support is provided at this time. Provider support is already underway, and will be added as a separate package (i.e. OpenID_Provider).
There is out of the box support for a few extensions, including Simple Registration (1.0 and 1.1), Attribute Exchange, OAuth-Hybrid, and some support for the new UI extension.
This package supports a storage interface (CacheLite) for easy addition of custom drivers.There is also support for observers for logging, etc.
There is an example web console for testing discovery, relying party (with some useful debugging functionality), and also a sample implementation of an OpenID JS Selector (i.e. the "NASCAR" solution).
You can try the examples here: http://shupp.org/openid/examples
A couple of notes about this package:
- There is 88% code coverage, and full CS compliance with PHP_CodeSniffer 1.1.0.
- This package meets all test-id.net tests with the exception of SSL validation, as that doesn’t work well in curl for some reason (I’m investigating it).
============ Installation
Use composer
composer require grantholle/pear-openid
grantholle/pear-openid 适用场景与选型建议
grantholle/pear-openid 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 624 次下载、GitHub Stars 达 1, 最近一次更新时间为 2020 年 08 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 grantholle/pear-openid 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 grantholle/pear-openid 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 624
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 13
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2020-08-18