authenticator is the type to map authentication methods to.
| 29 | |
| 30 | // authenticator is the type to map authentication methods to. |
| 31 | type authenticator struct { |
| 32 | name string |
| 33 | addToTags bool |
| 34 | |
| 35 | minPasswordLength int |
| 36 | minLoginLength int |
| 37 | } |
| 38 | |
| 39 | func (a *authenticator) checkLoginPolicy(uname string) error { |
| 40 | rlogin := []rune(uname) |
nothing calls this directly
no outgoing calls
no test coverage detected