(
owner: Owner,
slug: string,
)
| 1493 | `${row.owner}:${row.subject}:${row.integration}:${row.name}`; |
| 1494 | |
| 1495 | const loadOAuthClientRow = ( |
| 1496 | owner: Owner, |
| 1497 | slug: string, |
| 1498 | ): Effect.Effect<OAuthClientRow | null, StorageFailure> => |
| 1499 | core.findFirst("oauth_client", { |
| 1500 | where: (b: AnyCb) => b.and(byOwner(owner)(b), b("slug", "=", slug)), |
| 1501 | }); |
| 1502 | |
| 1503 | // Perform the actual refresh-token grant and persist the rotated material. |
| 1504 | const performTokenRefresh = ( |
no test coverage detected