@xemahq/authorization-internal-api-client 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,4 +16,14 @@ export interface PolicyActingForDto {
|
|
|
16
16
|
* @minLength 1
|
|
17
17
|
*/
|
|
18
18
|
clientId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Mirrors kernel `ActingForRef.principalId` — the ISSUER-STAMPED,
|
|
21
|
+
* rotation-stable identity-api principal id of this hop (`principal_id`).
|
|
22
|
+
* `resolveActorChainFromClaims` stamps it on every hop whose claims carry
|
|
23
|
+
* one, so a gateway forwarding a verified chain sends it. Undeclared here,
|
|
24
|
+
* `forbidNonWhitelisted` refused the whole policy check with a 400 — which
|
|
25
|
+
* the gateway fails closed on — for any chain containing such a hop.
|
|
26
|
+
* @minLength 1
|
|
27
|
+
*/
|
|
28
|
+
principalId?: string;
|
|
19
29
|
}
|