| 187 | } |
| 188 | |
| 189 | type staticAuthenticator struct { |
| 190 | user User |
| 191 | authed bool |
| 192 | err error |
| 193 | } |
| 194 | |
| 195 | func (a staticAuthenticator) Authenticate(http.ResponseWriter, *http.Request) (User, bool, error) { |
| 196 | return a.user, a.authed, a.err |
nothing calls this directly
no outgoing calls
no test coverage detected