Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate(userName, webauthBrowser, tokenFilename string, targetUrls []string, client *http.Client, userAgentString string, logger log.DebugLogger) (string, error)
Authenticate will prompt the user to authenticate to a Keymaster server using a Web browser, for the specified username. The user will occasionally be prompted to copy-paste a token from the Web browser, which will be written to the file specified by tokenFilename. The authentication cookie will be saved in the client cookie jar which may be used for subsequent requests to sign identity certificates.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.