sharkord/seat-sharkord-connector
Composer 安装命令:
composer require sharkord/seat-sharkord-connector
包简介
SeAT plugin that sources identities from SeAT and syncs normalized signed payloads to Sharkord external identity endpoints.
README 文档
README
SeAT plugin/package that treats SeAT as source of truth and pushes normalized signed payloads to Sharkord /api/v1/ext endpoints.
Architecture split
- SeAT package owns: identity sourcing, eligibility, role mapping, signed outbound sync, settings, preview/testing.
- Sharkord owns: lifecycle/state enforcement, managed fields, runtime role application, auth/session issuance, audit state.
Sharkord endpoints used
POST /api/v1/ext/auth/loginPOST /api/v1/ext/auth/linkPOST /api/v1/ext/users/upsertPOST /api/v1/ext/users/disablePOST /api/v1/ext/users/restorePOST /api/v1/ext/users/soft-deletePOST /api/v1/ext/users/provision-passwordPOST /api/v1/ext/users/reset-passwordPOST /api/v1/ext/roles/syncPOST /api/v1/ext/roles/previewPOST /api/v1/ext/eligibility/previewGET /api/v1/ext/providersGET /api/v1/ext/providers/seat/health
Signing
HMAC SHA-256 over provider.timestamp.nonce.rawBody with headers expected by Sharkord:
x-sharkord-providerx-sharkord-timestampx-sharkord-noncex-sharkord-signaturex-sharkord-request-id
Installation
- Add package to SeAT composer dependencies.
- Install and enable plugin.
- Run
php artisan sharkord:installto execute migrations and bootstrap default settings. - Configure Sharkord URL/secret/mappings in SeAT admin.
- Run diagnostics health test and first preview/upsert.
See docs/setup.md for a first-run checklist.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-10