(
owner: Owner,
slug: string,
)
| 1873 | `${row.owner}:${row.subject}:${row.integration}:${row.name}`; |
| 1874 | |
| 1875 | const loadOAuthClientRow = ( |
| 1876 | owner: Owner, |
| 1877 | slug: string, |
| 1878 | ): Effect.Effect<OAuthClientRow | null, StorageFailure> => |
| 1879 | core.findFirst("oauth_client", { |
| 1880 | where: (b: AnyCb) => b.and(byOwner(owner)(b), b("slug", "=", slug)), |
| 1881 | }); |
| 1882 | |
| 1883 | // Config-declared first-party apps, keyed by prefixed slug — the refresh |
| 1884 | // path's counterpart to the OAuth service's config-first resolution. |
no test coverage detected