首页
随机
最近更改
特殊页面
社群首页
参数设置
关于WHY42
免责声明
WHY42
搜索
用户菜单
登录
欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。
查看“︁Ystack”︁的源代码
←
Ystack
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
= Services and responsibilities == Auth / Identity (Keycloak) == Responsibility: Authentication, user identity, SSO, OIDC tokens. Data owned: Keycloak user record (sub), basic profile attributes. Notes: Other services store keycloak_id as foreign reference only. == Customer Service (customer profile / account)== Responsibility: canonical customer profile (name, emails, billing address, company, contact info), payment-customer mapping (e.g., providerCustomerId), invoice delivery preferences, links to internal user records. Data owned: customer table (customer_id, keycloak_id, contact info, provider customer id, metadata). API examples: GET/PUT customer, attach payment method token, list customer’s subscriptions/orders. When to call: read-heavy for CRM and billing, write when profile changes. [[Category:Ystack]] [[Category:DDD]] [[Category:Distributed]]
返回
Ystack
。