(
owner: Owner,
slug: string,
)
| 2254 | JSON.stringify([tenant, row.owner, row.subject, row.integration, row.name]); |
| 2255 | |
| 2256 | const loadOAuthClientRow = ( |
| 2257 | owner: Owner, |
| 2258 | slug: string, |
| 2259 | ): Effect.Effect<OAuthClientRow | null, StorageFailure> => |
| 2260 | core.findFirst("oauth_client", { |
| 2261 | where: (b: AnyCb) => b.and(byOwner(owner)(b), b("slug", "=", slug)), |
| 2262 | }); |
| 2263 | |
| 2264 | // Config-declared first-party apps, keyed by prefixed slug — the refresh |
| 2265 | // path's counterpart to the OAuth service's config-first resolution. |
no test coverage detected