| 30 | } |
| 31 | |
| 32 | type mapAuthenticator struct { |
| 33 | usernamesPasswords map[string]string |
| 34 | } |
| 35 | |
| 36 | func (a *mapAuthenticator) Authenticate(username, password string) (bool, error) { |
| 37 | validPassword, ok := a.usernamesPasswords[username] |
nothing calls this directly
no outgoing calls
no test coverage detected