Function: tenantOfSubject()
tenantOfSubject(
subject):string
Defined in: packages/audit-client/src/client.ts:109
The tenant token a denied request is filed under: the subject's second token when
it is a tenant (a UUID) or platform, otherwise platform. A denial may have no
decoded envelope, so there is no actor to take the tenant from (09).
Parameters
subject
string
The concrete subject the refused message arrived on.
Returns
string
A tenant token.