(keys: OwnerKeys)
| 63 | /** Stable string identifying the partition an oauth_client is deduped within — |
| 64 | * shared org apps collapse across the org, personal apps stay per-user. */ |
| 65 | export const ownerPartitionKey = (keys: OwnerKeys): string => |
| 66 | keys.owner === "org" ? `org:${keys.tenant}` : `user:${keys.subject}:${keys.tenant}`; |
| 67 | |
| 68 | // --------------------------------------------------------------------------- |
| 69 | // WorkOS Vault object naming. |
no outgoing calls
no test coverage detected