(
owner: Owner,
slug: string,
)
| 2120 | JSON.stringify([tenant, row.owner, row.subject, row.integration, row.name]); |
| 2121 | |
| 2122 | const loadOAuthClientRow = ( |
| 2123 | owner: Owner, |
| 2124 | slug: string, |
| 2125 | ): Effect.Effect<OAuthClientRow | null, StorageFailure> => |
| 2126 | core.findFirst("oauth_client", { |
| 2127 | where: (b: AnyCb) => b.and(byOwner(owner)(b), b("slug", "=", slug)), |
| 2128 | }); |
| 2129 | |
| 2130 | // Config-declared first-party apps, keyed by prefixed slug — the refresh |
| 2131 | // path's counterpart to the OAuth service's config-first resolution. |
no test coverage detected