webauth

package
v1.15.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 17 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL