Documentation ¶
Overview ¶
Package authproxy implements a connector which relies on external authentication (e.g. mod_auth in Apache2) and returns an identity with the HTTP header X-Remote-User as verified email.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { UserIDHeader string `json:"userIDHeader"` UserHeader string `json:"userHeader"` EmailHeader string `json:"emailHeader"` GroupHeader string `json:"groupHeader"` Groups []string `json:"staticGroups"` }
Config holds the configuration parameters for a connector which returns an identity with the HTTP header X-Remote-User as verified email, X-Remote-Group and configured staticGroups as user's group. Headers retrieved to fetch user's email and group can be configured with userHeader and groupHeader.
Click to show internal directories.
Click to hide internal directories.