Documentation
¶
Overview ¶
Package weblogin serves a one-time sign-in page, on the loopback interface or through usc.sh.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrPageClosed reports that the sign-in page stopped serving before // reporting completion (for example, it expired or its process exited). ErrPageClosed = errors.New("the sign-in page closed or expired before sign-in finished") )
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Auth supplies CredentialsFile, SessionFile, and DuoDeviceName; other fields are ignored.
Auth auth.Options
// Probe is the site opened to confirm a sign-in that needs no new Duo device.
Probe auth.Site
// Relay is the site that serves the page and forwards its sealed requests
// here, for a browser that cannot reach this machine. Empty serves the
// page on the loopback interface.
Relay string
}
Click to show internal directories.
Click to hide internal directories.