(
owner: Owner,
slug: string,
)
| 2240 | JSON.stringify([tenant, row.owner, row.subject, row.integration, row.name]); |
| 2241 | |
| 2242 | const loadOAuthClientRow = ( |
| 2243 | owner: Owner, |
| 2244 | slug: string, |
| 2245 | ): Effect.Effect<OAuthClientRow | null, StorageFailure> => |
| 2246 | core.findFirst("oauth_client", { |
| 2247 | where: (b: AnyCb) => b.and(byOwner(owner)(b), b("slug", "=", slug)), |
| 2248 | }); |
| 2249 | |
| 2250 | // Config-declared first-party apps, keyed by prefixed slug — the refresh |
| 2251 | // path's counterpart to the OAuth service's config-first resolution. |
no test coverage detected