IdempotencyPrincipalFactory
IdempotencyPrincipalFactory = (
context) =>string| readonlystring[] |undefined
Defined in: packages/pipeline-idempotency/src/helpers/partitioned-key.ts:20
Resolves the principal performing an operation.
Return one identifier, or several segments when the identity has more than one
dimension — for example ['service', clientId], so a service and a user that
share an id string never share a namespace. Read it from authenticated context,
never from a request body field the caller controls.
Parameters
Section titled “Parameters”context
Section titled “context”Returns
Section titled “Returns”string | readonly string[] | undefined