Documentation
¶
Overview ¶
Package auth provides access to user-provided authentication credentials.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCredentials ¶
AddCredentials populates the request header with the user's credentials as specified by the GOAUTH environment variable. It returns whether any matching credentials were found. req must use HTTPS or this function will panic. res is used for the custom GOAUTH command's stdin.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.