(oldCfg, newCfg *config.Config)
| 1587 | } |
| 1588 | |
| 1589 | func (s *Server) applyAccessConfig(oldCfg, newCfg *config.Config) { |
| 1590 | if s == nil || s.accessManager == nil || newCfg == nil { |
| 1591 | return |
| 1592 | } |
| 1593 | if _, err := access.ApplyAccessProviders(s.accessManager, oldCfg, newCfg); err != nil { |
| 1594 | return |
| 1595 | } |
| 1596 | } |
| 1597 | |
| 1598 | // UpdateClients updates the server's client list and configuration. |
| 1599 | // This method is called when the configuration or authentication tokens change. |
no outgoing calls
no test coverage detected