(
owner: Owner,
slug: string,
)
| 1991 | JSON.stringify([tenant, row.owner, row.subject, row.integration, row.name]); |
| 1992 | |
| 1993 | const loadOAuthClientRow = ( |
| 1994 | owner: Owner, |
| 1995 | slug: string, |
| 1996 | ): Effect.Effect<OAuthClientRow | null, StorageFailure> => |
| 1997 | core.findFirst("oauth_client", { |
| 1998 | where: (b: AnyCb) => b.and(byOwner(owner)(b), b("slug", "=", slug)), |
| 1999 | }); |
| 2000 | |
| 2001 | // Config-declared first-party apps, keyed by prefixed slug — the refresh |
| 2002 | // path's counterpart to the OAuth service's config-first resolution. |
no test coverage detected