ProxyAuth is a proxy implementation of an auther.
| 14 | |
| 15 | // ProxyAuth is a proxy implementation of an auther. |
| 16 | type ProxyAuth struct { |
| 17 | Header string `json:"header"` |
| 18 | } |
| 19 | |
| 20 | // Auth authenticates the user via an HTTP header. |
| 21 | func (a ProxyAuth) Auth(r *http.Request, usr users.Store, setting *settings.Settings, srv *settings.Server) (*users.User, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected