Login sets the config entry "login" to "Y".
()
| 301 | |
| 302 | // Login sets the config entry "login" to "Y". |
| 303 | func (p *pluginPersist) Login() error { |
| 304 | p.config["login"] = "Y" |
| 305 | p.persister.Persist(p.config) |
| 306 | return nil |
| 307 | } |
| 308 | |
| 309 | func pluginPersistProvider(_ string, config map[string]string, persister AuthProviderConfigPersister) (AuthProvider, error) { |
| 310 | return &pluginPersist{config, persister}, nil |