feat: marketplace modules and isolated container management
This commit is contained in:
@@ -69,6 +69,8 @@ Der Server verdrahtet automatisch den Vertrag:
|
||||
## API
|
||||
|
||||
### `extractIdentity(headers)`
|
||||
|
||||
> This helper only parses untrusted header values. Do not use it as an authorization check. `createModuleServer` verifies the request-bound, per-module signature before exposing the identity to `/api/me` or route handlers. In production it requires the key injected as `MPM_MODULE_IDENTITY_KEY`.
|
||||
Liest die Benutzer-Identität aus den Gateway-Headern (`x-user-id`,
|
||||
`x-user-username`, `x-user-display-name`, `x-user-role`). Case-insensitive;
|
||||
`null`, wenn der Request nicht über den Gateway kam.
|
||||
|
||||
Reference in New Issue
Block a user