package
Version:
v1.14.3
Opens a new window with list of versions in this module.
Published: Dec 17, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 8
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.