(
owner: Owner,
slug: string,
)
| 1471 | `${row.owner}:${row.subject}:${row.integration}:${row.name}`; |
| 1472 | |
| 1473 | const loadOAuthClientRow = ( |
| 1474 | owner: Owner, |
| 1475 | slug: string, |
| 1476 | ): Effect.Effect<OAuthClientRow | null, StorageFailure> => |
| 1477 | core.findFirst("oauth_client", { |
| 1478 | where: (b: AnyCb) => b.and(byOwner(owner)(b), b("slug", "=", slug)), |
| 1479 | }); |
| 1480 | |
| 1481 | // Perform the actual refresh-token grant and persist the rotated material. |
| 1482 | const performTokenRefresh = ( |
no test coverage detected