(url: URL)
| 15 | // Authorization middleware skips credential checks when this matches; the PTY connect handler |
| 16 | // is then responsible for consuming and validating the ticket. |
| 17 | export function hasPtyConnectTicketURL(url: URL) { |
| 18 | return PTY_CONNECT_PATH.test(url.pathname) && !!url.searchParams.get(PTY_CONNECT_TICKET_QUERY) |
| 19 | } |
| 20 | |
| 21 | export const PtyGroup = HttpApiGroup.make("server.pty") |
| 22 | .add( |