// Register a new Authenticator. You need to call this in your plugin for the
// Authenticator to be available for use.
Register a new Authenticator. You need to call this in your plugin for the
Authenticator to be available for use.
// Register a new Authenticator . You need to call this in your plugin for the // Authenticator to be available for use .
func RegisterAuthenticator(name string, auth Authenticator) bool {
	_, ok := authenticators[name]
	if ok {
		log.Printf("Trying to re-register Authenticator \"%s\".", name)
		log.Printf("")
		log.Printf("Check your plugins.")
		return false
	}
	authenticators[name] = auth
	return true
}
func RegisterAuthenticator ( name string , auth Authenticator ) bool { _ , ok := authenticators [ name ] if ok { log . Printf ( " \" \" " , name ) log . Printf ( " " ) log . Printf ( " " ) return false } authenticators [ name ] = auth return true }
Register a new Authenticator.
Register a new Authenticator .