(
owner: Owner,
slug: string,
)
| 2205 | JSON.stringify([tenant, row.owner, row.subject, row.integration, row.name]); |
| 2206 | |
| 2207 | const loadOAuthClientRow = ( |
| 2208 | owner: Owner, |
| 2209 | slug: string, |
| 2210 | ): Effect.Effect<OAuthClientRow | null, StorageFailure> => |
| 2211 | core.findFirst("oauth_client", { |
| 2212 | where: (b: AnyCb) => b.and(byOwner(owner)(b), b("slug", "=", slug)), |
| 2213 | }); |
| 2214 | |
| 2215 | // Config-declared first-party apps, keyed by prefixed slug — the refresh |
| 2216 | // path's counterpart to the OAuth service's config-first resolution. |
no test coverage detected