package
Version:
v1.16.3
Opens a new window with list of versions in this module.
Published: Feb 19, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package loginsrv defines the login server in use by coder-cli
for performing the browser authentication flow.
ReadLine waits for the manual login input to send the session token.
NOTE: As we are dealing with a Read, cancelling the context will not unblock.
The caller is expected to close the reader.
type Server struct {
TokenChan chan<- string
}
Server waits for the login callback to send the session token.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.