Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/mux
/ cancelGithubDeviceFlow
Method
cancelGithubDeviceFlow
src/node/services/serverAuthService.ts:421–423 ·
view source on GitHub ↗
(flowId: string)
Source
from the content-addressed store, hash-verified
419
}
420
421
cancelGithubDeviceFlow(flowId: string): void {
422
void this.finishGithubDeviceFlow(flowId, Err(
"Device flow cancelled"
));
423
}
424
425
async
validateSessionToken(
426
sessionToken: string,
Callers
2
serverAuthService.test.ts
File · 0.80
cancelFlowForDisconnect
Function · 0.80
Calls
2
finishGithubDeviceFlow
Method · 0.95
Err
Function · 0.90
Tested by
no test coverage detected