Documentation ¶
Overview ¶
Package auth provides routines to authenticate users on Plan 9 and related systems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKey ¶
GetKey prompts the user for missing key information and passes the information to factotum. Params is an attribute-value-list.
func GetUserPassword ¶
func GetUserPassword(getKey GetKeyFunc, format string, a ...interface{}) (string, string, error)
GetUserPassword returns the username and password for the key formatted using format and a. GetKey is called to obtain missing information (if any).
Types ¶
type GetKeyFunc ¶
GetKeyFunc takes an attribute-value-list as argument. GetKey is an example implementation.
Click to show internal directories.
Click to hide internal directories.