aetah/oidc-dynamic-client-registration
Composer 安装命令:
composer require aetah/oidc-dynamic-client-registration
包简介
Generic PHP library implementing OpenID Connect Dynamic Client Registration 1.0 processing helpers
README 文档
README
This repository is a read-only split of aetah/php-openid-toolkit.
- Development happens in the monorepo.
- Feature PRs and issues should be opened against
aetah/php-openid-toolkit. - This split repository is published from the monorepo and should not be treated as the source of truth.
OIDC Dynamic Client Registration
Generic PHP library for OpenID Connect Dynamic Client Registration 1.0 processing primitives.
Scope
This package is designed as a reusable base for aetah/* libraries and CMS
integrations. It provides:
- Client registration request parsing and structural validation.
- Client registration response parsing and structural validation.
- Helper checks for common protocol constraints (
redirect_uris, response/grant compatibility, auth method requirements).
The package intentionally leaves software statement JWT verification, access token authorization policy, and HTTP endpoint orchestration to host applications.
Install
composer require aetah/oidc-dynamic-client-registration
Quick Start
<?php declare(strict_types=1); use Aetah\OIDCDynamicClientRegistration\OIDCDynamicClientRegistration; $registration = new OIDCDynamicClientRegistration(); $request = $registration->parseClientRegistrationRequest($payload); $registration->validateClientRegistrationRequest($request);
Spec
OpenID Connect Dynamic Client Registration 1.0: https://openid.net/specs/openid-connect-registration-1_0.html
Spec Status
Missing/currently out of scope:
- Software statement JWT signature and claim verification.
- Access-token authorization enforcement for read/update/delete registration operations.
- HTTP transport orchestration and endpoint runtime behavior.
- Discovery-driven default resolution and server policy negotiation behaviors.
Quality Checks
Run Static Analysis
composer analyse
Run Tests
composer test
Generated artifacts are written under build/:
build/phpunit/for JUnit reportsbuild/coverage/for coverage output
Clean Build Artifacts
composer clean
Run Test Coverage
composer test:coverage
Run Style Checks
composer lint
Fix Style Checks
composer lint:fix
License
Licensed under AGPL-3.0-or-later. See LICENSE for details.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0-or-later
- 更新时间: 2026-06-19