ceedcv-maya/shared-auth-laravel
最新稳定版本:v0.11.3
Composer 安装命令:
composer require ceedcv-maya/shared-auth-laravel
包简介
Keycloak/OIDC JWT authentication middleware for Laravel: JWKS caching, RequirePermissionMiddleware, AppToAppAuthenticator, configurable user resolver.
关键字:
README 文档
README
Keycloak/OIDC JWT authentication middleware for Laravel: JWKS caching, RequirePermissionMiddleware, AppToAppAuthenticator, configurable user resolver.
Part of the ceedcv-maya/maya_platform mono-repo. Distributed independently for reuse outside the Maya ecosystem.
Installation
composer require ceedcv-maya/shared-auth-laravel
// routes/api.php use Maya\Auth\Middleware\AuthenticateJwt; use Maya\Auth\Middleware\RequirePermission; Route::middleware([AuthenticateJwt::class, RequirePermission::class.':users.read'])->group(function () { Route::get('/me', fn () => auth()->user()); });
KEYCLOAK_URL=https://keycloak.example.org KEYCLOAK_REALM=my-realm KEYCLOAK_CLIENT_ID=my-app
TypeScript / build notes
PSR-4 autoload from src/. Service providers are registered via Laravel package discovery (no manual provider registration needed).
License
MIT — see LICENSE.
Reporting issues
The canonical source lives in Maya-AQSS/maya_platform. File issues there; this read-only split repo is only the published artifact.
统计信息
- 总下载量: 581
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-25