Function
createRemoteSessionConfig
(
sessionId: string,
getAccessToken: () => string,
orgUuid: string,
hasInitialPrompt = false,
viewerOnly = false,
)
Source from the content-addressed store, hash-verified
| 327 | * Create a remote session config from OAuth tokens |
| 328 | */ |
| 329 | export function createRemoteSessionConfig( |
| 330 | sessionId: string, |
| 331 | getAccessToken: () => string, |
| 332 | orgUuid: string, |
| 333 | hasInitialPrompt = false, |
| 334 | viewerOnly = false, |
| 335 | ): RemoteSessionConfig { |
| 336 | return { |
| 337 | sessionId, |
| 338 | getAccessToken, |
| 339 | orgUuid, |
| 340 | hasInitialPrompt, |
| 341 | viewerOnly, |
| 342 | } |
| 343 | } |
Tested by
no test coverage detected