danielburger1337/oauth2-dpop
Composer 安装命令:
composer require danielburger1337/oauth2-dpop
包简介
Create/Verify OAuth2 DPoP tokens.
README 文档
README
danielburger1337/oauth2-dpop
A PHP library that helps you both create and verify OAuth2 DPoP proof tokens.
Demonstrating Proof of Possession (DPoP) is an application-level mechanism for sender-constraining OAuth [RFC6749] access and refresh tokens. It enables a client to prove the possession of a public/private key pair by including a DPoP header in an HTTP request. The value of the header is a JSON Web Token (JWT) [RFC7519] that enables the authorization server to bind issued tokens to the public part of a client's key pair. Recipients of such tokens are then able to verify the binding of the token to the key pair that the client has demonstrated that it holds via the DPoP header, thereby providing some assurance that the client presenting the token also possesses the private key. In other words, the legitimate presenter of the token is constrained to be the sender that holds and proves possession of the private part of the key pair.
~ Section 1 of RFC-9449
Install
This library is PSR-4 compatible and can be installed via PHP's dependency manager Composer.
composer require danielburger1337/oauth2-dpop
Documentation
You can find the documentation here.
Running Tests Locally
This library is fully unit tested. It also uses strict static analysis to minimize the possibility of unexpected runtime errors.
composer install vendor/bin/php-cs-fixer fix vendor/bin/phpstan vendor/bin/phpunit
License
This software is available under the MIT license.
danielburger1337/oauth2-dpop 适用场景与选型建议
danielburger1337/oauth2-dpop 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 492 次下载、GitHub Stars 达 8, 最近一次更新时间为 2024 年 02 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「oauth2」 「dpop」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 danielburger1337/oauth2-dpop 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 danielburger1337/oauth2-dpop 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 danielburger1337/oauth2-dpop 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.
Email Toolkit Plugin for CakePHP
The missing social authentication for thephpleague/oauth2-server, adapted from schedula/league-oauth2-social
RFC 9449 DPoP for Laravel — issues EC P-256-bound JWTs and verifies DPoP proofs on protected routes.
Generic OpenID Connect Provider for The PHP League OAuth2 Client with PAR, DPoP, and private_key_jwt support
Oauth 2 client for Ubiquity framework
统计信息
- 总下载量: 492
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-28